ARM: shmobile: Remove MEMORY_START/SIZE
authorMagnus Damm <damm@opensource.se>
Mon, 10 Jun 2013 09:46:57 +0000 (18:46 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 17 Jun 2013 07:07:30 +0000 (16:07 +0900)
Remove CONFIG_MEMORY_START and CONFIG_MEMORY_SIZE from mach-shmobile.

Boards should use DT to specify their memory setup. Boards that still
not support DT may pass ATAGS with memory information from the boot
loader. If those ATAGS turn out to be incorrect then appended DTB with
memory information should be used as a workaround.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/Kconfig

index 06da4d3..747f68a 100644 (file)
@@ -195,37 +195,6 @@ config CPU_HAS_INTEVT
         bool
        default y
 
-menu "Memory configuration"
-
-config MEMORY_START
-       hex "Physical memory start address"
-       default "0x40000000" if MACH_AP4EVB || MACH_AG5EVM || \
-                               MACH_MACKEREL || MACH_BONITO || \
-                               MACH_ARMADILLO800EVA || MACH_APE6EVM || \
-                               MACH_LAGER
-       default "0x41000000" if MACH_KOTA2
-       default "0x00000000"
-       ---help---
-         Tweak this only when porting to a new machine which does not
-         already have a defconfig. Changing it from the known correct
-         value on any of the known systems will only lead to disaster.
-
-config MEMORY_SIZE
-       hex "Physical memory size"
-       default "0x80000000" if MACH_LAGER
-       default "0x40000000" if MACH_APE6EVM
-       default "0x20000000" if MACH_AG5EVM || MACH_BONITO || \
-                               MACH_ARMADILLO800EVA
-       default "0x1e000000" if MACH_KOTA2
-       default "0x10000000" if MACH_AP4EVB || MACH_MACKEREL
-       default "0x04000000"
-       help
-         This sets the default memory size assumed by your kernel. It can
-         be overridden as normal by the 'mem=' argument on the kernel command
-         line.
-
-endmenu
-
 menu "Timer and clock configuration"
 
 config SHMOBILE_TIMER_HZ