From: Wolfgang Denk Date: Tue, 20 Oct 2009 23:12:47 +0200 Subject: [U-Boot] [PATCH v2] ppc4xx: Update flash size in reg property of the NOR flash node In-Reply-To: <1256048896-10508-1-git-send-email-sr@denx.de> References: <1256048896-10508-1-git-send-email-sr@denx.de> Message-ID: <20091020211247.DBCB91A00B@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Stefan Roese, In message <1256048896-10508-1-git-send-email-sr@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 > Cc: Wolfgang Denk > --- > 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.