]> git.baikalelectronics.ru Git - uboot.git/commit
flash.h: Remove CONFIG_SYS_FLASH_CFI from flash_info_t
authorBin Meng <bmeng.cn@gmail.com>
Sat, 7 Aug 2021 05:00:01 +0000 (13:00 +0800)
committerStefan Roese <sr@denx.de>
Wed, 11 Aug 2021 08:36:10 +0000 (10:36 +0200)
commite824cc201ed2f35a7affd33d1487c25ba7cfb387
treea120324146924e7990cc9a4abfe65f4ed4a8fa24
parentc65cb12f199f7c39f04226dd946e5eb2e1f38762
flash.h: Remove CONFIG_SYS_FLASH_CFI from flash_info_t

Those embers wrapped with CONFIG_SYS_FLASH_CFI in struct flash_info_t
are unconditionally used in the cfi_flash.c driver.

Drop the #ifdefs in the definition of flash_info_t.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
include/flash.h