diff options
author | Eric Benard <eric@eukrea.com> | 2013-04-22 05:54:59 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-05-10 08:25:56 -0400 |
commit | 81ac7e51ccf2984e9c0964a883d6b7e8fe875aad (patch) | |
tree | 3b1ba5d0cea874ef4f798090b03d60b77d481f0d /arch/arm/cpu/arm926ejs | |
parent | 0b800a6b267de24466ca5a463db6497d7362f128 (diff) | |
download | u-boot-imx-81ac7e51ccf2984e9c0964a883d6b7e8fe875aad.zip u-boot-imx-81ac7e51ccf2984e9c0964a883d6b7e8fe875aad.tar.gz u-boot-imx-81ac7e51ccf2984e9c0964a883d6b7e8fe875aad.tar.bz2 |
da850: provide davinci_enable_uart0
this is needed to bring UART0 out of reset but this function
currently only exists for dm644x/355/365/646x when da850 (at
least am1808 also need it).
Signed-off-by: Eric BĂ©nard <eric@eukrea.com>
Diffstat (limited to 'arch/arm/cpu/arm926ejs')
-rw-r--r-- | arch/arm/cpu/arm926ejs/davinci/da850_lowlevel.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/cpu/arm926ejs/davinci/da850_lowlevel.c b/arch/arm/cpu/arm926ejs/davinci/da850_lowlevel.c index ff2e2e3..127beb8 100644 --- a/arch/arm/cpu/arm926ejs/davinci/da850_lowlevel.c +++ b/arch/arm/cpu/arm926ejs/davinci/da850_lowlevel.c @@ -32,6 +32,14 @@ #include <asm/arch/emif_defs.h> #include <asm/arch/pll_defs.h> +void davinci_enable_uart0(void) +{ + lpsc_on(DAVINCI_LPSC_UART0); + + /* Bringup UART0 out of reset */ + REG(UART0_PWREMU_MGMT) = 0x00006001; +} + #if defined(CONFIG_SYS_DA850_PLL_INIT) void da850_waitloop(unsigned long loopcnt) { |