Files
u-boot/drivers
Mario Six d9a356972b cfi_flash: Always define cfi_flash_num_flash_banks
The variable cfi_flash_num_flash_banks is defined iff
CONFIG_SYS_MAX_FLASH_BANKS_DETECT is defined, but it is used
unconditionally in the function cfi_flash_init_dm. This leads to a
undefined variable compile error when CONFIG_SYS_MAX_FLASH_BANKS_DETECT
is not defined, but DM is enabled.

Fix this by always defining the cfi_flash_num_flash_banks variable.

Signed-off-by: Mario Six <mario.six@gdsys.cc>
Signed-off-by: Stefan Roese <sr@denx.de>
2018-01-29 07:48:59 +01:00
..
2018-01-22 23:09:14 +01:00
2018-01-28 17:12:36 +01:00
2018-01-26 12:38:13 +01:00
2018-01-26 20:02:33 +05:30
2018-01-28 12:27:32 -05:00
2018-01-16 06:59:39 +01:00
2018-01-28 12:27:32 -05:00
2017-11-06 09:51:01 -05:00
2018-01-26 12:38:13 +01:00
2017-11-20 09:58:31 +01:00
2017-06-01 07:03:10 -06:00
2018-01-26 07:46:34 -05:00