diff options
author | Vitaly Andrianov <vitalya@ti.com> | 2014-04-04 13:16:53 -0400 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-04-17 17:24:38 -0400 |
commit | ef509b9063fb702ce69d1a64ff293698a04075d6 (patch) | |
tree | 9dda3e3308f039f58922e70b798a6aca42cbc0b1 /drivers | |
parent | e8459dcc33c3f3fc5a98b7b69bb3ddd7ad77f632 (diff) | |
download | u-boot-imx-ef509b9063fb702ce69d1a64ff293698a04075d6.zip u-boot-imx-ef509b9063fb702ce69d1a64ff293698a04075d6.tar.gz u-boot-imx-ef509b9063fb702ce69d1a64ff293698a04075d6.tar.bz2 |
k2hk: add support for k2hk SOC and EVM
k2hk EVM is based on Texas Instruments Keystone2 Hawking/Kepler
SoC. Keystone2 SoC has ARM v7 Cortex-A15 MPCore processor. Please
refer the ti/k2hk_evm/README for details on the board, build and other
information.
This patch add support for keystone architecture and k2hk evm.
Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: WingMan Kwok <w-kwok2@ti.com>
Signed-off-by: Sandeep Nair <sandeep_n@ti.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/serial/ns16550.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/serial/ns16550.c b/drivers/serial/ns16550.c index fbc37b2..8a13454 100644 --- a/drivers/serial/ns16550.c +++ b/drivers/serial/ns16550.c @@ -30,6 +30,11 @@ #define serial_in(y) readb(y) #endif +#if defined(CONFIG_K2HK_EVM) +#define UART_REG_VAL_PWREMU_MGMT_UART_DISABLE 0 +#define UART_REG_VAL_PWREMU_MGMT_UART_ENABLE ((1 << 14) | (1 << 13) | (1 << 0)) +#endif + #ifndef CONFIG_SYS_NS16550_IER #define CONFIG_SYS_NS16550_IER 0x00 #endif /* CONFIG_SYS_NS16550_IER */ @@ -77,6 +82,9 @@ void NS16550_init(NS16550_t com_port, int baud_divisor) /* /16 is proper to hit 115200 with 48MHz */ serial_out(0, &com_port->mdr1); #endif /* CONFIG_OMAP */ +#if defined(CONFIG_K2HK_EVM) + serial_out(UART_REG_VAL_PWREMU_MGMT_UART_ENABLE, &com_port->regC); +#endif } #ifndef CONFIG_NS16550_MIN_FUNCTIONS |