diff options
author | Tom Rini | 2023-01-10 11:19:45 -0500 |
---|---|---|
committer | Tom Rini | 2023-01-20 12:27:24 -0500 |
commit | 6e7df1d151a7a127caf3b62ff6dfc003fc2aefcd (patch) | |
tree | ae38e9dcf468b2e4e58293561fae87895d9b549f /drivers/mtd/spi | |
parent | ad242344681f6a0076a6bf100aa83ac9ecbea355 (diff) |
global: Finish CONFIG -> CFG migration
At this point, the remaining places where we have a symbol that is
defined as CONFIG_... are in fairly odd locations. While as much dead
code has been removed as possible, some of these locations are simply
less obvious at first. In other cases, this code is used, but was
defined in such a way as to have been missed by earlier checks. Perform
a rename of all such remaining symbols to be CFG_... rather than
CONFIG_...
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/mtd/spi')
-rw-r--r-- | drivers/mtd/spi/fsl_espi_spl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/spi/fsl_espi_spl.c b/drivers/mtd/spi/fsl_espi_spl.c index dfc35d6eabf..cdbdbd6ea58 100644 --- a/drivers/mtd/spi/fsl_espi_spl.c +++ b/drivers/mtd/spi/fsl_espi_spl.c @@ -11,7 +11,7 @@ #define ESPI_BOOT_IMAGE_SIZE 0x48 #define ESPI_BOOT_IMAGE_ADDR 0x50 -#define CONFIG_CFG_DATA_SECTOR 0 +#define CFG_CFG_DATA_SECTOR 0 void fsl_spi_spl_load_image(uint32_t offs, unsigned int size, void *vdst) { @@ -62,7 +62,7 @@ void fsl_spi_boot(void) } memset(buf, 0, flash->page_size); - spi_flash_read(flash, CONFIG_CFG_DATA_SECTOR, + spi_flash_read(flash, CFG_CFG_DATA_SECTOR, flash->page_size, (void *)buf); offset = *(u32 *)(buf + ESPI_BOOT_IMAGE_ADDR); /* Skip spl code */ |