]> Git Repo - linux.git/commitdiff
Merge tag 'renesas-cleanup-boot-for-v3.11' of git://git.kernel.org/pub/scm/linux...
authorArnd Bergmann <[email protected]>
Fri, 21 Jun 2013 12:57:38 +0000 (14:57 +0200)
committerArnd Bergmann <[email protected]>
Fri, 21 Jun 2013 12:57:38 +0000 (14:57 +0200)
From Simon Horman:

Renesas ARM based SoC boot cleanup for v3.11

Work by Magnus Damm and others to clean up the boot of and move
things closer to supporting multi-arch.

As a side effect of this work it was decided to remove support for
two boards, Bonito and AP4EVB. Those patches are included in this
series as they depend on earlier patches in the series.

* tag 'renesas-cleanup-boot-for-v3.11' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
  ARM: shmobile: Remove Bonito board support
  ARM: shmobile: Remove AP4EVB board support
  ARM: shmobile: Remove mach/memory.h
  ARM: shmobile: Remove MEMORY_START/SIZE
  ARM: shmobile: Enable ARM_PATCH_PHYS_VIRT
  ARM: shmobile: Remove old SCU boot code
  ARM: shmobile: EMEV2 SMP with SCU boot fn and args
  ARM: shmobile: sh73a0 SMP with SCU boot fn and args
  ARM: shmobile: r8a7779 SMP with SCU boot fn and args
  ARM: shmobile: Add SCU boot function using argument
  ARM: shmobile: Add SMP boot function and argument
  ARM: shmobile: Rework sh7372 sleep code to use virt_to_phys()
  ARM: shmobile: Remove romImage CONFIG_MEMORY_START
  ARM: shmobile: Let romImage rely on default ATAGS
  ARM: shmobile: uImage load address rework

Signed-off-by: Arnd Bergmann <[email protected]>
1  2 
arch/arm/Kconfig
arch/arm/mach-shmobile/Kconfig

diff --combined arch/arm/Kconfig
index ccd78c912cbf8102c9f9a042a7898adc5d597117,f06e65bbef79cb5d8255708c95a6569c140ffb71..db5aa5f2d1de6c983543fd0fdde6d2aa5862bd72
@@@ -9,7 -9,7 +9,7 @@@ config AR
        select BUILDTIME_EXTABLE_SORT if MMU
        select CPU_PM if (SUSPEND || CPU_IDLE)
        select DCACHE_WORD_ACCESS if (CPU_V6 || CPU_V6K || CPU_V7) && !CPU_BIG_ENDIAN && MMU
 -      select GENERIC_ATOMIC64 if (CPU_V6 || !CPU_32v6K || !AEABI)
 +      select GENERIC_ATOMIC64 if (CPU_V7M || CPU_V6 || !CPU_32v6K || !AEABI)
        select GENERIC_CLOCKEVENTS_BROADCAST if SMP
        select GENERIC_IRQ_PROBE
        select GENERIC_IRQ_SHOW
@@@ -366,12 -366,11 +366,12 @@@ config ARCH_CLPS711
        select ARCH_REQUIRE_GPIOLIB
        select AUTO_ZRELADDR
        select CLKDEV_LOOKUP
 +      select CLKSRC_MMIO
        select COMMON_CLK
        select CPU_ARM720T
        select GENERIC_CLOCKEVENTS
 +      select MFD_SYSCON
        select MULTI_IRQ_HANDLER
 -      select NEED_MACH_MEMORY_H
        select SPARSE_IRQ
        help
          Support for Cirrus Logic 711x/721x/731x based boards.
@@@ -503,7 -502,6 +503,7 @@@ config ARCH_DOV
  
  config ARCH_KIRKWOOD
        bool "Marvell Kirkwood"
 +      select ARCH_HAS_CPUFREQ
        select ARCH_REQUIRE_GPIOLIB
        select CPU_FEROCEON
        select GENERIC_CLOCKEVENTS
@@@ -636,6 -634,7 +636,7 @@@ config ARCH_MS
  
  config ARCH_SHMOBILE
        bool "Renesas SH-Mobile / R-Mobile"
+       select ARM_PATCH_PHYS_VIRT
        select CLKDEV_LOOKUP
        select GENERIC_CLOCKEVENTS
        select HAVE_ARM_SCU if SMP
        select HAVE_SMP
        select MIGHT_HAVE_CACHE_L2X0
        select MULTI_IRQ_HANDLER
-       select NEED_MACH_MEMORY_H
        select NO_IOPORT
        select PINCTRL
        select PM_GENERIC_DOMAINS if PM
@@@ -697,7 -695,6 +697,7 @@@ config ARCH_S3C24X
        select CLKDEV_LOOKUP
        select CLKSRC_MMIO
        select GENERIC_CLOCKEVENTS
 +      select GPIO_SAMSUNG
        select HAVE_CLK
        select HAVE_S3C2410_I2C if I2C
        select HAVE_S3C2410_WATCHDOG if WATCHDOG
        select MULTI_IRQ_HANDLER
        select NEED_MACH_GPIO_H
        select NEED_MACH_IO_H
 +      select SAMSUNG_ATAGS
        help
          Samsung S3C2410, S3C2412, S3C2413, S3C2416, S3C2440, S3C2442, S3C2443
          and S3C2450 SoCs based systems, such as the Simtec Electronics BAST
