]> git.dujemihanovic.xyz Git - u-boot.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)
commit74773a4f85221dceccbe92b0b3ae6daef75a141c
treea120324146924e7990cc9a4abfe65f4ed4a8fa24
parent8fff9e335d08a8a901e66e75e99aa2f0091527b1
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