summaryrefslogtreecommitdiff
path: root/include/configs/rk3036_common.h
diff options
context:
space:
mode:
authorKlaus Goger <klaus.goger@theobroma-systems.com>2018-05-25 23:45:05 +0200
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>2018-07-21 01:56:59 +0200
commita2a5053a15e4059c7445737d60f7b8425ca863f8 (patch)
tree71452a32db11367879f54f1763c0f8b3bbdd8547 /include/configs/rk3036_common.h
parent315ded973093eaa7741e8bbe34ad26db1d9bfeaf (diff)
downloadu-boot-a2a5053a15e4059c7445737d60f7b8425ca863f8.tar.gz
rockchip: utilize CONFIG_DEFAULT_FDT_FILE
Currently the fdtfile environment variable is set to CONFIG_DEFAULT_DEVICE_TREE which is Ñ–nternally used as U-Boot devicetree source. The OS can use a different filename and Kconfig gives us the ability to select a default devicetree via CONFIG_DEFAULT_FDT_FILE. This also gives user configuring U-Boot via menuconfig the behaviour someone would expect. Signed-off-by: Klaus Goger <klaus.goger@theobroma-systems.com> Tested-By: Vagrant Cascadian <vagrant@debian.org> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Diffstat (limited to 'include/configs/rk3036_common.h')
-rw-r--r--include/configs/rk3036_common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/rk3036_common.h b/include/configs/rk3036_common.h
index 2009c2dd29..07c54b596b 100644
--- a/include/configs/rk3036_common.h
+++ b/include/configs/rk3036_common.h
@@ -56,6 +56,7 @@
/* Linux fails to load the fdt if it's loaded above 512M on a evb-rk3036 board,
* so limit the fdt reallocation to that */
#define CONFIG_EXTRA_ENV_SETTINGS \
+ "fdt_file=" CONFIG_DEFAULT_FDT_FILE "\0" \
"fdt_high=0x7fffffff\0" \
"partitions=" PARTS_DEFAULT \
ENV_MEM_LAYOUT_SETTINGS \