Patchwork [U-Boot,2/8] microblaze: Remove address offset for uart16550

login
register
mail settings
Submitter Michal Simek
Date Aug. 31, 2011, 10:57 a.m.
Message ID <1314788276-26107-3-git-send-email-monstr@monstr.eu>
Download mbox | patch
Permalink /patch/112529/
State Accepted
Delegated to: Michal Simek
Headers show

Comments

Michal Simek - Aug. 31, 2011, 10:57 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 0c7c294..684f2d6 100644
--- a/include/configs/microblaze-generic.h
+++ b/include/configs/microblaze-generic.h
@@ -46,7 +46,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