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
..
2008-10-18 21:54:03 +02:00
2010-04-13 09:13:04 +02:00
2010-04-13 09:13:04 +02:00
2009-08-09 23:15:33 +02:00
2009-10-03 10:17:56 +02:00
2008-12-15 22:05:36 +01:00
2009-03-20 22:39:13 +01:00
2009-10-03 10:17:56 +02:00
2010-01-27 21:23:14 +01:00
2008-05-21 00:14:08 +02:00
2008-10-18 21:54:03 +02:00
2008-05-10 11:44:55 +02:00
2008-05-21 00:14:08 +02:00
2008-05-21 00:14:08 +02:00
2010-09-21 21:39:31 +02:00
2010-07-17 20:47:08 +02:00
2009-10-27 20:58:25 +01:00
2008-10-18 21:54:03 +02:00
2009-01-24 00:23:09 +01:00
2008-05-21 00:14:08 +02:00
2009-09-04 21:54:52 +02:00
2008-10-18 21:54:03 +02:00
2010-07-24 20:54:46 +02:00
2008-03-26 23:38:54 +01:00
2009-10-03 10:17:56 +02:00
2009-07-16 22:23:53 +02:00
2008-10-18 21:54:03 +02:00
2009-10-13 06:17:35 -05:00
2010-07-14 22:41:39 +02:00
2008-10-18 21:54:03 +02:00
2010-01-21 22:26:00 +01:00
2009-04-03 23:47:06 +02:00
2010-08-09 11:52:29 -07:00
2008-10-18 21:54:03 +02:00
2008-10-18 21:54:03 +02:00
2008-10-18 21:54:03 +02:00
2010-07-16 10:55:09 -05:00
2008-10-18 21:54:03 +02:00
2008-10-18 21:54:03 +02:00
2008-05-21 00:14:08 +02:00
2008-05-21 00:14:08 +02:00
2010-03-21 22:44:42 +01:00
2008-05-21 00:14:08 +02:00
2008-05-21 00:14:08 +02:00
2008-05-21 00:14:08 +02:00
2008-05-21 00:14:08 +02:00
2010-04-21 23:42:38 +02:00
2008-10-18 21:54:03 +02:00
2009-11-13 16:56:18 -06:00
2009-04-03 23:47:06 +02:00
2008-05-21 00:14:08 +02:00
2010-03-12 23:06:04 +01:00
2008-10-18 21:54:03 +02:00
2010-09-21 21:39:31 +02:00
2008-10-18 21:54:03 +02:00
2008-05-21 00:14:08 +02:00
2008-05-21 00:14:08 +02:00
2008-05-21 00:14:08 +02:00
2008-05-21 00:14:08 +02:00
2009-10-03 10:17:56 +02:00
2009-10-03 10:17:56 +02:00
2008-05-21 00:14:08 +02:00
2010-01-31 22:34:34 -08:00
2009-01-28 19:57:27 +01:00
2010-08-12 16:40:00 +02:00
2008-05-21 00:14:08 +02:00
2008-05-21 00:14:08 +02:00
2009-10-03 10:17:56 +02:00
2008-10-18 21:54:03 +02:00
2010-05-28 10:56:04 -04:00