mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-27 22:53:55 +08:00
b31706a281
As the CONFIG_OLD_CLK_AT91 option is gone, let's completely remove the AT91 old clock driver related data. Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com> Acked-by: Boris BREZILLON <boris.brezillon@free-electrons.com>
33 lines
739 B
C
33 lines
739 B
C
/*
|
|
* 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);
|
|
}
|
|
|
|
static void __init at91sam9n12_initialize(void)
|
|
{
|
|
at91_sysirq_mask_rtc(AT91SAM9N12_BASE_RTC);
|
|
}
|
|
|
|
AT91_SOC_START(at91sam9n12)
|
|
.map_io = at91sam9n12_map_io,
|
|
.init = at91sam9n12_initialize,
|
|
AT91_SOC_END
|