From: Wolfgang Denk Date: Tue, 10 Aug 2010 22:44:57 +0200 Subject: [U-Boot] [PATCH] orion5x: allow overriding default mappings windows In-Reply-To: <1279004666-12949-1-git-send-email-albert.aribaud@free.fr> References: <1279004666-12949-1-git-send-email-albert.aribaud@free.fr> Message-ID: <20100810204457.71B7D1536EF@gemini.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 Dear Albert Aribaud, In message <1279004666-12949-1-git-send-email-albert.aribaud@free.fr> you wrote: > Turn all ORION5X_DEF{ADR,SZ}_xxx macros into ORION5X_{ADR,SZ}_xxx > and allow defining them from board code to override defaults. This > is particularly useful for defining board-specific FLASH address > and size in board header file rather than having to tweak orion5x > code. > > Signed-off-by: Albert Aribaud > --- > arch/arm/cpu/arm926ejs/orion5x/cpu.c | 40 ++++++------ > arch/arm/include/asm/arch-orion5x/cpu.h | 98 ++++++++++++++++++++++++------- > 2 files changed, 97 insertions(+), 41 deletions(-) Applied to u-boot-arm #master. Thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Beware of the Turing Tar-pit in which everything is possible but nothing of interest is easy.