Re: [PATCH v1 2/5] mtd: cfi: introduce CFI_FLASH_BANKS

2022-01-21 Thread Tom Rini
On Tue, Jan 04, 2022 at 02:23:58PM +0100, Patrick Delaunay wrote: > 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

Re: [PATCH v1 2/5] mtd: cfi: introduce CFI_FLASH_BANKS

2022-01-05 Thread Stefan Roese
On 1/4/22 14:23, Patrick Delaunay wrote: 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 f

[PATCH v1 2/5] mtd: cfi: introduce CFI_FLASH_BANKS

2022-01-04 Thread Patrick Delaunay
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 numbe