mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-14 16:44:29 +08:00
415c947435
The irq fixup from at91_sysirq_mask_rtc and at91_sysirq_mask_rtt is now handled by aic_common_rtc_irq_fixup and aic_common_rtt_irq_fixup. Remove those useless functions. Also remove the now unused mach/at91_rtt.h header. Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
37 lines
955 B
C
37 lines
955 B
C
/*
|
|
* Chip-specific setup code for the AT91SAM9G45 family
|
|
*
|
|
* Copyright (C) 2009 Atmel Corporation.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
*/
|
|
|
|
#include <asm/system_misc.h>
|
|
#include <mach/hardware.h>
|
|
|
|
#include "soc.h"
|
|
#include "generic.h"
|
|
|
|
/* --------------------------------------------------------------------
|
|
* AT91SAM9G45 processor initialization
|
|
* -------------------------------------------------------------------- */
|
|
|
|
static void __init at91sam9g45_map_io(void)
|
|
{
|
|
at91_init_sram(0, AT91SAM9G45_SRAM_BASE, AT91SAM9G45_SRAM_SIZE);
|
|
}
|
|
|
|
static void __init at91sam9g45_initialize(void)
|
|
{
|
|
arm_pm_idle = at91sam9_idle;
|
|
}
|
|
|
|
AT91_SOC_START(at91sam9g45)
|
|
.map_io = at91sam9g45_map_io,
|
|
.init = at91sam9g45_initialize,
|
|
AT91_SOC_END
|