arm: ep93xx: remove memory configuration options
H Hartley Sweeten
maintainerPATCH 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.
Signed-off-by H Hartley Sweeten <[email protected]>
Cc Ryan Mallon <[email protected]>
---
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
@@ -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
@@ -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