Skip to contentSkip to conversation

arm: ep93xx: remove memory configuration options

PATCH New H Hartley Sweeten 1 participant 1 message Jul 19, 2013

Subsystems (3)
lore
Share & tools
lore

H Hartley Sweeten

author maintainer
#0 lore raw

PATCH 1/1 arm: ep93xx: remove memory configuration options

The ARM_PATCH_PHYS_VIRT option makes the ep93xx memory configuration options obsolete.

With this option enabled the physical address is detected according to the position of the kernel in system memory at boot. If its disabled, the user can enter the physical address manually in the config.

---
I have tested this on ep93xx systems with the SDRAM at 0xc0000000. If anyone has a system with a different SDRAM address please respond with a Tested-by.

 arch/arm/Kconfig                           |  1 -
 arch/arm/mach-ep93xx/Kconfig               | 54 ------------------------------
 arch/arm/mach-ep93xx/include/mach/memory.h | 22 ------------
 3 files changed, 77 deletions(-)
 delete mode 100644 arch/arm/mach-ep93xx/include/mach/memory.h
arch/arm/Kconfig +0 -1
index ba412e0..29c039c 100644
@@ -413,7 +413,6 @@ config ARCH_EP93XX
 	select ARM_VIC
 	select CLKDEV_LOOKUP
 	select CPU_ARM920T
-	select NEED_MACH_MEMORY_H
 	help
 	  This enables support for the Cirrus EP93xx series of CPUs.
 
arch/arm/mach-ep93xx/Kconfig +0 -54

164 lines not on this page · raw message

arch/arm/mach-ep93xx/include/mach/memory.h deleted +0 -22
deleted file mode 100644
index c9400cf..0000000
@@ -1,22 +0,0 @@
-/*
- * arch/arm/mach-ep93xx/include/mach/memory.h
- */
-
-#ifndef __ASM_ARCH_MEMORY_H
-#define __ASM_ARCH_MEMORY_H
-
-#if defined(CONFIG_EP93XX_SDCE3_SYNC_PHYS_OFFSET)
-#define PLAT_PHYS_OFFSET		UL(0x00000000)
-#elif defined(CONFIG_EP93XX_SDCE0_PHYS_OFFSET)
-#define PLAT_PHYS_OFFSET		UL(0xc0000000)
-#elif defined(CONFIG_EP93XX_SDCE1_PHYS_OFFSET)
-#define PLAT_PHYS_OFFSET		UL(0xd0000000)
-#elif defined(CONFIG_EP93XX_SDCE2_PHYS_OFFSET)
-#define PLAT_PHYS_OFFSET		UL(0xe0000000)
-#elif defined(CONFIG_EP93XX_SDCE3_ASYNC_PHYS_OFFSET)
-#define PLAT_PHYS_OFFSET		UL(0xf0000000)
-#else
-#error "Kconfig bug: No EP93xx PHYS_OFFSET set"
-#endif
-
-#endif
Signature · 1 line
1.8.3.2