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

Commit 7505f042 authored by Stefan Agner's avatar Stefan Agner Committed by Arnd Bergmann
Browse files

ARM: unify MMU/!MMU addruart calls



Remove the needless differences between MMU/!MMU addruart calls.
This allows to use the same addruart macro on SoC level. Useful
for SoC consisting of multiple CPUs with and without MMU such as
Freescale Vybrid.

Signed-off-by: default avatarStefan Agner <stefan@agner.ch>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent 1b0c5097
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@

#define	UARTn_TXDATA		0x0034

		.macro	addruart, rx, tmp
		.macro	addruart, rx, tmp, tmp2
		ldr	\rx, =(CONFIG_DEBUG_UART_PHYS)

		/*
+1 −1
Original line number Diff line number Diff line
@@ -35,7 +35,7 @@

#else /* !CONFIG_MMU */
		.macro	addruart_current, rx, tmp1, tmp2
		addruart	\rx, \tmp1
		addruart	\rx, \tmp1, \tmp2
		.endm

#endif /* CONFIG_MMU */