From a2a5053a15e4059c7445737d60f7b8425ca863f8 Mon Sep 17 00:00:00 2001 From: Klaus Goger Date: Fri, 25 May 2018 23:45:05 +0200 Subject: rockchip: utilize CONFIG_DEFAULT_FDT_FILE MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Tested-By: Vagrant Cascadian Reviewed-by: Philipp Tomsich Acked-by: Philipp Tomsich --- include/configs/rk322x_common.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/configs/rk322x_common.h') diff --git a/include/configs/rk322x_common.h b/include/configs/rk322x_common.h index 1bfcda6701..5b9c4082da 100644 --- a/include/configs/rk322x_common.h +++ b/include/configs/rk322x_common.h @@ -52,6 +52,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 \ + "fdtfile=" CONFIG_DEFAULT_FDT_FILE "\0" \ "fdt_high=0x7fffffff\0" \ "partitions=" PARTS_DEFAULT \ ENV_MEM_LAYOUT_SETTINGS \ -- cgit v1.2.3