diff options
author | Adam Ford <aford173@gmail.com> | 2018-08-13 21:09:17 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-09-11 21:42:41 -0400 |
commit | 5f389201dece76b484443773dce2525dc205f5a1 (patch) | |
tree | 29902969db8647982475100a50233dff4ba11bf8 /arch/arm/mach-davinci | |
parent | 21af33ed0319b1a5133ea78a4261b5464e1a6a1b (diff) | |
download | u-boot-5f389201dece76b484443773dce2525dc205f5a1.tar.gz u-boot-5f389201dece76b484443773dce2525dc205f5a1.tar.xz u-boot-5f389201dece76b484443773dce2525dc205f5a1.zip |
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..8ceb1779f9 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 !defined(CONFIG_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 |