[PATCHv2 3/6] ARM OMAP: Apply RAM device register functions to boards
Jean-Christophe PLAGNIOL-VILLARD
plagnioj at jcrosoft.com
Thu Dec 20 09:25:29 EST 2012
On 15:22 Thu 20 Dec , Teresa Gámez wrote:
> Apply RAM and SRAM register functions to all OMAP boards.
>
> Signed-off-by: Teresa Gámez <t.gamez at phytec.de>
> ---
> arch/arm/boards/archosg9/board.c | 2 +-
> arch/arm/boards/beagle/board.c | 2 +-
> arch/arm/boards/beaglebone/board.c | 2 +-
> arch/arm/boards/omap343xdsp/board.c | 2 +-
> arch/arm/boards/omap3evm/board.c | 2 +-
> arch/arm/boards/panda/board.c | 2 +-
> arch/arm/boards/pcm049/board.c | 5 ++---
> arch/arm/boards/phycard-a-l1/pca-a-l1.c | 5 ++---
> arch/arm/boards/phycard-a-xl2/pca-a-xl2.c | 6 +++---
> 9 files changed, 13 insertions(+), 15 deletions(-)
>
> diff --git a/arch/arm/boards/archosg9/board.c b/arch/arm/boards/archosg9/board.c
> index 5f62748..1911c62 100644
> --- a/arch/arm/boards/archosg9/board.c
> +++ b/arch/arm/boards/archosg9/board.c
> @@ -35,7 +35,7 @@ static int archosg9_console_init(void){
> console_initcall(archosg9_console_init);
>
> static int archosg9_mem_init(void){
> - arm_add_mem_device("ram0", 0x80000000, SZ_1G);
> + omap_add_ram0(SZ_1G);
can you detect it
Best Regards,
J.
More information about the barebox
mailing list