summaryrefslogtreecommitdiff
path: root/arch/arm/mach-orion5x/include/mach/uncompress.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2015-12-03 00:27:09 +0300
committerGregory CLEMENT <gregory.clement@free-electrons.com>2015-12-07 20:17:54 +0300
commit63cddd25fa02dbba294fb09f78ea24d7a9f1c7d9 (patch)
treeb6831a6a7c038e456f0223f86870cbdc92a71f11 /arch/arm/mach-orion5x/include/mach/uncompress.h
parentc22c2c6008d69ff2632f8a69c62782468c2bb5a0 (diff)
downloadlinux-63cddd25fa02dbba294fb09f78ea24d7a9f1c7d9.tar.xz
ARM: orion5x: multiplatform support
The orion5x platform is now ready to be enabled for multiplatform support, this patch does the switch over by modifying the Kconfig file, the defconfig and removing the last mach/*.h header that becomes obsolete with this. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Diffstat (limited to 'arch/arm/mach-orion5x/include/mach/uncompress.h')
-rw-r--r--arch/arm/mach-orion5x/include/mach/uncompress.h46
1 files changed, 0 insertions, 46 deletions
diff --git a/arch/arm/mach-orion5x/include/mach/uncompress.h b/arch/arm/mach-orion5x/include/mach/uncompress.h
deleted file mode 100644
index 25e5cb98fecc..000000000000
--- a/arch/arm/mach-orion5x/include/mach/uncompress.h
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * Tzachi Perelstein <tzachi@marvell.com>
- *
- * 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/serial_reg.h>
-
-#define UART0_PHYS_BASE (0xf1000000 + 0x12000)
-#define SERIAL_BASE ((unsigned char *)UART0_PHYS_BASE)
-
-static void putc(const char c)
-{
- unsigned char *base = SERIAL_BASE;
- int i;
-
- for (i = 0; i < 0x1000; i++) {
- if (base[UART_LSR << 2] & UART_LSR_THRE)
- break;
- barrier();
- }
-
- base[UART_TX << 2] = c;
-}
-
-static void flush(void)
-{
- unsigned char *base = SERIAL_BASE;
- unsigned char mask;
- int i;
-
- mask = UART_LSR_TEMT | UART_LSR_THRE;
-
- for (i = 0; i < 0x1000; i++) {
- if ((base[UART_LSR << 2] & mask) == mask)
- break;
- barrier();
- }
-}
-
-/*
- * nothing to do
- */
-#define arch_decomp_setup()