Skip to contentSkip to conversation

chiliboard config: use CONFIG_DEFAULT_FDT_FILE as env variable

PATCH New Michal Oleszczyk 2 participants 2 messages Oct 17, 2017 – Oct 24, 2017

lore
Share & tools
lore
#0 lore raw

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.

---
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
index ee5f80bc60..24c83f3908 100644
@@ -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
index b7887d90d4..153789e6be 100644
@@ -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
#1 lore raw

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_FILE macro instead.

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>