From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Schocher Date: Mon, 16 Nov 2015 12:05:57 +0100 Subject: [U-Boot] [PATCH 15/17] km8309: change the default QE_FW address In-Reply-To: <1447426768-23226-16-git-send-email-valentin.longchamp@keymile.com> References: <1447426768-23226-1-git-send-email-valentin.longchamp@keymile.com> <1447426768-23226-16-git-send-email-valentin.longchamp@keymile.com> Message-ID: <5649B895.4070806@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello Valentin, Am 13.11.2015 um 15:59 schrieb Valentin Longchamp: > It should be after the u-boot reserved sectors and before the env > sectors, since the solution used for kmvect1 (tell the linker to put the > firmware into the u-boot produced binary, at the end of the area) should > be the exception. > > The #define is only "conditional" so that we can still support kmvect1. > > Signed-off-by: Valentin Longchamp > --- > > include/configs/km/km8309-common.h | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) Reviewed-by: Heiko Schocher bye, Heiko > > diff --git a/include/configs/km/km8309-common.h b/include/configs/km/km8309-common.h > index d7f6cb1..a69fdf1 100644 > --- a/include/configs/km/km8309-common.h > +++ b/include/configs/km/km8309-common.h > @@ -29,8 +29,10 @@ > > /* QE microcode/firmware address */ > #define CONFIG_SYS_QE_FMAN_FW_IN_NOR > -/* at end of uboot partition, before env */ > -#define CONFIG_SYS_QE_FW_ADDR 0xF00B0000 > +/* between the u-boot partition and env */ > +#ifndef CONFIG_SYS_QE_FW_ADDR > +#define CONFIG_SYS_QE_FW_ADDR 0xF00C0000 > +#endif > > /* > * System IO Config > -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany