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
2008-10-18 21:54:03 +02: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-09-21 21:39:31 +02:00
2010-08-12 16:40:00 +02:00
2008-10-18 21:54:03 +02:00
2010-08-08 05:17:05 +05:30
2010-09-03 11:14:13 +02:00
2010-08-09 16:04:59 +02:00
2010-02-12 12:31:54 -06:00
2010-02-12 12:31:54 -06:00
2008-10-18 21:54:03 +02:00
2010-09-03 15:13:02 +02:00
2010-09-03 15:13:02 +02:00
2010-09-03 15:13:02 +02:00
2010-09-03 15:13:02 +02:00
2010-09-03 15:13:02 +02:00
2010-09-21 21:39:31 +02:00
2010-09-21 21:39:31 +02:00
2010-09-21 21:39:31 +02:00
2008-10-18 21:54:03 +02:00
2010-08-09 16:05:03 +02:00
2010-09-23 08:32:02 +02:00
2010-02-12 12:31:54 -06:00
2010-09-10 00:16:19 +02:00
2008-10-18 21:54:03 +02:00
2010-08-20 16:42:02 +02:00
2010-02-12 12:31:54 -06:00
2008-10-18 21:54:03 +02:00
2009-03-20 22:39:14 +01:00
2010-02-12 12:36:04 -06:00
2008-10-18 21:54:03 +02:00
2010-02-12 12:31:54 -06:00
2010-05-06 00:20:04 +02:00
2009-03-20 22:39:14 +01:00
2008-10-18 21:54:03 +02:00
2009-07-11 09:02:21 +09:00
2008-10-18 21:54:03 +02:00
2008-10-18 21:54:03 +02:00
2009-04-05 13:06:31 +02: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-04-21 23:42:38 +02:00
2009-12-13 21:31:26 -08:00
2008-10-18 21:54:03 +02:00
2004-07-01 16:30:44 +00:00
2010-09-03 15:13:02 +02:00
2010-09-21 21:39:31 +02:00
2010-09-21 21:39:31 +02:00
2008-10-18 21:54:03 +02:00
2010-09-21 21:39:31 +02:00
2010-09-21 21:39:31 +02:00
2008-10-18 21:54:03 +02:00
2009-03-20 22:39:14 +01:00
2010-09-21 21:39:31 +02:00
2009-06-23 00:10:04 +02:00
2008-10-18 21:54:03 +02:00
2010-09-21 21:39:31 +02:00
2010-09-21 21:39:31 +02:00
2010-02-12 12:31:54 -06:00
2010-09-21 21:39:31 +02:00
2010-09-21 21:39:31 +02:00
2010-09-10 00:16:19 +02:00
2008-10-18 21:54:03 +02:00
2009-03-20 22:39:14 +01:00
2010-04-21 23:42:38 +02:00
2008-10-18 21:54:03 +02:00
2010-09-21 21:39:31 +02:00
2010-02-12 12:31:54 -06:00
2010-09-21 21:39:31 +02:00
2008-10-18 21:54:03 +02:00
2009-10-19 09:18:57 +02:00
2010-09-21 21:39:31 +02:00
2010-09-21 21:39:31 +02:00
2009-03-20 22:39:14 +01:00
2010-09-03 15:13:02 +02:00
2010-09-21 21:39:31 +02:00
2009-03-20 22:39:14 +01:00
2008-10-18 21:54:03 +02:00
2010-02-12 12:31:54 -06:00
2010-09-21 21:39:31 +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
2010-08-08 05:17:05 +05:30
2008-10-18 21:54:03 +02:00
2009-12-14 21:31:17 +01:00
2010-05-05 09:48:41 +02:00
2009-03-20 22:39:14 +01:00
2010-03-07 12:36:35 -06:00
2010-09-21 21:39:31 +02:00
2009-08-25 12:57:54 +02:00
2009-12-13 21:31:26 -08:00
2010-06-06 08:36:28 -05:00
2010-04-30 05:23:22 -05:00
2010-04-30 05:23:26 -05:00
2010-07-16 10:55:09 -05:00
2010-07-16 10:55:09 -05:00
2010-09-21 21:39:31 +02:00
2008-10-18 21:54:03 +02:00
2009-07-22 09:43:27 +02:00
2008-10-18 21:54:03 +02:00
2010-04-21 23:42:38 +02:00
2008-10-18 21:54:03 +02:00
2010-08-08 05:17:05 +05:30
2010-08-08 05:17:05 +05:30
2009-03-20 22:39:14 +01:00
2010-09-21 21:39:31 +02: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
2008-10-18 21:54:03 +02:00
2009-11-27 16:26:13 -06:00
2010-07-16 10:55:09 -05:00
2010-07-16 10:55:09 -05:00
2010-08-09 16:05:18 +02:00
2008-10-18 21:54:03 +02:00
2010-09-21 21:39:31 +02:00
2009-11-27 16:26:13 -06:00
2009-11-27 16:26:13 -06: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
2009-04-29 21:39:46 +02:00
2010-09-21 21:39:31 +02:00
2008-10-18 21:54:03 +02:00
2010-09-21 21:39:31 +02:00
2009-11-27 16:26:13 -06:00
2010-03-07 12:36:36 -06:00
2008-10-18 21:54:03 +02:00
2008-10-18 21:54:03 +02:00
2009-03-20 22:39:14 +01:00
2009-11-27 16:26:13 -06:00
2010-08-09 01:15:22 +02: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
2010-09-21 21:39:31 +02:00
2008-10-18 21:54:03 +02:00
2010-09-21 21:39:31 +02:00
2010-07-14 23:27:49 +02:00