summaryrefslogtreecommitdiff
path: root/arch/arm/mach-spear/include/mach/uncompress.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2022-04-28 10:44:23 +0300
committerArnd Bergmann <arnd@arndb.de>2022-04-29 10:53:15 +0300
commitc164620ae2f4d7b31023fd79445063f0f5cc9471 (patch)
tree7966f8e7f9756520e5d8dcfca4ba4cfaf84c3040 /arch/arm/mach-spear/include/mach/uncompress.h
parentca31807b8506d261c884f152fc434a9dd7ccdf42 (diff)
downloadlinux-c164620ae2f4d7b31023fd79445063f0f5cc9471.tar.xz
ARM: spear: remove include/mach/ subdirectory
Two of the remaining four headers are never used, the other two are only used inside of the platform code. Move them next to the files that include them and remove the Makefile trick that adds the include path. Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-spear/include/mach/uncompress.h')
-rw-r--r--arch/arm/mach-spear/include/mach/uncompress.h42
1 files changed, 0 insertions, 42 deletions
diff --git a/arch/arm/mach-spear/include/mach/uncompress.h b/arch/arm/mach-spear/include/mach/uncompress.h
deleted file mode 100644
index 8439b9c12edb..000000000000
--- a/arch/arm/mach-spear/include/mach/uncompress.h
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * arch/arm/plat-spear/include/plat/uncompress.h
- *
- * Serial port stubs for kernel decompress status messages
- *
- * Copyright (C) 2009 ST Microelectronics
- * Viresh Kumar <vireshk@kernel.org>
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2. This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
- */
-
-#include <linux/io.h>
-#include <linux/amba/serial.h>
-#include <mach/spear.h>
-
-#ifndef __PLAT_UNCOMPRESS_H
-#define __PLAT_UNCOMPRESS_H
-/*
- * This does not append a newline
- */
-static inline void putc(int c)
-{
- void __iomem *base = (void __iomem *)SPEAR_DBG_UART_BASE;
-
- while (readl_relaxed(base + UART01x_FR) & UART01x_FR_TXFF)
- barrier();
-
- writel_relaxed(c, base + UART01x_DR);
-}
-
-static inline void flush(void)
-{
-}
-
-/*
- * nothing to do
- */
-#define arch_decomp_setup()
-
-#endif /* __PLAT_UNCOMPRESS_H */