u-boot/board/esd
Stefan Roese ca5def3f30 cfi_flash: Simplify dynamic flash bank number detection
This patch simplifies the use of CONFIG_SYS_MAX_FLASH_BANKS_DETECT. By
moving these optional variables and defines into the common code, board
specific code is minimized. Currently only the following board use
this feature:

APC405, IDS8247, TQM834x

And IDS8247 doesn't seem to really need this feature, since its not
updating the bank number variable at all. So this patch removes the
definition of CONFIG_SYS_MAX_FLASH_BANKS_DETECT from this board port.

This new framework will be used by the upcoming lwmon5 update as well.

Signed-off-by: Stefan Roese <sr@denx.de>
Acked-by: Heiko Schocher <hs@denx.de>
Cc: Matthias Fuchs <matthias.fuchs@esd.eu>
2010-09-20 15:08:51 +02:00
..
adciop Rename getenv_r() into getenv_f() 2010-08-04 00:45:36 +02:00
apc405 cfi_flash: Simplify dynamic flash bank number detection 2010-09-20 15:08:51 +02:00
ar405 ppc4xx: Fix building of AR405 board 2010-08-09 16:04:59 +02:00
ash405 Rename getenv_r() into getenv_f() 2010-08-04 00:45:36 +02:00
canbt ppc4xx: Fix building of CANBT board 2010-08-09 16:05:03 +02:00
cms700 Rename getenv_r() into getenv_f() 2010-08-04 00:45:36 +02:00
common cmd_usage(): simplify return code handling 2010-07-24 20:43:57 +02:00
cpci2dp Rename getenv_r() into getenv_f() 2010-08-04 00:45:36 +02:00
cpci405 Rename getenv_r() into getenv_f() 2010-08-04 00:45:36 +02:00
cpci750 Rename getenv_r() into getenv_f() 2010-08-04 00:45:36 +02:00
cpci5200 Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
cpciiser4 Rename getenv_r() into getenv_f() 2010-08-04 00:45:36 +02:00
dasa_sim Rename getenv_r() into getenv_f() 2010-08-04 00:45:36 +02:00
dp405 Rename getenv_r() into getenv_f() 2010-08-04 00:45:36 +02:00
du405 Rename getenv_r() into getenv_f() 2010-08-04 00:45:36 +02:00
du440 Rename getenv_r() into getenv_f() 2010-08-04 00:45:36 +02:00
hh405 Rename getenv_r() into getenv_f() 2010-08-04 00:45:36 +02:00
hub405 Rename getenv_r() into getenv_f() 2010-08-04 00:45:36 +02:00
mecp5123 5xxx, fdt: move fdt_fixup_memory() to cpu.c file 2009-12-08 22:13:02 +01:00
mecp5200 mpc5xxx: Remove all references to MGT5100 2010-03-21 22:44:42 +01:00
meesc at91: Enabeling USB host on meesc board 2010-08-20 16:17:52 +02:00
ocrtc Rename getenv_r() into getenv_f() 2010-08-04 00:45:36 +02:00
otc570 Rename getenv_r() into getenv_f() 2010-08-04 00:45:36 +02:00
pci405 Rename getenv_r() into getenv_f() 2010-08-04 00:45:36 +02:00
pf5200 Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
plu405 Rename getenv_r() into getenv_f() 2010-08-04 00:45:36 +02:00
pmc405 Rename getenv_r() into getenv_f() 2010-08-04 00:45:36 +02:00
pmc405de Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
pmc440 ppc4xx: Fix building of PMC440 board 2010-08-09 16:05:07 +02:00
tasreg Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
vme8349 83xx/85xx/86xx: LBC register cleanup 2010-07-16 10:55:09 -05:00
voh405 Rename getenv_r() into getenv_f() 2010-08-04 00:45:36 +02:00
vom405 Rename getenv_r() into getenv_f() 2010-08-04 00:45:36 +02:00
wuh405 Rename getenv_r() into getenv_f() 2010-08-04 00:45:36 +02:00