From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mugunthan V N Date: Mon, 29 Feb 2016 19:28:27 +0530 Subject: [U-Boot] [PATCH 1/3] include: configs: am335x_evm: add FAT_ENV configs when env is in fat In-Reply-To: <1456754309-20706-1-git-send-email-mugunthanvnm@ti.com> References: <1456754309-20706-1-git-send-email-mugunthanvnm@ti.com> Message-ID: <1456754309-20706-2-git-send-email-mugunthanvnm@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de When CONFIG_ENV_IS_IN_FAT is defined, define FAT_ENV configurations for storing the environment setup. Signed-off-by: Mugunthan V N --- 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