From 611fd7328c01559d301efd63ac10d4259af16449 Mon Sep 17 00:00:00 2001 From: juhosg Date: Tue, 25 Nov 2008 19:19:55 +0000 Subject: [ar71xx] add dummy code for the Atheros AP83 board git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13354 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ar71xx/files/arch/mips/ar71xx/Kconfig | 4 ++++ .../linux/ar71xx/files/arch/mips/ar71xx/Makefile | 1 + .../ar71xx/files/arch/mips/ar71xx/mach-ap83.c | 24 ++++++++++++++++++++++ 3 files changed, 29 insertions(+) create mode 100644 target/linux/ar71xx/files/arch/mips/ar71xx/mach-ap83.c (limited to 'target/linux/ar71xx/files/arch/mips') diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/Kconfig b/target/linux/ar71xx/files/arch/mips/ar71xx/Kconfig index d8ae08577b..3b11057a6b 100644 --- a/target/linux/ar71xx/files/arch/mips/ar71xx/Kconfig +++ b/target/linux/ar71xx/files/arch/mips/ar71xx/Kconfig @@ -6,6 +6,10 @@ config AR71XX_EARLY_SERIAL menu "Atheros AR71xx machine selection" +config AR71XX_MACH_AP83 + bool "Atheros AP83 board support" + default y + config AR71XX_MACH_AW_NR580 bool "AzureWave AW-NR580 board support" default y diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/Makefile b/target/linux/ar71xx/files/arch/mips/ar71xx/Makefile index 175c43e911..dc682c8e57 100644 --- a/target/linux/ar71xx/files/arch/mips/ar71xx/Makefile +++ b/target/linux/ar71xx/files/arch/mips/ar71xx/Makefile @@ -10,6 +10,7 @@ obj-y := prom.o irq.o setup.o platform.o gpio.o ar71xx.o +obj-$(CONFIG_AR71XX_MACH_AP83) += mach-ap83.o obj-$(CONFIG_AR71XX_MACH_AW_NR580) += mach-aw-nr580.o obj-$(CONFIG_AR71XX_MACH_GENERIC) += mach-generic.o obj-$(CONFIG_AR71XX_MACH_RB_4XX) += mach-rb-4xx.o diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ap83.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ap83.c new file mode 100644 index 0000000000..02e420ade2 --- /dev/null +++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ap83.c @@ -0,0 +1,24 @@ +/* + * Atheros AP83 board support + * + * Copyright (C) 2008 Gabor Juhos + * Copyright (C) 2008 Imre Kaloz + * + * 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 +#include + +#include +#include +#include +#include + +static void __init ap83_setup(void) +{ +} + +MIPS_MACHINE(MACH_AR71XX_AP83, "Atheros AP83", ap83_setup); -- cgit v1.2.3