]> git.sur5r.net Git - u-boot/commitdiff
chiliboard config: use CONFIG_DEFAULT_FDT_FILE as env variable
authorMichal Oleszczyk <oleszczyk.m@gmail.com>
Tue, 17 Oct 2017 12:06:33 +0000 (14:06 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 23 Oct 2017 21:25:40 +0000 (17:25 -0400)
Remove hardcoded ftd file name from environment variables.
Use CONFIG_DEFAULT_FDT_FILE macro instead.

Signed-off-by: Michal Oleszczyk <m.oleszczyk@grinn-global.com>
configs/chiliboard_defconfig
include/configs/chiliboard.h

index d94b634a44525cae0d3ff3c28668457bd5251b34..06f2b9dae4255fe2407fd149bb09ad0207f5e77a 100644 (file)
@@ -11,6 +11,7 @@ CONFIG_SPL_WATCHDOG_SUPPORT=y
 CONFIG_SPL_FAT_SUPPORT=y
 CONFIG_BOOTDELAY=1
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
+CONFIG_DEFAULT_FDT_FILE="am335x-chiliboard.dtb"
 CONFIG_SPL=y
 CONFIG_SPL_I2C_SUPPORT=y
 CONFIG_SPL_POWER_SUPPORT=y
index 80d4e49f6d6acef9f68a5bc461a0b6c43a6b3dba..ff66518231895e2d721d6ef1b477dd7cef8ed7e6 100644 (file)
@@ -45,7 +45,7 @@
        "boot_fdt=try\0" \
        "console=ttyO0,115200n8\0" \
        "image=zImage\0" \
-       "fdt_file=am335x-chiliboard.dtb\0" \
+       "fdt_file=" CONFIG_DEFAULT_FDT_FILE "\0" \
        "ip_dyn=yes\0" \
        "optargs=\0" \
        "loadbootscript=" \