[U-Boot] [PATCH] powerpc/85xx: verify the localbus device tree address before booting the OS

Kumar Gala kumar.gala at freescale.com
Tue Nov 29 16:07:09 CET 2011


On Nov 16, 2011, at 1:28 PM, Timur Tabi wrote:

> The localbus controller node in the device tree is typically a root node,
> even though the controller is part of CCSR.  If we were to put the lbc
> node under the SOC node, then the 'ranges' property in the lbc node would
> translate through the 'ranges' property of the parent SOC node, and we
> don't want that.
> 
> Since the lbc is a separate node, it's possible for the 'reg' property to
> be wrong.  This happened with the original version of p1022ds.dts, which
> used a 32-bit value in the 'reg' address, instead of a 36-bit address.
> 
> Signed-off-by: Timur Tabi <timur at freescale.com>
> ---
> arch/powerpc/cpu/mpc85xx/fdt.c |   48 ++++++++++++++++++++++++++++++++-------
> 1 files changed, 39 insertions(+), 9 deletions(-)

applied to 85xx

- k


More information about the U-Boot mailing list