]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
orion5x: allow overriding default mappings windows
authorAlbert Aribaud <albert.aribaud@free.fr>
Tue, 13 Jul 2010 07:04:26 +0000 (09:04 +0200)
committerWolfgang Denk <wd@denx.de>
Tue, 10 Aug 2010 20:44:12 +0000 (22:44 +0200)
commit4cfa0ab2c945f95e978a995721f193dd056e538d
tree0d83a5f272e4b2f8a9a6296bcbe3eaf43fe52b2d
parentfe8d63c8c75acc87d398b2e181b9135d2ecfc05a
orion5x: allow overriding default mappings windows

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 <albert.aribaud@free.fr>
arch/arm/cpu/arm926ejs/orion5x/cpu.c
arch/arm/include/asm/arch-orion5x/cpu.h