diff options
author | Sekhar Nori <nsekhar@ti.com> | 2017-04-06 14:52:56 +0530 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-04-08 21:33:12 -0400 |
commit | 88fdfcd21d0136bb95a64ff8520eda2a2efa0108 (patch) | |
tree | f633e5fb2471a55b6390c4c92ca4a2cfa292a393 /include/configs/am43xx_evm.h | |
parent | 6e8069616e43dc6d386e3793e6df422c109f1353 (diff) | |
download | u-boot-88fdfcd21d0136bb95a64ff8520eda2a2efa0108.tar.gz |
ARM: ti: consolidate mmc environment variables
Introduce include/environment/ti/mmc.h that
consolidates environment variable definitions
for various TI boards that support MMC/SD.
This allows reuse of same environment variables
on non-ARMv7 TI platforms like OMAP-L138 for
example.
While at it, move DFU-related environment variable
includes to only non-SPL builds for AM335x and
AM437x since they are not really used for SPL
today.
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Reviewed-by: Lukasz Majewski <lukma@denx.de>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/configs/am43xx_evm.h')
-rw-r--r-- | include/configs/am43xx_evm.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/configs/am43xx_evm.h b/include/configs/am43xx_evm.h index ec99958fcd..1feb946834 100644 --- a/include/configs/am43xx_evm.h +++ b/include/configs/am43xx_evm.h @@ -13,7 +13,6 @@ #define CONFIG_MAX_RAM_BANK_SIZE (1024 << 21) /* 2GB */ #define CONFIG_SYS_TIMERBASE 0x48040000 /* Use Timer2 */ -#include <environment/ti/dfu.h> #include <asm/arch/omap.h> /* NS16550 Configuration */ @@ -162,6 +161,9 @@ #define CONFIG_TI_EDMA3 #ifndef CONFIG_SPL_BUILD +#include <environment/ti/dfu.h> +#include <environment/ti/mmc.h> + #define CONFIG_EXTRA_ENV_SETTINGS \ DEFAULT_LINUX_BOOT_ENV \ DEFAULT_MMC_TI_ARGS \ |