diff options
author | Adam Ford <aford173@gmail.com> | 2018-09-19 16:06:49 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-09-29 08:07:28 -0400 |
commit | 973fcc8daec0055b5bc14dae6aa9e44c0e9d17f9 (patch) | |
tree | 036c2ba3fb8c7f7ebf9e37fec57c02efde8fcbf9 /arch/arm/mach-davinci | |
parent | 42140dd0962bc134c0aad27524d0f4cc3955f255 (diff) |
ARM: da850evm_direct_nor_defconfig: Enable DM_SERIAL
With DM enabled, this patch enables DM_SERIAL and removes
the NS16550 initialization from da850_lowlevel since the driver
will take care of that itself.
Signed-off-by: Adam Ford <aford173@gmail.com>
Diffstat (limited to 'arch/arm/mach-davinci')
-rw-r--r-- | arch/arm/mach-davinci/da850_lowlevel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-davinci/da850_lowlevel.c b/arch/arm/mach-davinci/da850_lowlevel.c index 95dc93a24f..822e0dc4a1 100644 --- a/arch/arm/mach-davinci/da850_lowlevel.c +++ b/arch/arm/mach-davinci/da850_lowlevel.c @@ -288,10 +288,10 @@ int arch_cpu_init(void) /* GPIO setup */ board_gpio_init(); - +#if !CONFIG_IS_ENABLED(DM_SERIAL) NS16550_init((NS16550_t)(CONFIG_SYS_NS16550_COM1), CONFIG_SYS_NS16550_CLK / 16 / CONFIG_BAUDRATE); - +#endif /* * Fix Power and Emulation Management Register * see sprufw3a.pdf page 37 Table 24 |