From: Lokesh Vutla <a0131933@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 6/6] arm: am57xx: Keep environment in eMMC
Date: Tue, 8 Mar 2016 17:12:30 +0530 [thread overview]
Message-ID: <56DEBAA6.2040305@ti.com> (raw)
In-Reply-To: <1457437348-31327-7-git-send-email-semen.protsenko@linaro.org>
On Tuesday 08 March 2016 05:12 PM, Semen Protsenko wrote:
> From: Sam Protsenko <semen.protsenko@linaro.org>
>
> Use eMMC (instead of SD card) to store U-Boot environment.
Any specific reason why you want this change?
Thanks and regards,
Lokesh
>
> Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
> ---
> include/configs/am57xx_evm.h | 12 +++++++-----
> 1 file changed, 7 insertions(+), 5 deletions(-)
>
> diff --git a/include/configs/am57xx_evm.h b/include/configs/am57xx_evm.h
> index 1ab9498..f467f46 100644
> --- a/include/configs/am57xx_evm.h
> +++ b/include/configs/am57xx_evm.h
> @@ -22,11 +22,13 @@
>
> #define CONFIG_NR_DRAM_BANKS 2
>
> -#define CONFIG_ENV_SIZE (64 << 10)
> -#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"
> +/* MMC ENV related defines */
> +#define CONFIG_ENV_IS_IN_MMC
> +#define CONFIG_SYS_MMC_ENV_DEV 1 /* SLOT2: eMMC(1) */
> +#define CONFIG_ENV_SIZE (128 << 10)
> +#define CONFIG_ENV_OFFSET 0xE0000
> +#define CONFIG_ENV_OFFSET_REDUND (CONFIG_ENV_OFFSET + CONFIG_ENV_SIZE)
> +#define CONFIG_SYS_REDUNDAND_ENVIRONMENT
>
> #define CONSOLEDEV "ttyO2"
> #define CONFIG_SYS_NS16550_COM1 UART1_BASE /* Base EVM has UART0 */
>
next prev parent reply other threads:[~2016-03-08 11:42 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-08 11:42 [U-Boot] [PATCH 0/6] arm: am57xx: Add Fastboot support to AM57XX EVM Semen Protsenko
2016-03-08 11:42 ` [U-Boot] [PATCH 1/6] arm: am57xx: Enable USB gadget in AM57XX Semen Protsenko
2016-03-08 13:25 ` Lokesh Vutla
2016-03-08 11:42 ` [U-Boot] [PATCH 2/6] arm: am57xx: Enable Fastboot Semen Protsenko
2016-03-08 13:28 ` Lokesh Vutla
2016-03-08 15:17 ` Tom Rini
2016-03-08 11:42 ` [U-Boot] [PATCH 3/6] arm: am57xx: Define Android partition table Semen Protsenko
2016-03-08 15:20 ` Tom Rini
2016-03-08 11:42 ` [U-Boot] [PATCH 4/6] arm: am57xx: Set serial# variable Semen Protsenko
2016-03-08 15:20 ` Tom Rini
2016-03-08 11:42 ` [U-Boot] [PATCH 5/6] arm: am57xx: Enable 8-bit eMMC access on AM57XX EVM Semen Protsenko
2016-03-08 13:28 ` Lokesh Vutla
2016-03-08 15:21 ` Tom Rini
2016-03-08 11:42 ` [U-Boot] [PATCH 6/6] arm: am57xx: Keep environment in eMMC Semen Protsenko
2016-03-08 11:42 ` Lokesh Vutla [this message]
2016-03-09 10:46 ` Sam Protsenko
2016-03-09 12:22 ` Tom Rini
2016-03-08 15:06 ` [U-Boot] [PATCH 0/6] arm: am57xx: Add Fastboot support to AM57XX EVM Tom Rini
2016-03-09 10:35 ` Sam Protsenko
2016-03-09 12:21 ` 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=56DEBAA6.2040305@ti.com \
--to=a0131933@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.