summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/at91sam9n12.c
blob: 0135f868ea4f1070d6b456ea6563275a8835bcc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
 * SoC specific setup code for the AT91SAM9N12
 *
 * Copyright (C) 2012 Atmel Corporation.
 *
 * Licensed under GPLv2 or later.
 */

#include <asm/system_misc.h>
#include <mach/hardware.h>

#include "soc.h"
#include "generic.h"

/* --------------------------------------------------------------------
 *  AT91SAM9N12 processor initialization
 * -------------------------------------------------------------------- */

static void __init at91sam9n12_map_io(void)
{
	at91_init_sram(0, AT91SAM9N12_SRAM_BASE, AT91SAM9N12_SRAM_SIZE);
}

AT91_SOC_START(at91sam9n12)
	.map_io = at91sam9n12_map_io,
AT91_SOC_END
OpenPOWER on IntegriCloud