[PATCH] powerpc/85xx: allow CONFIG_PHYS_64BIT to be selectable

Huang Changming-R66093 r66093 at freescale.com
Fri Feb 24 14:24:22 EST 2012


> 
> Li Yang-R58472 wrote:
> 
> > Even though the user still need to know the addressing mode that
> > u-boot is using.  It won't work if the addressing mode of u-boot and
> > device tree are different.
> 
> U-Boot will tell the user if the DT does not match.  I added code to U-
> Boot to do that.  So if you have a 36-bit U-Boot and a 32-bit DT, then
> you will get a warning.  If you have a 36-bit U-boot and a 36-bit DT and
> a 32-bit kernel, you will get nothing.  But if you have a 32-bit U-boot
> and a 32-bit DT and a 36-bit kernel, then that will work.  A 36-bit
> kernel works with 32-bit *and* 36-bit DTs.  This is why a 36-bit kernel
> should be the default.
> 
> --
Hi, Timur
I want to know if you have the other codes for different address?

The current U-boot just detect the base address of DTS and the CCSR address.
If they are different, u-boot will print the warning and return 0,
so the kernel can't been booted.


Jerry.



More information about the Linuxppc-dev mailing list