chiliboard config: use CONFIG_DEFAULT_FDT_FILE as env variable
PATCH v2 1/1 chiliboard config: use CONFIG_DEFAULT_FDT_FILE as env variable
Remove hardcoded ftd file name from environment variables. Use CONFIG_DEFAULT_FDT_FILE macro instead.
Signed-off-by Michal Oleszczyk <[email protected]>
---
Set CONFIG_DEFAULT_FDT_FILE in configs/chiliboard_defconfig and also added 'Signed-off-by' section.
configs/chiliboard_defconfig | 1 + include/configs/chiliboard.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-)
configs/chiliboard_defconfig +1 -0
@@ -12,6 +12,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
include/configs/chiliboard.h +1 -1
@@ -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=" \
Signature · 1 line
2.11.0
PATCH v2 1/1 chiliboard config: use CONFIG_DEFAULT_FDT_FILE as env variable
Quoted 4 lines · Michal Oleszczyk
Remove hardcoded ftd file name from environment variables. Use
CONFIG_DEFAULT_FDT_FILEmacro instead.Signed-off-by Michal Oleszczyk <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20171024/9d519d9f/attachment.sig>