[U-Boot] [PATCH 1/3] include: configs: am335x_evm: add FAT_ENV configs when env is in fat
Mugunthan V N
mugunthanvnm at ti.com
Mon Feb 29 14:58:27 CET 2016
When CONFIG_ENV_IS_IN_FAT is defined, define FAT_ENV
configurations for storing the environment setup.
Signed-off-by: Mugunthan V N <mugunthanvnm at ti.com>
---
include/configs/am335x_evm.h | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
index 6ebe0b3..5cc6b73 100644
--- a/include/configs/am335x_evm.h
+++ b/include/configs/am335x_evm.h
@@ -39,6 +39,12 @@
/* Custom script for NOR */
#define CONFIG_SYS_LDSCRIPT "board/ti/am335x/u-boot.lds"
+#ifdef CONFIG_ENV_IS_IN_FAT
+#define FAT_ENV_INTERFACE "mmc"
+#define FAT_ENV_DEVICE_AND_PART "0:1"
+#define FAT_ENV_FILE "uboot.env"
+#endif
+
/* Always 128 KiB env size */
#define CONFIG_ENV_SIZE (128 << 10)
--
2.7.2.333.g70bd996
More information about the U-Boot
mailing list