diff options
author | Peng Fan <peng.fan@nxp.com> | 2017-07-05 11:27:59 +0800 |
---|---|---|
committer | Anson Huang <Anson.Huang@nxp.com> | 2017-07-12 23:33:10 +0800 |
commit | a12ffa2beb0cadbcca096ce062854ce52bf10c48 (patch) | |
tree | 666acf51a05d7f54ca2fe7fa81b854e9b2cc4066 | |
parent | 542e7d15f95a6084e23316214d333b67c484248a (diff) |
imx8mq: add console init
Add console init
Signed-off-by: Peng Fan <peng.fan@nxp.com>
-rw-r--r-- | plat/freescale/imx8mq/imx8m_bl31_setup.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/plat/freescale/imx8mq/imx8m_bl31_setup.c b/plat/freescale/imx8mq/imx8m_bl31_setup.c index f8984a60..129c2e89 100644 --- a/plat/freescale/imx8mq/imx8m_bl31_setup.c +++ b/plat/freescale/imx8mq/imx8m_bl31_setup.c @@ -144,6 +144,10 @@ void bl31_early_platform_setup(bl31_params_t *from_bl2, mmio_write_32(0x309f004c, 0x0); mmio_write_32(0x309f0050, 0x0); +#if DEBUG_CONSOLE + console_init(IMX_BOOT_UART_BASE, IMX_BOOT_UART_CLK_IN_HZ, + IMX_CONSOLE_BAUDRATE); +#endif /* enable the system counter */ system_counter_init(); @@ -211,3 +215,8 @@ unsigned int plat_get_syscnt_freq2(void) { return freq; } + +void bl31_plat_runtime_setup(void) +{ + return; +} |