2005-04-16 15:20:36 -07:00
|
|
|
/*
|
|
|
|
* linux/arch/arm/mach-versatile/versatile_ab.c
|
|
|
|
*
|
|
|
|
* Copyright (C) 2004 ARM Limited
|
|
|
|
* Copyright (C) 2000 Deep Blue Solutions Ltd
|
|
|
|
*
|
|
|
|
* 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.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <linux/init.h>
|
|
|
|
#include <linux/device.h>
|
2006-01-07 06:52:45 -07:00
|
|
|
#include <linux/amba/bus.h>
|
2008-09-06 04:10:45 -07:00
|
|
|
#include <linux/io.h>
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2008-08-05 08:14:15 -07:00
|
|
|
#include <mach/hardware.h>
|
2005-04-16 15:20:36 -07:00
|
|
|
#include <asm/irq.h>
|
2011-09-27 12:46:10 -07:00
|
|
|
#include <asm/hardware/vic.h>
|
2005-04-16 15:20:36 -07:00
|
|
|
#include <asm/mach-types.h>
|
|
|
|
|
|
|
|
#include <asm/mach/arch.h>
|
|
|
|
|
|
|
|
#include "core.h"
|
|
|
|
|
|
|
|
MACHINE_START(VERSATILE_AB, "ARM-Versatile AB")
|
2005-07-03 09:38:58 -07:00
|
|
|
/* Maintainer: ARM Ltd/Deep Blue Solutions Ltd */
|
2011-07-05 19:38:18 -07:00
|
|
|
.atag_offset = 0x100,
|
2005-07-03 09:38:58 -07:00
|
|
|
.map_io = versatile_map_io,
|
2011-01-11 05:55:38 -07:00
|
|
|
.init_early = versatile_init_early,
|
2005-07-03 09:38:58 -07:00
|
|
|
.init_irq = versatile_init_irq,
|
2011-09-27 12:46:10 -07:00
|
|
|
.handle_irq = vic_handle_irq,
|
2005-04-16 15:20:36 -07:00
|
|
|
.timer = &versatile_timer,
|
2005-07-03 09:38:58 -07:00
|
|
|
.init_machine = versatile_init,
|
2011-11-03 04:43:08 -07:00
|
|
|
.restart = versatile_restart,
|
2005-04-16 15:20:36 -07:00
|
|
|
MACHINE_END
|