summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mvebu/include/mach/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-mvebu/include/mach/common.h')
-rw-r--r--arch/arm/mach-mvebu/include/mach/common.h27
1 files changed, 0 insertions, 27 deletions
diff --git a/arch/arm/mach-mvebu/include/mach/common.h b/arch/arm/mach-mvebu/include/mach/common.h
deleted file mode 100644
index 81de0cbd79..0000000000
--- a/arch/arm/mach-mvebu/include/mach/common.h
+++ /dev/null
@@ -1,27 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-or-later */
-/* SPDX-FileCopyrightText: 2013 Thomas Petazzoni <thomas.petazzoni@free-electrons.com> */
-/* SPDX-FileCopyrightText: 2013 Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> */
-
-#ifndef __MACH_COMMON_H__
-#define __MACH_COMMON_H__
-
-#include <asm/sections.h>
-#include <asm/unaligned.h>
-
-#define MVEBU_BOOTUP_INT_REG_BASE 0xd0000000
-#define MVEBU_REMAP_INT_REG_BASE 0xf1000000
-
-/* #including <asm/barebox-arm.h> yields a circle, so we need a forward decl */
-unsigned long get_runtime_offset(void);
-
-static inline void __iomem *mvebu_get_initial_int_reg_base(void)
-{
-#ifdef __PBL__
- u32 base = __get_unaligned_le32(_text + get_runtime_offset() + 0x30);
- return (void __force __iomem *)base;
-#else
- return (void __force __iomem *)MVEBU_REMAP_INT_REG_BASE;
-#endif
-}
-
-#endif