diff options
author | Peng Fan <Peng.Fan@freescale.com> | 2015-07-11 11:38:46 +0800 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2015-08-02 10:47:05 +0200 |
commit | e6fc8995d6654df23387ccac91543a2206cfcb36 (patch) | |
tree | 83fa7c953bd27c07b642be6926fcf26a9211a598 /include/configs/mx6sabresd.h | |
parent | 8d7794615c7672b03b5140dfe2bac65daf7ce5eb (diff) | |
download | u-boot-e6fc8995d6654df23387ccac91543a2206cfcb36.tar.gz |
imx: mx6sabresd/sabreauto runtime setting fdt_file
Detect the SOC and board variant at runtime and change the dtb name,
but not hardcoding the fdt_file env variable.
Take the following patch as a reference.
Íd58699b157df75f1aa0b363ea9c21add21a0c
"mx6cuboxi: Load the correct 'fdtfile' variable"
Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Reviewed-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'include/configs/mx6sabresd.h')
-rw-r--r-- | include/configs/mx6sabresd.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/configs/mx6sabresd.h b/include/configs/mx6sabresd.h index 41162ca202..5f635ca6c5 100644 --- a/include/configs/mx6sabresd.h +++ b/include/configs/mx6sabresd.h @@ -19,11 +19,6 @@ #define CONFIG_MXC_UART_BASE UART1_BASE #define CONFIG_CONSOLE_DEV "ttymxc0" #define CONFIG_MMCROOT "/dev/mmcblk1p2" -#if defined(CONFIG_MX6Q) -#define CONFIG_DEFAULT_FDT_FILE "imx6q-sabresd.dtb" -#elif defined(CONFIG_MX6DL) -#define CONFIG_DEFAULT_FDT_FILE "imx6dl-sabresd.dtb" -#endif #define PHYS_SDRAM_SIZE (1u * 1024 * 1024 * 1024) #define CONFIG_SUPPORT_EMMC_BOOT /* eMMC specific */ |