diff options
author | Tom Rini <trini@konsulko.com> | 2022-05-13 16:18:27 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-06-06 19:09:00 +0300 |
commit | 2f57139c211d193debddd25f45c02b738cefd871 (patch) | |
tree | bbdf215e6fab764f7827c227d3090a43c3cae9cf /drivers/mtd/cfi_flash.c | |
parent | d498c670541a010899b25f9653713a804575606e (diff) | |
download | u-boot-2f57139c211d193debddd25f45c02b738cefd871.tar.xz |
Convert CONFIG_SYS_FLASH_CFI_WIDTH to Kconfig
This converts the following to Kconfig:
CONFIG_SYS_FLASH_CFI_WIDTH
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/mtd/cfi_flash.c')
-rw-r--r-- | drivers/mtd/cfi_flash.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c index aae3ea0d1b..4950410706 100644 --- a/drivers/mtd/cfi_flash.c +++ b/drivers/mtd/cfi_flash.c @@ -68,13 +68,6 @@ static uint flash_verbose = 1; flash_info_t flash_info[CFI_MAX_FLASH_BANKS]; /* FLASH chips info */ -/* - * Check if chip width is defined. If not, start detecting with 8bit. - */ -#ifndef CONFIG_SYS_FLASH_CFI_WIDTH -#define CONFIG_SYS_FLASH_CFI_WIDTH FLASH_CFI_8BIT -#endif - #ifdef CONFIG_CFI_FLASH_USE_WEAK_ACCESSORS #define __maybe_weak __weak #else |