summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2014-09-23 10:44:18 -0500
committerTom Rini <trini@ti.com>2014-10-23 11:53:01 -0400
commit76bfd1625a27d72bcfeec6c1b239b70495f5fa78 (patch)
treea022f9494abc354b1d258c1d43c3762ddf50eaf6 /include
parent41f1d40d9207cb6770d4cdc9e397a6e493fb4cfb (diff)
downloadu-boot-imx-76bfd1625a27d72bcfeec6c1b239b70495f5fa78.zip
u-boot-imx-76bfd1625a27d72bcfeec6c1b239b70495f5fa78.tar.gz
u-boot-imx-76bfd1625a27d72bcfeec6c1b239b70495f5fa78.tar.bz2
arm: am43xx: switch over to CONFIG_ENV_IS_IN_FAT
By using CONFIG_ENV_IS_IN_FAT it's far easier to have a private, minimal environment for e.g. booting off of network or mounting rootfs on NFS without having to modify the configuration header. Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/am43xx_evm.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/include/configs/am43xx_evm.h b/include/configs/am43xx_evm.h
index 0707827..4472c3e 100644
--- a/include/configs/am43xx_evm.h
+++ b/include/configs/am43xx_evm.h
@@ -11,6 +11,9 @@
#define CONFIG_AM43XX
+#define CONFIG_CMD_FAT
+#define CONFIG_CMD_SAVEENV
+
#define CONFIG_BOARD_LATE_INIT
#define CONFIG_ARCH_CPU_INIT
#define CONFIG_SYS_CACHELINE_SIZE 32
@@ -82,7 +85,11 @@
/* NS16550 Configuration */
#define CONFIG_SYS_NS16550_COM1 0x44e09000 /* Base EVM has UART0 */
-#define CONFIG_ENV_IS_NOWHERE
+#define CONFIG_ENV_IS_IN_FAT
+#define FAT_ENV_INTERFACE "mmc"
+#define FAT_ENV_DEVICE_AND_PART "0:1"
+#define FAT_ENV_FILE "uboot.env"
+#define CONFIG_FAT_WRITE
#define CONFIG_SPL_LDSCRIPT "$(CPUDIR)/omap-common/u-boot-spl.lds"
@@ -103,7 +110,7 @@
#ifdef CONFIG_QSPI_BOOT
#define CONFIG_SYS_TEXT_BASE 0x30000000
-#undef CONFIG_ENV_IS_NOWHERE
+#undef CONFIG_ENV_IS_IN_FAT
#define CONFIG_ENV_IS_IN_SPI_FLASH
#define CONFIG_SYS_REDUNDAND_ENVIRONMENT
#define CONFIG_ENV_SPI_MAX_HZ CONFIG_SF_DEFAULT_SPEED