[U-Boot] [PATCH] chiliboard config: use CONFIG_DEFAULT_FDT_FILE as env variable

Michal Oleszczyk oleszczyk.m at gmail.com
Tue Oct 17 09:45:00 UTC 2017


Remove hardcoded ftd file name from environment variables.
Use CONFIG_DEFAULT_FDT_FILE macro instead.

---
 include/configs/chiliboard.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/configs/chiliboard.h b/include/configs/chiliboard.h
index b7887d90d4..153789e6be 100644
--- a/include/configs/chiliboard.h
+++ b/include/configs/chiliboard.h
@@ -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=" \
-- 
2.11.0



More information about the U-Boot mailing list