@@@ -721,7 -717,6 +721,7 @@@ config ARCH_S3C64X
        select CLKSRC_MMIO
        select CPU_V6
        select GENERIC_CLOCKEVENTS
 +      select GPIO_SAMSUNG
        select HAVE_CLK
        select HAVE_S3C2410_I2C if I2C
        select HAVE_S3C2410_WATCHDOG if WATCHDOG
        select PLAT_SAMSUNG
        select S3C_DEV_NAND
        select S3C_GPIO_TRACK
 +      select SAMSUNG_ATAGS
        select SAMSUNG_CLKSRC
        select SAMSUNG_GPIOLIB_4BIT
        select SAMSUNG_IRQ_VIC_TIMER
@@@ -745,13 -739,11 +745,13 @@@ config ARCH_S5P64X
        select CLKSRC_MMIO
        select CPU_V6
        select GENERIC_CLOCKEVENTS
 +      select GPIO_SAMSUNG
        select HAVE_CLK
        select HAVE_S3C2410_I2C if I2C
        select HAVE_S3C2410_WATCHDOG if WATCHDOG
        select HAVE_S3C_RTC if RTC_CLASS
        select NEED_MACH_GPIO_H
 +      select SAMSUNG_ATAGS
        help
          Samsung S5P64X0 CPU based systems, such as the Samsung SMDK6440,
          SMDK6450.
@@@ -763,13 -755,11 +763,13 @@@ config ARCH_S5PC10
        select CLKSRC_MMIO
        select CPU_V7
        select GENERIC_CLOCKEVENTS
 +      select GPIO_SAMSUNG
        select HAVE_CLK
        select HAVE_S3C2410_I2C if I2C
        select HAVE_S3C2410_WATCHDOG if WATCHDOG
        select HAVE_S3C_RTC if RTC_CLASS
        select NEED_MACH_GPIO_H
 +      select SAMSUNG_ATAGS
        help
          Samsung S5PC100 series based systems
  
@@@ -782,14 -772,12 +782,14 @@@ config ARCH_S5PV21
        select CLKSRC_MMIO
        select CPU_V7
        select GENERIC_CLOCKEVENTS
 +      select GPIO_SAMSUNG
        select HAVE_CLK
        select HAVE_S3C2410_I2C if I2C
        select HAVE_S3C2410_WATCHDOG if WATCHDOG
        select HAVE_S3C_RTC if RTC_CLASS
        select NEED_MACH_GPIO_H
        select NEED_MACH_MEMORY_H
 +      select SAMSUNG_ATAGS
        help
          Samsung S5PV210/S5PC110 series based systems
  
@@@ -797,9 -785,7 +797,9 @@@ config ARCH_EXYNO
        bool "Samsung EXYNOS"
        select ARCH_HAS_CPUFREQ
        select ARCH_HAS_HOLES_MEMORYMODEL
 +      select ARCH_REQUIRE_GPIOLIB
        select ARCH_SPARSEMEM_ENABLE
 +      select ARM_GIC
        select CLKDEV_LOOKUP
        select COMMON_CLK
        select CPU_V7
        select HAVE_S3C2410_I2C if I2C
        select HAVE_S3C2410_WATCHDOG if WATCHDOG
        select HAVE_S3C_RTC if RTC_CLASS
 -      select NEED_MACH_GPIO_H
        select NEED_MACH_MEMORY_H
 +      select SPARSE_IRQ
 +      select USE_OF
        help
          Support for SAMSUNG's EXYNOS SoCs (EXYNOS4/5)
  
