diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2016-01-13 19:38:59 -0800 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-01-20 19:10:14 -0700 |
commit | f833cd6279666e1c2de6fc271bfd5d451003ed3b (patch) | |
tree | 588c093f50633f1ecc3fe8894c1f618838b17e4b /include/configs | |
parent | 9f29aeb89de8199ebaea9995dbb30ea5fa2f1085 (diff) | |
download | u-boot-imx-f833cd6279666e1c2de6fc271bfd5d451003ed3b.zip u-boot-imx-f833cd6279666e1c2de6fc271bfd5d451003ed3b.tar.gz u-boot-imx-f833cd6279666e1c2de6fc271bfd5d451003ed3b.tar.bz2 |
arm: ls1021atwr: Convert to driver model and enable serial support
Convert ls1021atwr_nor to driver model support. As a start, enable
ns16550 serial port driver.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/ls1021atwr.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/ls1021atwr.h b/include/configs/ls1021atwr.h index c12ba3a..bbef2a7 100644 --- a/include/configs/ls1021atwr.h +++ b/include/configs/ls1021atwr.h @@ -271,7 +271,9 @@ #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 |