summaryrefslogtreecommitdiff
path: root/include/configs/ls1021aqds.h
diff options
context:
space:
mode:
authorYork Sun <york.sun@nxp.com>2016-02-09 00:04:17 +0300
committerYork Sun <york.sun@nxp.com>2016-02-23 19:08:15 +0300
commitd83b47b778805e2d3cfc9f6b14437f389f9da49f (patch)
treea4feffaf38d708e7a4813418a7b47ea7bd2eaee7 /include/configs/ls1021aqds.h
parent595af9db2422fa5ae734cfe615415b17a5098f34 (diff)
downloadu-boot-d83b47b778805e2d3cfc9f6b14437f389f9da49f.tar.xz
arm: ls1021aqds: Convert to driver model and enable serial support
Split duart configuration as device tree file. Move /chosen node out of board commone device tree. Convert ls1021aqds nor and SD configurations to driver model support (qspi already uses DM). Enable ns16550 DM serial driver for nor configurations. Signed-off-by: York Sun <york.sun@nxp.com> CC: Alison Wang <alison.wang@nxp.com> CC: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Alison Wang <alison.wang@nxp.com>
Diffstat (limited to 'include/configs/ls1021aqds.h')
-rw-r--r--include/configs/ls1021aqds.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/ls1021aqds.h b/include/configs/ls1021aqds.h
index f6efc55059..5bdc124475 100644
--- a/include/configs/ls1021aqds.h
+++ b/include/configs/ls1021aqds.h
@@ -375,7 +375,9 @@ unsigned long get_board_ddr_clk(void);
#else
#define CONFIG_CONS_INDEX 1
#define CONFIG_SYS_NS16550_SERIAL
+#ifndef CONFIG_DM_SERIAL
#define CONFIG_SYS_NS16550_REG_SIZE 1
+#endif
#define CONFIG_SYS_NS16550_CLK get_serial_clock()
#endif