[PATCH] powerpc/85xx: do not force PHYS_64BIT on Freescale reference boards

Kumar Gala kumar.gala at freescale.com
Fri Nov 4 05:58:57 EST 2011


On Nov 3, 2011, at 1:50 PM, Timur Tabi wrote:

> Kconfig option PHYS_64BIT sets the size of phys_addr_t to 64 bits, which
> allows support for a 36-bit physical address space.  With this option, the
> kernel can support more than 2GB of RAM, but the larger address size
> impacts performance slightly.
> 
> By including "select PHYS_64BIT" in the Kconfig for a particular board,
> that option is forced enabled, and it becomes impossible to create a 32-bit
> kernel.  Instead, we should depend on the defconfig to enable this option.
> We still build a 36-bit kernel by default, and we also allow users to build
> 32-bit kernels if they really want.
> 
> Signed-off-by: Timur Tabi <timur at freescale.com>
> ---
> arch/powerpc/configs/corenet32_smp_defconfig |    1 +
> arch/powerpc/platforms/85xx/Kconfig          |    5 -----
> 2 files changed, 1 insertions(+), 5 deletions(-)

Nak.  For certain boards like P204x-P50xx we only support a 36-bit address map.

- k


More information about the Linuxppc-dev mailing list