From: "Andreas Bießmann" <andreas.devel@googlemail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] ARM: at91: sama5: change the environment address to 0x6000
Date: Sat, 24 Oct 2015 00:43:33 +0200 [thread overview]
Message-ID: <562AB815.9050006@googlemail.com> (raw)
In-Reply-To: <1445591900-1678-1-git-send-email-josh.wu@atmel.com>
On 23.10.15 11:18, Josh Wu wrote:
> As sama5 board has 32k sram size, so the at91bootstrap and spl for sama5
> boards is bigger than 16k (0x4000). That will overlap the U-Boot
> environment. So I move environment to 0x6000. And reduce its size as
> well.
>
> Signed-off-by: Josh Wu <josh.wu@atmel.com>
Reviewed-by: Andreas Bie?mann <andreas.devel@googlemail.com>
> ---
>
> include/configs/at91-sama5_common.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/include/configs/at91-sama5_common.h b/include/configs/at91-sama5_common.h
> index a5990ce..0b60f0b 100644
> --- a/include/configs/at91-sama5_common.h
> +++ b/include/configs/at91-sama5_common.h
> @@ -98,8 +98,8 @@
> #elif CONFIG_SYS_USE_SERIALFLASH
> /* u-boot env in serial flash, by default is bus 0 and cs 0 */
> #define CONFIG_ENV_IS_IN_SPI_FLASH
> -#define CONFIG_ENV_OFFSET 0x4000
> -#define CONFIG_ENV_SIZE 0x4000
> +#define CONFIG_ENV_OFFSET 0x6000
> +#define CONFIG_ENV_SIZE 0x2000
> #define CONFIG_ENV_SECT_SIZE 0x1000
> #define CONFIG_BOOTCOMMAND "sf probe 0; " \
> "sf read 0x21000000 0x60000 0xc000; " \
>
next prev parent reply other threads:[~2015-10-23 22:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-23 9:18 [U-Boot] [PATCH] ARM: at91: sama5: change the environment address to 0x6000 Josh Wu
2015-10-23 22:43 ` Andreas Bießmann [this message]
2015-10-26 6:43 ` Bo Shen
2015-10-26 8:41 ` Josh Wu
2015-10-27 1:55 ` Bo Shen
2015-10-27 5:23 ` Josh Wu
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=562AB815.9050006@googlemail.com \
--to=andreas.devel@googlemail.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