summaryrefslogtreecommitdiffstats
path: root/include/configs/ls1021aqds.h
diff options
context:
space:
mode:
authorYork Sun <york.sun@nxp.com>2016-02-08 13:04:17 -0800
committerYork Sun <york.sun@nxp.com>2016-02-23 08:08:15 -0800
commitd83b47b778805e2d3cfc9f6b14437f389f9da49f (patch)
treea4feffaf38d708e7a4813418a7b47ea7bd2eaee7 /include/configs/ls1021aqds.h
parent595af9db2422fa5ae734cfe615415b17a5098f34 (diff)
downloadtalos-obmc-uboot-d83b47b778805e2d3cfc9f6b14437f389f9da49f.tar.gz
talos-obmc-uboot-d83b47b778805e2d3cfc9f6b14437f389f9da49f.zip
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
OpenPOWER on IntegriCloud