From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Wed, 22 Sep 2010 10:30:05 +0200 Subject: [U-Boot] [PATCH v3] ppc4xx/fdt/flash: Change fdt_fixup_nor_flash_node() to not rely on cs size In-Reply-To: <1285083088-13049-1-git-send-email-sr@denx.de> References: <1285083088-13049-1-git-send-email-sr@denx.de> Message-ID: <201009221030.05661.sr@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 On Tuesday 21 September 2010 17:31:28 Stefan Roese wrote: > This patch changes the behaviour of the fdt_fixup_nor_flash_node() > function. Now it doesn't patch the size of the "reg" property with the > chip-select size, but with the size returned from the new function > flash_get_bank_size(). This function will return per weak default the > flash size of the bank (bank = chip-select numer) detected by the flash > driver. If this does not fit your needs, this function may be overridden > by a board specific one. > > For this the parameters needed to be changed. So I intentionally squashed > the PPC4xx stuff using this routine into this patch. Otherwise it would > not be git-bisectable anymore. > > The board specific function for the AMCC/APM Ebony eval board is now > included in this patch version. Applied to u-boot-ppc4xx/master. Thanks. Cheers, Stefan -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de