Index: linux-2.6.17-rc1/arch/arm/mach-ep93xx/Kconfig =================================================================== --- linux-2.6.17-rc1.orig/arch/arm/mach-ep93xx/Kconfig +++ linux-2.6.17-rc1/arch/arm/mach-ep93xx/Kconfig @@ -9,6 +9,12 @@ config CRUNCH comment "EP93xx Platforms" +config MACH_EDB9315 + bool "Support Cirrus Eval-Board EDB9315" + help + Say 'Y' here if you want your kernel to support the Cirrus + Logic EDB9315 Evaluation Board + config MACH_GESBC9312 bool "Support Glomation GESBC-9312-sx" help Index: linux-2.6.17-rc1/arch/arm/mach-ep93xx/Makefile =================================================================== --- linux-2.6.17-rc1.orig/arch/arm/mach-ep93xx/Makefile +++ linux-2.6.17-rc1/arch/arm/mach-ep93xx/Makefile @@ -6,5 +6,6 @@ obj-m := obj-n := obj- := +obj-$(CONFIG_MACH_EDB9315) += edb9315.o obj-$(CONFIG_MACH_GESBC9312) += gesbc9312.o obj-$(CONFIG_MACH_TS72XX) += ts72xx.o Index: linux-2.6.17-rc1/arch/arm/mach-ep93xx/edb9315.c =================================================================== --- /dev/null +++ linux-2.6.17-rc1/arch/arm/mach-ep93xx/edb9315.c @@ -0,0 +1,46 @@ +/* + * linux/arch/arm/mach-ep93xx/edb9315.c + * + * 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 +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +static void __init edb9315_init_machine(void) +{ + ep93xx_init_devices(); + physmap_configure(0x60000000, 0x02000000, 4, NULL); +} + +MACHINE_START(EDB9315, "Cirrus Evaluation Board EDB9315") + .phys_io = EP93XX_APB_PHYS_BASE, + .io_pg_offst = ((EP93XX_APB_VIRT_BASE) >> 18) & 0xfffc, + .boot_params = 0x00000100, + .map_io = ep93xx_map_io, + .init_irq = ep93xx_init_irq, + .timer = &ep93xx_timer, + .init_machine = edb9315_init_machine, +MACHINE_END