Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 038c5b60 authored by Bellido Nicolas's avatar Bellido Nicolas Committed by Russell King
Browse files

[PATCH] ARM: 2686/2: AAEC-2000 Core support



Patch from Bellido Nicolas

Core support for AAEC-2000 based platforms.
This is an updated version of the previous patch, and takes
into account Russell's comments.
AAED-2000 default configuration will follow as soon
as some problems with the bootloader are sorted out...

Signed-off-by: Nicolas Bellido
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 09f0551d
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -198,6 +198,11 @@ config ARCH_H720X
	help
	  This enables support for systems based on the Hynix HMS720x

config ARCH_AAEC2000
	bool "Agilent AAEC-2000 based"
	help
	  This enables support for systems based on the Agilent AAEC-2000

endchoice

source "arch/arm/mach-clps711x/Kconfig"
@@ -230,6 +235,8 @@ source "arch/arm/mach-h720x/Kconfig"

source "arch/arm/mach-versatile/Kconfig"

source "arch/arm/mach-aaec2000/Kconfig"

# Definitions to make life easier
config ARCH_ACORN
	bool
+1 −0
Original line number Diff line number Diff line
@@ -97,6 +97,7 @@ textaddr-$(CONFIG_ARCH_FORTUNET) := 0xc0008000
 machine-$(CONFIG_ARCH_VERSATILE)  := versatile
 machine-$(CONFIG_ARCH_IMX)	   := imx
 machine-$(CONFIG_ARCH_H720X)	   := h720x
 machine-$(CONFIG_ARCH_AAEC2000)   := aaec2000

ifeq ($(CONFIG_ARCH_EBSA110),y)
# This is what happens if you forget the IOCS16 line.
+11 −0
Original line number Diff line number Diff line
if ARCH_AAEC2000

menu "Agilent AAEC-2000 Implementations"

config MACH_AAED2000
	bool "Agilent AAED-2000 Development Platform"
	select CPU_ARM920T

endmenu

endif
+9 −0
Original line number Diff line number Diff line
#
# Makefile for the linux kernel.
#

# Common support (must be linked before board specific support)
obj-y += core.o

# Specific board support
obj-$(CONFIG_MACH_AAED2000) += aaed2000.o
+48 −0
Original line number Diff line number Diff line
/*
 *  linux/arch/arm/mach-aaec2000/aaed2000.c
 *
 *  Support for the Agilent AAED-2000 Development Platform.
 *
 *  Copyright (c) 2005 Nicolas Bellido Y Ortega
 *
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License version 2 as
 *  published by the Free Software Foundation.
 *
 */
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/device.h>
#include <linux/major.h>
#include <linux/interrupt.h>

#include <asm/setup.h>
#include <asm/memory.h>
#include <asm/mach-types.h>
#include <asm/hardware.h>
#include <asm/irq.h>

#include <asm/mach/arch.h>
#include <asm/mach/map.h>
#include <asm/mach/irq.h>

#include "core.h"

static void __init aaed2000_init_irq(void)
{
	aaec2000_init_irq();
}

static void __init aaed2000_map_io(void)
{
	aaec2000_map_io();
}

MACHINE_START(AAED2000, "Agilent AAED-2000 Development Platform")
	MAINTAINER("Nicolas Bellido Y Ortega")
	BOOT_MEM(0xf0000000, PIO_BASE, VIO_BASE)
	MAPIO(aaed2000_map_io)
	INITIRQ(aaed2000_init_irq)
	.timer		= &aaec2000_timer,
MACHINE_END
Loading