diff options
author | Vladimir Zapolskiy <vz@mleia.com> | 2015-12-19 23:29:25 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-01-13 21:05:22 -0500 |
commit | d25ba89e8b2b80c7229658b9fabdf96e9af64e01 (patch) | |
tree | e8c2e83335680cb6edac9bc9f14933e40635a6f1 /configs | |
parent | f21069ed82413498c2512115564cd6bfae22ede5 (diff) | |
download | u-boot-d25ba89e8b2b80c7229658b9fabdf96e9af64e01.tar.gz u-boot-d25ba89e8b2b80c7229658b9fabdf96e9af64e01.tar.xz u-boot-d25ba89e8b2b80c7229658b9fabdf96e9af64e01.zip |
arm: lpc32xx: switch serial console to driver model
On NXP LPC32xx platform for non-SPL builds the change adds
standard (NS16550) and high-speed UARTs to driver model.
Due to specific of DM NS16550 device description UART clock can not be
got in runtime and by default it is set to 13MHz, if board PERIPH_CLK
is different, this should be specified in board configuration file.
For SPL builds HSUARTs are disabled and non-DM NS16550 driver is
compiled, if needed.
The change also updates default configs of devkit3250 and work_92105
boards to reflect updates in platform files.
Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'configs')
-rw-r--r-- | configs/devkit3250_defconfig | 1 | ||||
-rw-r--r-- | configs/work_92105_defconfig | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/configs/devkit3250_defconfig b/configs/devkit3250_defconfig index 64a0fb01b3..0abb8e09e0 100644 --- a/configs/devkit3250_defconfig +++ b/configs/devkit3250_defconfig @@ -1,5 +1,6 @@ CONFIG_ARM=y CONFIG_TARGET_DEVKIT3250=y +CONFIG_DM_SERIAL=y CONFIG_DM_GPIO=y CONFIG_SPL=y # CONFIG_CMD_FPGA is not set diff --git a/configs/work_92105_defconfig b/configs/work_92105_defconfig index 1cad3a2d0c..a5a108ee6e 100644 --- a/configs/work_92105_defconfig +++ b/configs/work_92105_defconfig @@ -1,5 +1,6 @@ CONFIG_ARM=y CONFIG_TARGET_WORK_92105=y +CONFIG_DM_SERIAL=y CONFIG_DM_GPIO=y CONFIG_SPL=y # CONFIG_CMD_IMLS is not set |