Patrick Delaunay 98150e7e8c mtd: cfi: introduce CFI_FLASH_BANKS
Replace CONFIG_SYS_MAX_FLASH_BANKS by CFI_FLASH_BANKS to prepare
Kconfig migration and avoid to redefine CONFIG_SYS_MAX_FLASH_BANKS
in cfi_flash.h.

After this patch CONFIG_SYS_MAX_FLASH_BANKS should be never used in
the cfi code: use CFI_MAX_FLASH_BANKS for struct size or CFI_FLASH_BANKS
for number of CFI banks which can be dynamic.

This patch modify all the files which include mtd/cfi_flash.h.

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Stefan Roese <sr@denx.de>
2022-01-21 14:01:35 -05:00
..
2020-05-18 18:36:55 -04:00
2017-02-08 15:56:28 -05:00
2022-01-19 18:11:34 +01:00
2022-01-14 13:16:11 -05:00
2021-12-23 10:24:40 -05:00
2021-08-26 08:08:11 +02:00
2022-01-21 14:01:35 -05:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-12-18 20:32:21 -07:00
2022-01-19 18:11:34 +01:00
2022-01-19 18:11:34 +01:00
2020-05-18 18:36:55 -04:00
2022-01-15 10:57:22 +01:00
2021-11-16 14:35:09 -05:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-10-23 13:33:07 -04:00
2022-01-21 14:01:35 -05:00
2020-05-18 18:36:55 -04:00
2022-01-19 18:11:34 +01:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2021-12-05 09:23:15 -07:00
2021-08-30 14:10:07 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2022-01-19 18:11:34 +01:00
2022-01-18 08:31:02 -05:00
2020-05-18 18:36:55 -04:00
2021-11-28 16:51:51 -07:00
2022-01-19 18:11:34 +01:00
2020-10-28 11:49:31 -04:00
2020-05-18 18:36:55 -04:00
2020-07-08 17:21:46 -04:00
2022-01-15 10:57:22 +01:00
2022-01-19 18:11:34 +01:00
2022-01-19 18:11:34 +01:00
2020-05-18 18:36:55 -04:00
2020-12-18 20:32:21 -07:00
2020-05-18 18:36:55 -04:00
2022-01-19 18:11:34 +01:00
2022-01-19 18:11:34 +01:00
2021-09-24 14:30:46 -04:00
2020-08-07 22:31:32 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 18:36:55 -04:00
2021-10-21 07:39:05 +02:00
2022-01-19 18:11:34 +01:00
2021-10-09 13:09:56 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00