summaryrefslogtreecommitdiff
path: root/recipes-bsp/u-boot/u-boot.inc
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2022-05-17 09:30:12 -0500
committerJohn Klug <john.klug@multitech.com>2022-11-16 18:03:56 -0600
commit98ef7f7f13d49f3660218ff2cfb310a91cab814c (patch)
tree7025a51fedbee1c25996d3140451eb4c707fdcd5 /recipes-bsp/u-boot/u-boot.inc
parent0038f22031027106d606d855db2aa4669ae57e15 (diff)
downloadmeta-multitech-atmel-98ef7f7f13d49f3660218ff2cfb310a91cab814c.tar.gz
meta-multitech-atmel-98ef7f7f13d49f3660218ff2cfb310a91cab814c.tar.bz2
meta-multitech-atmel-98ef7f7f13d49f3660218ff2cfb310a91cab814c.zip
Create an mLinux with SD card Bootstrap and U-BOot with USB
Diffstat (limited to 'recipes-bsp/u-boot/u-boot.inc')
-rw-r--r--recipes-bsp/u-boot/u-boot.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/recipes-bsp/u-boot/u-boot.inc b/recipes-bsp/u-boot/u-boot.inc
index c69c650..a44dde5 100644
--- a/recipes-bsp/u-boot/u-boot.inc
+++ b/recipes-bsp/u-boot/u-boot.inc
@@ -85,6 +85,12 @@ do_patch_append () {
except TypeError:
bb.fatal("PR is missing from recipe")
f.write(PR + os.linesep)
+ try:
+ S = d.getVar("S",True)
+ except TypeError:
+ bb.fatal("S is missing from recipe")
+
+ os.system("sed -i s/^CONFIG_BOOTDELAY=.*/CONFIG_BOOTDELAY=2/ " + S + "/configs/at91sam9x5ek_nandflash_defconfig")
}