summaryrefslogtreecommitdiff
path: root/arch/arm/mach-lpc32xx/include/mach/uncompress.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2019-08-09 17:40:38 +0300
committerArnd Bergmann <arnd@arndb.de>2019-08-15 22:34:05 +0300
commitd3532910038bb1e95e9c5952e98dd1d18b636e8b (patch)
tree5c342545ee428a530938a70e473a77947f9c0965 /arch/arm/mach-lpc32xx/include/mach/uncompress.h
parentffba29c9ebd0977dbf77bf6064776716a51b8ae5 (diff)
downloadlinux-d3532910038bb1e95e9c5952e98dd1d18b636e8b.tar.xz
ARM: lpc32xx: clean up header files
All device drivers have stopped relying on mach/*.h headers, so move the remaining headers into arch/arm/mach-lpc32xx/lpc32xx.h to prepare for multiplatform builds. The mach/entry-macro.S file has been unused for a long time now and can simply get removed. Link: https://lore.kernel.org/r/20190809144043.476786-13-arnd@arndb.de Acked-by: Sylvain Lemieux <slemieux.tyco@gmail.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-lpc32xx/include/mach/uncompress.h')
-rw-r--r--arch/arm/mach-lpc32xx/include/mach/uncompress.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/mach-lpc32xx/include/mach/uncompress.h b/arch/arm/mach-lpc32xx/include/mach/uncompress.h
index a568812a0b91..74b7aa0da0e4 100644
--- a/arch/arm/mach-lpc32xx/include/mach/uncompress.h
+++ b/arch/arm/mach-lpc32xx/include/mach/uncompress.h
@@ -12,15 +12,13 @@
#include <linux/io.h>
-#include <mach/hardware.h>
-#include <mach/platform.h>
-
/*
* Uncompress output is hardcoded to standard UART 5
*/
#define UART_FIFO_CTL_TX_RESET (1 << 2)
#define UART_STATUS_TX_MT (1 << 6)
+#define LPC32XX_UART5_BASE 0x40090000
#define _UARTREG(x) (void __iomem *)(LPC32XX_UART5_BASE + (x))