summaryrefslogtreecommitdiff
path: root/include/rom.sh
diff options
context:
space:
mode:
Diffstat (limited to 'include/rom.sh')
-rw-r--r--include/rom.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/rom.sh b/include/rom.sh
index 808f83a4..96c7081a 100644
--- a/include/rom.sh
+++ b/include/rom.sh
@@ -187,8 +187,9 @@ add_uboot()
[ "$payload_uboot_amd64" = "y" ]; then
ubcbfsargs="-l 0x1110000 -e 0x1110000" # 64-bit and 32-bit
# on 64-bit, 0x1120000 is the SPL, and stub before that
- ubpath="img/u-boot"
+ ubpath="img/u-boot" # 64-bit
ubtarget="amd64coreboot"
+ [ "$payload_uboot_i386" = "y" ] && ubpath="u-boot" # 32-bit
[ "$payload_uboot_i386" = "y" ] && ubtarget="i386coreboot"; :
fi