diff options
author | Hannes Schmelzer <hannes.schmelzer@br-automation.com> | 2019-08-22 16:41:43 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-08-26 03:58:59 +0300 |
commit | abf9e5d0f2cd123951dfae0d5605b54394721b97 (patch) | |
tree | 332edbf6090df7eca89597c155e2bf3af7bcb9f9 /include/configs/sunxi-common.h | |
parent | 015287919fb8243c6a539fdc70638c1bf4ca6cc7 (diff) | |
download | u-boot-abf9e5d0f2cd123951dfae0d5605b54394721b97.tar.xz |
moveconfig: prepare moving CONFIG_SYS_SPI_U_BOOT_OFFS to Kconfig step 2
some boards have common headers for several individual build-targets
where CONFIG_SYS_SPI_U_BOOT_OFFS is defined even it is not needed (only
needed if CONFIG_SPL_SPI_LOAD is defined also). Take this define here
under '#ifdef CONFIG_SPL_SPI_LOAD' for having a clean run of
moveconfig.py
Signed-off-by: Hannes Schmelzer <hannes.schmelzer@br-automation.com>
Diffstat (limited to 'include/configs/sunxi-common.h')
-rw-r--r-- | include/configs/sunxi-common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h index d7133a73fc..c5dbf6d833 100644 --- a/include/configs/sunxi-common.h +++ b/include/configs/sunxi-common.h @@ -118,7 +118,7 @@ #define CONFIG_SYS_MAX_NAND_DEVICE 8 #endif -#ifdef CONFIG_SPL_SPI_SUNXI +#if defined(CONFIG_SPL_SPI_SUNXI) && defined(CONFIG_SPL_SPI_LOAD) #define CONFIG_SYS_SPI_U_BOOT_OFFS 0x8000 #endif |