From: Mugunthan V N <mugunthanvnm@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/3] include: configs: am335x_evm: add FAT_ENV configs when env is in fat
Date: Mon, 29 Feb 2016 19:28:27 +0530 [thread overview]
Message-ID: <1456754309-20706-2-git-send-email-mugunthanvnm@ti.com> (raw)
In-Reply-To: <1456754309-20706-1-git-send-email-mugunthanvnm@ti.com>
When CONFIG_ENV_IS_IN_FAT is defined, define FAT_ENV
configurations for storing the environment setup.
Signed-off-by: Mugunthan V N <mugunthanvnm@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
next prev parent reply other threads:[~2016-02-29 13:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-29 13:58 [U-Boot] [PATCH 0/3] device model bringup of AM335x bbw and sk-evm Mugunthan V N
2016-02-29 13:58 ` Mugunthan V N [this message]
2016-02-29 13:58 ` [U-Boot] [PATCH 2/3] am335x-bbw: Add am335x_bone_defconfig using CONFIG_DM Mugunthan V N
2016-02-29 13:58 ` [U-Boot] [PATCH 3/3] am437x-sk: add am335x_gp_evm_defconfig " Mugunthan V N
2016-02-29 14:02 ` [U-Boot] [PATCH 0/3] device model bringup of AM335x bbw and sk-evm Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1456754309-20706-2-git-send-email-mugunthanvnm@ti.com \
--to=mugunthanvnm@ti.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox