diff options
Diffstat (limited to 'meta-nuvoton/recipes-bsp/u-boot')
-rw-r--r-- | meta-nuvoton/recipes-bsp/u-boot/u-boot-common-nuvoton.inc | 2 | ||||
-rw-r--r-- | meta-nuvoton/recipes-bsp/u-boot/u-boot-nuvoton.inc | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/meta-nuvoton/recipes-bsp/u-boot/u-boot-common-nuvoton.inc b/meta-nuvoton/recipes-bsp/u-boot/u-boot-common-nuvoton.inc index 7ab0dedbd..ca05f2b65 100644 --- a/meta-nuvoton/recipes-bsp/u-boot/u-boot-common-nuvoton.inc +++ b/meta-nuvoton/recipes-bsp/u-boot/u-boot-common-nuvoton.inc @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://Licenses/README;md5=30503fd321432fc713238f582193b78e" UBRANCH = "npcm7xx-v2019.01" SRC_URI = "git://github.com/Nuvoton-Israel/u-boot.git;branch=${UBRANCH}" -SRCREV = "adb4ac1af3f952ee6248e839af0c8600a0642d4b" +SRCREV = "6870e66f6bf0653a1e2f2677c5f86b2056454032" S = "${WORKDIR}/git" diff --git a/meta-nuvoton/recipes-bsp/u-boot/u-boot-nuvoton.inc b/meta-nuvoton/recipes-bsp/u-boot/u-boot-nuvoton.inc index 55d8b4787..60c722da5 100644 --- a/meta-nuvoton/recipes-bsp/u-boot/u-boot-nuvoton.inc +++ b/meta-nuvoton/recipes-bsp/u-boot/u-boot-nuvoton.inc @@ -68,6 +68,10 @@ UBOOT_EXTLINUX_INSTALL_DIR ?= "/boot/extlinux" UBOOT_EXTLINUX_CONF_NAME ?= "extlinux.conf" UBOOT_EXTLINUX_SYMLINK ?= "${UBOOT_EXTLINUX_CONF_NAME}-${MACHINE}-${PR}" +# Set Device tree from the machine config automatically +UBOOT_MAKE_TARGET += '${@"" if d.getVar("UBOOT_DEVICETREE") is None \ + else " DEVICE_TREE=" + d.getVar("UBOOT_DEVICETREE")}' + # returns all the elements from the src uri that are .cfg files def find_cfgs(d): sources=src_patches(d, True) |