@@@ -828,6 -813,23 +828,6 @@@ config ARCH_SHAR
          Support for the StrongARM based Digital DNARD machine, also known
          as "Shark" (<http://www.shark-linux.de/shark.html>).
  
 -config ARCH_U300
 -      bool "ST-Ericsson U300 Series"
 -      depends on MMU
 -      select ARCH_REQUIRE_GPIOLIB
 -      select ARM_AMBA
 -      select ARM_PATCH_PHYS_VIRT
 -      select ARM_VIC
 -      select CLKDEV_LOOKUP
 -      select CLKSRC_MMIO
 -      select COMMON_CLK
 -      select CPU_ARM926T
 -      select GENERIC_CLOCKEVENTS
 -      select HAVE_TCM
 -      select SPARSE_IRQ
 -      help
 -        Support for ST-Ericsson U300 series mobile platforms.
 -
  config ARCH_DAVINCI
        bool "TI DaVinci"
        select ARCH_HAS_HOLES_MEMORYMODEL
        select GENERIC_IRQ_CHIP
        select HAVE_IDE
        select NEED_MACH_GPIO_H
 +      select TI_PRIV_EDMA
        select USE_OF
        select ZONE_DMA
        help
@@@ -947,8 -948,6 +947,8 @@@ source "arch/arm/mach-iop13xx/Kconfig
  
  source "arch/arm/mach-ixp4xx/Kconfig"
  
 +source "arch/arm/mach-keystone/Kconfig"
 +
  source "arch/arm/mach-kirkwood/Kconfig"
  
  source "arch/arm/mach-ks8695/Kconfig"
@@@ -982,8 -981,6 +982,8 @@@ source "arch/arm/mach-mmp/Kconfig
  
  source "arch/arm/mach-realview/Kconfig"
  
 +source "arch/arm/mach-rockchip/Kconfig"
 +
  source "arch/arm/mach-sa1100/Kconfig"
  
  source "arch/arm/plat-samsung/Kconfig"
@@@ -1563,7 -1560,6 +1563,7 @@@ config ARCH_NR_GPI
        int
        default 1024 if ARCH_SHMOBILE || ARCH_TEGRA
        default 512 if SOC_OMAP5
 +      default 512 if ARCH_KEYSTONE
        default 392 if ARCH_U8500
        default 352 if ARCH_VT8500
        default 288 if ARCH_SUNXI
@@@ -1589,7 -1585,7 +1589,7 @@@ config SCHED_HRTIC
  
  config THUMB2_KERNEL
        bool "Compile the kernel in Thumb-2 mode" if !CPU_THUMBONLY
 -      depends on CPU_V7 && !CPU_V6 && !CPU_V6K
 +      depends on (CPU_V7 || CPU_V7M) && !CPU_V6 && !CPU_V6K
        default y if CPU_THUMBONLY
        select AEABI
        select ARM_ASM_UNIFIED
@@@ -2044,7 -2040,7 +2044,7 @@@ config CRASH_DUM
  
  config AUTO_ZRELADDR
        bool "Auto calculation of the decompressed kernel image address"
 -      depends on !ZBOOT_ROM && !ARCH_U300
 +      depends on !ZBOOT_ROM
        help
          ZRELADDR is the physical address where the decompressed kernel
          image will be placed. If AUTO_ZRELADDR is selected, the address
index 757c4e97375ffc2aebb9ed3ee2782d8ab7ac9c0c,69a31bc07302fce795cddd0293b690ab37089f74..65e1547678b07ec08f6ffc43c2187fd3fc2855cb
@@@ -36,13 -36,11 +36,13 @@@ config ARCH_R8A774
        select RENESAS_INTC_IRQPIN
  
  config ARCH_R8A7778
 -      bool "R-Car M1 (R8A77780)"
 +      bool "R-Car M1A (R8A77781)"
        select ARCH_WANT_OPTIONAL_GPIOLIB
        select CPU_V7
        select SH_CLK_CPG
        select ARM_GIC
 +      select USB_ARCH_HAS_EHCI
 +      select USB_ARCH_HAS_OHCI
  
  config ARCH_R8A7779
        bool "R-Car H1 (R8A77790)"
@@@ -71,27 -69,6 +71,6 @@@ config ARCH_EMEV
  
  comment "SH-Mobile Board Type"
  
- config MACH_AP4EVB
-       bool "AP4EVB board"
-       depends on ARCH_SH7372
-       select ARCH_REQUIRE_GPIOLIB
-       select REGULATOR_FIXED_VOLTAGE if REGULATOR
-       select SH_LCD_MIPI_DSI
-       select SND_SOC_AK4642 if SND_SIMPLE_CARD
- choice
-       prompt "AP4EVB LCD panel selection"
-       default AP4EVB_QHD
-       depends on MACH_AP4EVB
- config AP4EVB_QHD
-       bool "MIPI-DSI QHD (960x540)"
- config AP4EVB_WVGA
-       bool "Parallel WVGA (800x480)"
- endchoice
  config MACH_AG5EVM
        bool "AG5EVM board"
        depends on ARCH_SH73A0
@@@ -118,12 -95,6 +97,6 @@@ config MACH_KOTA
        select ARCH_REQUIRE_GPIOLIB
        select REGULATOR_FIXED_VOLTAGE if REGULATOR
  
- config MACH_BONITO
-       bool "bonito board"
-       depends on ARCH_R8A7740
-       select ARCH_REQUIRE_GPIOLIB
-       select REGULATOR_FIXED_VOLTAGE if REGULATOR
  config MACH_ARMADILLO800EVA
        bool "Armadillo-800 EVA board"
        depends on ARCH_R8A7740
@@@ -172,8 -143,6 +145,8 @@@ config MACH_KZM9
  config MACH_KZM9G
        bool "KZM-A9-GT board"
        depends on ARCH_SH73A0
 +      select ARCH_HAS_CPUFREQ
 +      select ARCH_HAS_OPP
        select ARCH_REQUIRE_GPIOLIB
        select REGULATOR_FIXED_VOLTAGE if REGULATOR
        select SND_SOC_AK4642 if SND_SIMPLE_CARD
@@@ -199,37 -168,6 +172,6 @@@ config CPU_HAS_INTEV
          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
This page took 0.082117 seconds and 4 git commands to generate.