RE: [PATCH] powerpc/85xx: allow CONFIG_PHYS_64BIT to be selectable
From: Huang Changming-R66093 <hidden>
Date: 2012-02-23 06:25:52
I have one similar patch to remove the "select PHYS_64BIT". http://patchwork.ozlabs.org/patch/132351/ Thanks Jerry Huang
quoted hunk ↗ jump to hunk
-----Original Message----- From: linuxppc-dev-bounces+r66093=3Dfreescale.com@lists.ozlabs.org [mailto:linuxppc-dev-bounces+r66093=3Dfreescale.com@lists.ozlabs.org] On Behalf Of Timur Tabi Sent: Wednesday, February 22, 2012 3:53 AM To: galak@kernel.crashing.org; benh@kernel.crashing.org; Wood Scott- B07421; Li Yang-R58472; linuxppc-dev@ozlabs.org Subject: [PATCH] powerpc/85xx: allow CONFIG_PHYS_64BIT to be selectable =20 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. =20 The option is enabled in mpc85xx_[smp_]defconfig so that the default is unchanged. However, now it can be deselected. =20 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 <=3D 2GB of RAM. =20 Signed-off-by: Timur Tabi <redacted> --- arch/powerpc/configs/mpc85xx_defconfig | 1 + arch/powerpc/configs/mpc85xx_smp_defconfig | 1 + arch/powerpc/platforms/85xx/Kconfig | 1 - 3 files changed, 2 insertions(+), 1 deletions(-) =20diff --git a/arch/powerpc/configs/mpc85xx_defconfigb/arch/powerpc/configs/mpc85xx_defconfig index f37a2ab..5fb0c8a 100644--- a/arch/powerpc/configs/mpc85xx_defconfig +++ b/arch/powerpc/configs/mpc85xx_defconfig@@ -1,4 +1,5 @@ CONFIG_PPC_85xx=3Dy +CONFIG_PHYS_64BIT=3Dy CONFIG_EXPERIMENTAL=3Dy CONFIG_SYSVIPC=3Dy CONFIG_POSIX_MQUEUE=3Dydiff --git a/arch/powerpc/configs/mpc85xx_smp_defconfigb/arch/powerpc/configs/mpc85xx_smp_defconfig index abdcd31..fb51bc9 100644--- a/arch/powerpc/configs/mpc85xx_smp_defconfig +++ b/arch/powerpc/configs/mpc85xx_smp_defconfig@@ -1,4 +1,5 @@ CONFIG_PPC_85xx=3Dy +CONFIG_PHYS_64BIT=3Dy CONFIG_SMP=3Dy CONFIG_NR_CPUS=3D8 CONFIG_EXPERIMENTAL=3Dydiff --git a/arch/powerpc/platforms/85xx/Kconfigb/arch/powerpc/platforms/85xx/Kconfig index d7946be..93d27e2 100644--- a/arch/powerpc/platforms/85xx/Kconfig +++ b/arch/powerpc/platforms/85xx/Kconfig@@ -80,7 +80,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 referenceboard. -- 1.7.3.4 =20 =20 _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev