powerpc/85xx: allow CONFIG_PHYS_64BIT to be selectable
authorTimur Tabi <timur@freescale.com>
Tue, 21 Feb 2012 19:53:15 +0000 (13:53 -0600)
committerKumar Gala <galak@kernel.crashing.org>
Fri, 16 Mar 2012 19:57:03 +0000 (14:57 -0500)
Remove the "select PHYS_64BIT" from the Kconfig entry for the P1022DS,
so that large physical address support is a selectable option for non-CoreNet
reference boards.

The option is enabled in mpc85xx_[smp_]defconfig so that the default is
unchanged.  However, now it can be deselected.

The P1022DS had this option defined because the default device tree for
this board uses 36-bit addresses.  This had the side-effect of forcing
this option on for all boards that use mpc85xx_[smp_]defconfig.  Some
users may want to disable this feature to create an optimized configuration
for boards with <= 2GB of RAM.

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/configs/mpc85xx_defconfig
arch/powerpc/configs/mpc85xx_smp_defconfig
arch/powerpc/platforms/85xx/Kconfig

index f37a2ab48881738fa7e6c9e4c92f1d5f3dd00e82..5fb0c8a948112478ed410271a626ca3c80de2388 100644 (file)
@@ -1,4 +1,5 @@
 CONFIG_PPC_85xx=y
+CONFIG_PHYS_64BIT=y
 CONFIG_EXPERIMENTAL=y
 CONFIG_SYSVIPC=y
 CONFIG_POSIX_MQUEUE=y
index abdcd317cda733c07d2485c9375ebba9cb993610..fb51bc90edd267bcd2270d347f6774b12d548716 100644 (file)
@@ -1,4 +1,5 @@
 CONFIG_PPC_85xx=y
+CONFIG_PHYS_64BIT=y
 CONFIG_SMP=y
 CONFIG_NR_CPUS=8
 CONFIG_EXPERIMENTAL=y
index fd6f3c06a0dc5e87b33d333caa432f2d47e14669..ce6142cd04a10cea5db7c35b4758377bfc8f5623 100644 (file)
@@ -90,7 +90,6 @@ config P1010_RDB
 config P1022_DS
        bool "Freescale P1022 DS"
        select DEFAULT_UIMAGE
-       select PHYS_64BIT       # The DTS has 36-bit addresses
        select SWIOTLB
        help
          This option enables support for the Freescale P1022DS reference board.