Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 42ea573f authored by Krzysztof Hałasa's avatar Krzysztof Hałasa
Browse files

IXP4xx: Fix LL debugging on little-endian CPU.



IXP4xx only needs +3 offset for UART registers when running in big-endian mode.

Signed-off-by: default avatarKrzysztof Hałasa <khc@pm.waw.pl>
parent 59c29017
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -16,8 +16,10 @@
                moveq   \rx, #0xc8000000
                movne   \rx, #0xff000000
		orrne	\rx, \rx, #0x00b00000
#ifdef __ARMEB__
                add     \rx,\rx,#3              @ Uart regs are at off set of 3 if
						@ byte writes used - Big Endian.
#endif
                .endm

#define UART_SHIFT	2