From: Minkyu Kang <mk7.kang@samsung.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] FIX: config: goni: Change goni configuration to store envs at eMMC
Date: Wed, 18 Jun 2014 19:57:19 +0900 [thread overview]
Message-ID: <53A1708F.9000901@samsung.com> (raw)
In-Reply-To: <1402306567-16148-1-git-send-email-l.majewski@samsung.com>
On 09/06/14 18:36, Lukasz Majewski wrote:
> Up till now goni's configuration has been stored at OneNAND. Since u-boot
> itself is now stored at eMMC it is more handy to store envs there as well.
>
> Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
> ---
> include/configs/s5p_goni.h | 9 ++++++---
> 1 file changed, 6 insertions(+), 3 deletions(-)
>
> diff --git a/include/configs/s5p_goni.h b/include/configs/s5p_goni.h
> index fce1716..804f97f 100644
> --- a/include/configs/s5p_goni.h
> +++ b/include/configs/s5p_goni.h
> @@ -220,9 +220,12 @@
> #define CONFIG_SYS_MONITOR_LEN (256 << 10) /* 256 KiB */
>
> /* FLASH and environment organization */
> -#define CONFIG_ENV_IS_IN_ONENAND 1
> -#define CONFIG_ENV_SIZE (256 << 10) /* 256 KiB, 0x40000 */
> -#define CONFIG_ENV_ADDR (1 << 20) /* 1 MB, 0x100000 */
> +#define CONFIG_MMC_DEFAULT_DEV 0
> +#define CONFIG_ENV_IS_IN_MMC
> +#define CONFIG_SYS_MMC_ENV_DEV CONFIG_MMC_DEFAULT_DEV
> +#define CONFIG_ENV_SIZE 4096
> +#define CONFIG_ENV_OFFSET ((32 - 4) << 10) /* 32KiB - 4KiB */
> +#define CONFIG_ENV_OVERWRITE
>
> #define CONFIG_USE_ONENAND_BOARD_INIT
> #define CONFIG_SAMSUNG_ONENAND 1
>
applied to u-boot-samsung.
Thanks,
Minkyu Kang.
prev parent reply other threads:[~2014-06-18 10:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-09 9:36 [U-Boot] [PATCH] FIX: config: goni: Change goni configuration to store envs at eMMC Lukasz Majewski
2014-06-18 10:57 ` Minkyu Kang [this message]
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=53A1708F.9000901@samsung.com \
--to=mk7.kang@samsung.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