Audit <flash.h> inclusion
A large number of files include <flash.h> as it used to be how various SPI flash related functions were found, or for other reasons entirely. In order to migrate some further CONFIG symbols to Kconfig we need to not include flash.h in cases where we don't have a NOR flash of some sort enabled. Furthermore, in cases where we are in common code and it doesn't make sense to try and further refactor the code itself in to new files we need to guard this inclusion. Signed-off-by: Tom Rini <trini@konsulko.com>
master
u-boot-2023.07.y
v2022.10-stm32mp
v2022.10-stm32mp-odyssey
v2023.10-rc3
v2023.10-rc2
v2023.10-rc1
v2023.07.02
v2023.07-rc6
v2023.07-rc5
v2023.07-rc4
v2023.07-rc3
v2023.07-rc2
v2023.07-rc1
v2023.07
v2023.04-rc4
v2023.04-rc3
v2023.04-rc2
v2023.04-rc1
v2023.04
v2023.01-rc4
v2023.01-rc3
v2023.01-rc2
v2023.01
v2022.10-stm32mp-r1
v2022.10-stm32mp-odyssey-r2
v2022.10-stm32mp-odyssey-r1
v2022.10-rc5
v2022.10-rc4
v2022.10-rc3
v2022.10-rc2
v2022.10
|
---|
|
board/atmel/at91sam9263ek/at91sam9263ek.c |
---|
board/buffalo/lsxl/lsxl.c |
---|
board/freescale/common/fsl_validate.c |
---|
board/gardena/smart-gateway-mt7688/board.c |
---|
board/logicpd/omap3som/omap3logic.c |
---|
board/siemens/taurus/taurus.c |
---|
board/socrates/socrates.c |
---|
board/toradex/common/tdx-cfg-block.c |
---|
cmd/bootm.c |
---|
cmd/cramfs.c |
---|
cmd/cros_ec.c |
---|
cmd/flash.c |
---|
cmd/jffs2.c |
---|
cmd/load.c |
---|
cmd/mem.c |
---|
cmd/mvebu/bubt.c |
---|
cmd/sf.c |
---|
common/board_r.c |
---|
common/flash.c |
---|
common/update.c |
---|
drivers/dfu/dfu_sf.c |
---|
drivers/fastboot/fb_command.c |
---|
drivers/fastboot/fb_mmc.c |
---|
drivers/fastboot/fb_nand.c |
---|
drivers/misc/cros_ec.c |
---|
drivers/mtd/spi/sf_dataflash.c |
---|
drivers/mtd/spi/sf_mtd.c |
---|
drivers/mtd/spi/spi-nor-core.c |
---|