summaryrefslogtreecommitdiffstats
path: root/arch/arm/cpu/mmu.c
diff options
context:
space:
mode:
authorAndrey Smirnov <andrew.smirnov@gmail.com>2018-05-17 13:58:10 -0700
committerSascha Hauer <s.hauer@pengutronix.de>2018-05-18 08:11:16 +0200
commitf4f1dfacee4b9831c4cbc68ad48a1a99171ab91f (patch)
treeed5d5fe2958a6d89a770e81cb3c157d1ecdea19a /arch/arm/cpu/mmu.c
parent03f2a17b10d060ba545cb8e280c1092b5bfdae29 (diff)
downloadbarebox-f4f1dfacee4b9831c4cbc68ad48a1a99171ab91f.tar.gz
barebox-f4f1dfacee4b9831c4cbc68ad48a1a99171ab91f.tar.xz
ARM: mmu: Remove unused ARM_VECTORS_SIZE
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/cpu/mmu.c')
-rw-r--r--arch/arm/cpu/mmu.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/cpu/mmu.c b/arch/arm/cpu/mmu.c
index 6ccd5893b4..9472013ca1 100644
--- a/arch/arm/cpu/mmu.c
+++ b/arch/arm/cpu/mmu.c
@@ -270,12 +270,6 @@ static int arm_mmu_remap_sdram(struct memory_bank *bank)
return 0;
}
-/*
- * We have 8 exception vectors and the table consists of absolute
- * jumps, so we need 8 * 4 bytes for the instructions and another
- * 8 * 4 bytes for the addresses.
- */
-#define ARM_VECTORS_SIZE (sizeof(u32) * 8 * 2)
#define ARM_HIGH_VECTORS 0xffff0000
#define ARM_LOW_VECTORS 0x0