u-boot-brain/arch/powerpc/cpu
Stefan Roese 8a805df136 ppc4xx/fdt/flash: Change fdt_fixup_nor_flash_node() to not rely on cs size
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.

Signed-off-by: Stefan Roese <sr@denx.de>
Tested-by: Detlev Zundel <dzu@denx.de>
Cc: Gerald Van Baren <vanbaren@cideas.com>
Cc: Wolfgang Denk <wd@denx.de>
2010-09-23 08:49:49 +02:00
..
74xx_7xx Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
mpc5xx Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
mpc5xxx Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
mpc8xx POST cleanup. 2010-09-21 21:39:31 +02:00
mpc8xxx Fix parameters to support RDIMM for P2020DS 2010-08-31 11:23:04 -05:00
mpc83xx cmd_usage(): simplify return code handling 2010-07-24 20:43:57 +02:00
mpc85xx POST cleanup. 2010-09-21 21:39:31 +02:00
mpc86xx 83xx/85xx/86xx: LBC register cleanup 2010-07-16 10:55:09 -05:00
mpc512x POST cleanup. 2010-09-21 21:39:31 +02:00
mpc824x Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
mpc8220 miiphy: constify device name 2010-08-09 11:52:29 -07:00
mpc8260 POST cleanup. 2010-09-21 21:39:31 +02:00
ppc4xx ppc4xx/fdt/flash: Change fdt_fixup_nor_flash_node() to not rely on cs size 2010-09-23 08:49:49 +02:00