diff options
author | Sekhar Nori <nsekhar@ti.com> | 2009-03-23 10:28:51 +0530 |
---|---|---|
committer | Justin Waters <justin.waters@timesys.com> | 2009-09-09 14:03:21 -0400 |
commit | 7964e8857c1278792cfcdcda883693b1f38fd44e (patch) | |
tree | 443f3b384e3a5cae136564b892f756de60428ea7 | |
parent | 8e9047cb45b24a2db1e5cb9144ab592b8e507e1d (diff) |
U-Boot: stop writing to reserved UART register bits
While attempting power-up of UART, the code writes 1 to bit 15 of powerdown
register. The documentation clearly says the bit must be written with 0.
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
-rw-r--r-- | board/da8xx/da8xx-evm/da830.c | 2 | ||||
-rw-r--r-- | board/da8xx/da8xx-evm/da850.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/board/da8xx/da8xx-evm/da830.c b/board/da8xx/da8xx-evm/da830.c index 3caa6a4be9..8d6a2b9e9a 100644 --- a/board/da8xx/da8xx-evm/da830.c +++ b/board/da8xx/da8xx-evm/da830.c @@ -165,7 +165,7 @@ int board_init(void) REG(PINMUX9) &= 0xFFFFFFF0; REG(PINMUX9) |= 0x00000002; - REG(DAVINCI_UART2_BASE + 0x30) = 0xE001; + REG(DAVINCI_UART2_BASE + 0x30) = 1 | (1 << 13) | (1 << 14); /* I2C muxing */ REG(PINMUX8) &= 0xFFF00FFF; diff --git a/board/da8xx/da8xx-evm/da850.c b/board/da8xx/da8xx-evm/da850.c index c36f645c73..926930d877 100644 --- a/board/da8xx/da8xx-evm/da850.c +++ b/board/da8xx/da8xx-evm/da850.c @@ -173,7 +173,7 @@ int board_init(void) REG(PINMUX3) &= 0x0000FFFF; REG(PINMUX3) |= 0x22220000; - REG(DAVINCI_UART0_BASE + 0x30) = 0xE001; + REG(DAVINCI_UART0_BASE + 0x30) = 1 | (1 << 13) | (1 << 14); /* I2C muxing */ REG(PINMUX4) &= 0xFFFF00FF; |