From: Sascha Hauer <s.hauer@pengutronix.de>
To: "Eric Bénard" <eric@eukrea.com>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH] eukrea_cpuimx35: fix flash header
Date: Wed, 3 Nov 2010 19:02:34 +0100 [thread overview]
Message-ID: <20101103180234.GI6017@pengutronix.de> (raw)
In-Reply-To: <1288800496-17480-1-git-send-email-eric@eukrea.com>
Hi Eric,
On Wed, Nov 03, 2010 at 05:08:16PM +0100, Eric Bénard wrote:
> commit f0e62e69a58e249e11fc33f993e4cdb95eac6ea3 broke the header.
>
> Signed-off-by: Eric Bénard <eric@eukrea.com>
> ---
> arch/arm/boards/eukrea_cpuimx35/flash_header.c | 5 +++--
> 1 files changed, 3 insertions(+), 2 deletions(-)
I guess This one is for -master?
Sascha
>
> diff --git a/arch/arm/boards/eukrea_cpuimx35/flash_header.c b/arch/arm/boards/eukrea_cpuimx35/flash_header.c
> index 5a77c3a..93c8348 100644
> --- a/arch/arm/boards/eukrea_cpuimx35/flash_header.c
> +++ b/arch/arm/boards/eukrea_cpuimx35/flash_header.c
> @@ -28,13 +28,14 @@ struct imx_dcd_entry __dcd_entry_section dcd_entry[] = {
> };
>
> #define CPUIMX35_DEST_BASE 0x80000000
> +#define CPUIMX35_FLASH_HEADER_BASE (CPUIMX35_DEST_BASE + FLASH_HEADER_OFFSET)
> struct imx_flash_header __flash_header_section flash_header = {
> .app_code_jump_vector = CPUIMX35_DEST_BASE + 0x1000,
> .app_code_barker = APP_CODE_BARKER,
> .app_code_csf = 0,
> - .dcd_ptr_ptr = FLASH_HEADER_BASE + offsetof(struct imx_flash_header, dcd),
> + .dcd_ptr_ptr = CPUIMX35_FLASH_HEADER_BASE + offsetof(struct imx_flash_header, dcd),
> .super_root_key = 0,
> - .dcd = FLASH_HEADER_BASE + offsetof(struct imx_flash_header, dcd_barker),
> + .dcd = CPUIMX35_FLASH_HEADER_BASE + offsetof(struct imx_flash_header, dcd_barker),
> .app_dest = CPUIMX35_DEST_BASE,
> .dcd_barker = DCD_BARKER,
> .dcd_block_len = sizeof(dcd_entry),
> --
> 1.7.0.4
>
>
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2010-11-03 18:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-03 16:08 Eric Bénard
2010-11-03 18:02 ` Sascha Hauer [this message]
2010-11-03 18:27 ` Eric Bénard
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=20101103180234.GI6017@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=eric@eukrea.com \
/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