[U-Boot] [PATCH v2] ppc4xx: Update flash size in reg property of the NOR flash node

Wolfgang Denk wd at denx.de
Tue Oct 20 23:12:47 CEST 2009


Dear Stefan Roese,

In message <1256048896-10508-1-git-send-email-sr at denx.de> you wrote:
> Till now only the ranges in the ebc node are updated with the values
> currently configured in the PPC4xx EBC controller. With this patch now
> the NOR flash size is updated in the device tree blob as well. This is
> done by scanning the compatible nodes "cfi-flash" and "jedec-flash"
> for the correct chip select number.
> 
> Signed-off-by: Stefan Roese <sr at denx.de>
> Cc: Wolfgang Denk <wd at denx.de>
> ---
> Changes in v2:
> - NOR flash nodes are now scanned/detected via the compatible node.

Thanks.

Hm... thinking about it, this problem most probably affects other
(non-4xx boards as well). I guess there is no easy way to generalize
this code enough tomake it usable by other (or even all?) boards as
well?


Thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Philosophy is a game with objectives and no rules.
Mathematics is a game with rules and no objectives.


More information about the U-Boot mailing list