summaryrefslogtreecommitdiff
path: root/targets/amd/pistachio/Config.lb
blob: e2e7939ac72502465f9a79f2ebacd1b331e616b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# This will make a target directory of ./pistachio

target pistachio
mainboard amd/pistachio

romimage "normal"
	option CONFIG_ROM_SIZE = 1024*1024 - 55808
	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 "normal" "fallback"