summaryrefslogtreecommitdiff
path: root/targets/technexion/tim5690/Config.lb
blob: eeb97cccd882f26dd0cacd80798751781d0cc9ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# This will make a target directory of ./tim5690

target tim5690
mainboard technexion/tim5690

option CONFIG_ROM_SIZE = (1024*512)
#option CONFIG_ROM_SIZE = (1024*1024*1)
#option CONFIG_ROM_SIZE = (1024*1024*2)
#option CONFIG_ROM_SIZE = (1024*1024*4)

option CONFIG_COMPRESSED_PAYLOAD_LZMA=1


romimage "normal"
	option CONFIG_USE_FALLBACK_IMAGE=0
	option CONFIG_ROM_IMAGE_SIZE=0x20000
	option CONFIG_XIP_ROM_SIZE=0x20000

	payload ../payload.elf
end

romimage "fallback" 
	option CONFIG_USE_FALLBACK_IMAGE=1
	option CONFIG_ROM_IMAGE_SIZE=0x20000
	option CONFIG_XIP_ROM_SIZE=0x20000

	payload ../payload.elf
end

buildrom ./coreboot.rom CONFIG_ROM_SIZE "fallback"