1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-12-31 17:27:12 +01:00
Files
u-boot-megous/include
Patrick Delaunay b218f865e8 mtd: cfi_flash: use cfi_flash_num_flash_banks only when supported
When CONFIG_SYS_MAX_FLASH_BANKS_DETECT is activated,
CONFIG_SYS_MAX_FLASH_BANKS is replaced by cfi_flash_num_flash_banks,
but this variable is defined in drivers/mtd/cfi_flash.c, which is
compiled only when CONFIG_FLASH_CFI_DRIVER is activated, in U-Boot
or in SPL when CONFIG_SPL_MTD_SUPPORT is activated.

This patch deactivates this feature CONFIG_SYS_MAX_FLASH_BANKS_DETECT
when flash cfi driver is not activated to avoid compilation issue in
the next patch, when CONFIG_SYS_MAX_FLASH_BANKS is used in spi_nor_scan().

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
2021-09-28 08:35:19 -04:00
..
2021-06-17 09:40:57 +08:00
2019-12-06 16:44:20 -05:00
2021-07-23 13:36:20 -04:00
2021-09-13 18:23:13 -04:00
2020-05-11 10:16:49 +05:30
2021-01-15 14:36:12 -05:00
2021-01-25 21:52:00 +00:00
2021-01-25 21:52:00 +00:00
2021-07-21 10:27:35 -06:00
2020-05-18 17:33:33 -04:00
2021-01-12 10:58:04 +05:30
2020-12-26 12:37:28 +01:00
2021-07-23 13:36:20 -04:00
2021-01-30 14:25:42 -07:00
2021-06-18 10:09:41 +02:00
2019-04-23 20:26:43 -06:00
2020-02-05 19:33:46 -07:00
2019-10-13 23:34:43 +02:00
2020-05-07 09:01:42 -04:00
2020-08-03 22:19:54 -04:00
2020-05-18 21:19:23 -04:00
2021-04-16 17:32:34 -04:00
2021-07-07 19:52:22 -04:00
2021-04-10 08:04:42 -04:00
2021-02-10 10:00:51 +01:00
2020-10-30 10:56:11 -04:00
2020-05-18 17:33:33 -04:00
2020-06-12 13:14:07 -04:00
2021-08-22 10:52:53 +02:00
2019-10-14 09:31:41 +02:00
2020-01-20 15:38:16 +01:00
2021-08-06 08:26:48 -04:00
2019-11-07 18:39:16 -05:00
2020-05-18 18:36:55 -04:00
2019-08-11 16:43:41 -04:00
2020-04-17 12:32:36 -04:00
2021-06-07 10:48:40 -04:00
2019-12-02 18:23:11 -05:00
2021-06-23 08:45:03 -04:00
2021-07-07 19:52:24 -04:00
2021-06-24 11:54:07 +05:30
2020-07-17 10:47:19 -04:00
2021-09-13 18:23:13 -04:00
2021-07-06 05:22:41 +03:00
2021-07-07 19:52:24 -04:00
2021-04-12 17:44:55 -04:00
2020-06-14 21:07:20 +02:00
2020-02-05 19:33:46 -07:00
2020-06-14 21:07:20 +02:00
2020-07-09 06:02:44 +02:00
2020-09-30 11:55:23 -04:00
2020-02-05 19:33:46 -07:00
2021-03-27 15:04:31 +13:00
2021-01-05 16:20:26 -05:00
2019-05-21 17:33:23 -06:00
2020-10-22 09:54:53 -04:00
2020-08-03 22:19:54 -04:00
2021-01-27 17:03:16 -05:00
2020-08-03 22:19:54 -04:00
2021-01-15 14:36:12 -05:00