Patchwork [U-Boot] microblaze: Remove address offset for uart16550

login
register
mail settings
Submitter Michal Simek
Date Feb. 28, 2011, 9:27 a.m.
Message ID <1298885229-26247-3-git-send-email-monstr@monstr.eu>
Download mbox | patch
Permalink /patch/84753/
State Accepted
Commit 68332608bcb4a1e9f172c8162247a61f51730698
Headers show

Comments

Michal Simek - Feb. 28, 2011, 9:27 a.m.
U-Boot BSP handle 0x3 offset for big endian systems.
Little endian Microblaze systems don't use any offset.

Signed-off-by: Michal Simek <monstr@monstr.eu>
---
 include/configs/microblaze-generic.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h
index 8cdd72a..a334110 100644
--- a/include/configs/microblaze-generic.h
+++ b/include/configs/microblaze-generic.h
@@ -44,7 +44,7 @@ 
 # define CONFIG_SYS_NS16550_REG_SIZE	-4
 # define CONFIG_CONS_INDEX		1
 # define CONFIG_SYS_NS16550_COM1 \
-			(XILINX_UART16550_BASEADDR + 0x1000 + 0x3)
+			(XILINX_UART16550_BASEADDR + 0x1000)
 # define CONFIG_SYS_NS16550_CLK	XILINX_UART16550_CLOCK_HZ
 # define CONFIG_BAUDRATE	115200