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: Stefan Agner <stefan@agner.ch>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
Stefan Agner 2015-05-20 00:03:50 +02:00 коммит произвёл Arnd Bergmann
Родитель 1b0c509733
Коммит 7505f0428f
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -16,7 +16,7 @@
#define UARTn_TXDATA 0x0034 #define UARTn_TXDATA 0x0034
.macro addruart, rx, tmp .macro addruart, rx, tmp, tmp2
ldr \rx, =(CONFIG_DEBUG_UART_PHYS) ldr \rx, =(CONFIG_DEBUG_UART_PHYS)
/* /*

Просмотреть файл

@ -35,7 +35,7 @@
#else /* !CONFIG_MMU */ #else /* !CONFIG_MMU */
.macro addruart_current, rx, tmp1, tmp2 .macro addruart_current, rx, tmp1, tmp2
addruart \rx, \tmp1 addruart \rx, \tmp1, \tmp2
.endm .endm
#endif /* CONFIG_MMU */ #endif /* CONFIG_MMU */