[U-Boot] [PATCH v7 09/17] SabreSD: i.MX6DL: Add initial dts support
Jagan Teki
jagannadh.teki at gmail.com
Tue May 23 07:58:22 UTC 2017
From: Jagan Teki <jagan at amarulasolutions.com>
Add initial devicetree support for i.MX6 DualLite Sabresd board.
Signed-off-by: Jagan Teki <jagan at amarulasolutions.com>
---
board/freescale/mx6sabresd/spl.c | 2 ++
configs/mx6sabresd_spl_defconfig | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/board/freescale/mx6sabresd/spl.c b/board/freescale/mx6sabresd/spl.c
index 63847b3..2488cb5 100644
--- a/board/freescale/mx6sabresd/spl.c
+++ b/board/freescale/mx6sabresd/spl.c
@@ -154,6 +154,8 @@ int board_fit_config_name_match(const char *name)
return 0;
else if (is_mx6dq() && !strcmp(name, "imx6q-sabresd"))
return 0;
+ else if (is_mx6sdl() && !strcmp(name, "imx6dl-sabresd"))
+ return 0;
else
return -1;
}
diff --git a/configs/mx6sabresd_spl_defconfig b/configs/mx6sabresd_spl_defconfig
index ef02df1..5512d51 100644
--- a/configs/mx6sabresd_spl_defconfig
+++ b/configs/mx6sabresd_spl_defconfig
@@ -10,7 +10,7 @@ CONFIG_SPL_LIBDISK_SUPPORT=y
CONFIG_SPL_WATCHDOG_SUPPORT=y
CONFIG_VIDEO=y
CONFIG_DEFAULT_DEVICE_TREE="imx6q-sabresd"
-CONFIG_OF_LIST="imx6qp-sabresd imx6q-sabresd"
+CONFIG_OF_LIST="imx6qp-sabresd imx6q-sabresd imx6dl-sabresd"
CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg,SPL,MX6QDL"
CONFIG_BOOTDELAY=3
# CONFIG_CONSOLE_MUX is not set
--
1.9.1
More information about the U-Boot
mailing list