]> git.baikalelectronics.ru Git - uboot.git/commit
Audit <flash.h> inclusion
authorTom Rini <trini@konsulko.com>
Sat, 23 Jul 2022 17:05:03 +0000 (13:05 -0400)
committerTom Rini <trini@konsulko.com>
Thu, 4 Aug 2022 20:18:47 +0000 (16:18 -0400)
commit5e5032d42ff2834ebaf3b2a0556c365f1ac66df3
tree9bfa97577dc86a0947a2d07b455dbd6b0638ed21
parentf338df269e2c7649897e33e89565ea9b2468f6a9
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>
36 files changed:
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
env/flash.c
env/sf.c
fs/cramfs/cramfs.c
fs/jffs2/jffs2_1pass.c
include/flash.h
include/mtd/cfi_flash.h
net/nfs.c
post/drivers/flash.c