[PATCH] [POWERPC] Uniformly use memstart_addr variable as the start address of physical memory in powerpc branch

Kumar Gala galak at kernel.crashing.org
Wed May 21 13:11:10 EST 2008


On May 20, 2008, at 8:38 PM, Andrew Liu wrote:

> [POWERPC]: Uniformly use memstart_addr as the start address of RAM
>
> The variable: memstart_addr whose initial value is got from dts file
> is used as the start address of physical memory in PowerPC ARCH,
> although it is used in functions: mapin_ram(pgtable_32.c) and
> cam_mapin_ram(fsl_booke_mmu.c), however, in function: mmu_mapin_ram
> (ppc_mmu_32.c), use 0 as the start address of physical memory, so
> it is necessary to unify them: in mmu_mapin_ram, use memstart_addr
> as the start address of physical memory, instead of 0.
>
> Signed-off-by: Andrew Liu <shengping.liu at windriver.com>
> ---

Do you have a case where this is non-zero for ppc_mmu_32?  I left  
these alone because I wasn't aware of one (or if its reasonable).

- k




More information about the Linuxppc-dev mailing list