From 8c0fa2b8a965b07a05554409233d3055920c6155 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Thu, 18 Mar 2010 23:35:21 +0000 Subject: [rdc] rework board detection Rework board detection, separate board specific code into its own file. As a result we also change the way rdc images are generated. Support for board which required binary tools, like AMIT are dropped. Patch by Bernhard Loos. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20294 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../files-2.6.30/arch/x86/include/asm/rdc_boards.h | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 target/linux/rdc/files-2.6.30/arch/x86/include/asm/rdc_boards.h (limited to 'target/linux/rdc/files-2.6.30/arch/x86/include/asm') diff --git a/target/linux/rdc/files-2.6.30/arch/x86/include/asm/rdc_boards.h b/target/linux/rdc/files-2.6.30/arch/x86/include/asm/rdc_boards.h new file mode 100644 index 0000000000..4f8ef377d0 --- /dev/null +++ b/target/linux/rdc/files-2.6.30/arch/x86/include/asm/rdc_boards.h @@ -0,0 +1,36 @@ +/* + * RDC321x boards + * + * Copyright (C) 2007-2009 OpenWrt.org + * Copyright (C) 2007 Florian Fainelli + * Copyright (C) 2008-2009 Daniel Gimpelevich + * + * 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., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301, USA. + * + */ + +#ifndef _RDC_BOARDS_H__ +#define _RDC_BOARDS_H__ + +#include +#include + +struct rdc_platform_data { + struct gpio_led_platform_data led_data; + struct gpio_buttons_platform_data button_data; +}; + +#endif -- cgit v1.2.3