diff options
author | Simon Glass <sjg@chromium.org> | 2015-02-07 11:51:46 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-02-12 10:35:31 -0700 |
commit | 0e7806d24a77179053c64ba481b3857805e061c8 (patch) | |
tree | 59066e390f5cce0f53eae26a76453b9e595a6553 /include/configs | |
parent | 43301741fc3455704204df100bf73a4c2f15b697 (diff) | |
download | u-boot-imx-0e7806d24a77179053c64ba481b3857805e061c8.zip u-boot-imx-0e7806d24a77179053c64ba481b3857805e061c8.tar.gz u-boot-imx-0e7806d24a77179053c64ba481b3857805e061c8.tar.bz2 |
ppc: amcc: Omit unneeded ns16550 CONFIG if using driver model
This comes from the device tree or a call to get_uart_clock().
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/amcc-common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/amcc-common.h b/include/configs/amcc-common.h index 2aea899..73e1b0a 100644 --- a/include/configs/amcc-common.h +++ b/include/configs/amcc-common.h @@ -20,8 +20,10 @@ */ #define CONFIG_SYS_NS16550 #define CONFIG_SYS_NS16550_SERIAL +#ifndef CONFIG_DM_SERIAL #define CONFIG_SYS_NS16550_REG_SIZE 1 #define CONFIG_SYS_NS16550_CLK get_serial_clock() +#endif #define CONFIG_BAUDRATE 115200 #define CONFIG_SYS_BAUDRATE_TABLE \ {300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200, 230400} |