diff options
author | Florian Fainelli <florian@openwrt.org> | 2010-03-18 23:35:21 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2010-03-18 23:35:21 +0000 |
commit | a1058204d0ad9e3cd5f46c6adcf6a0cf7b408176 (patch) | |
tree | baa9919e6eaaa00c545b1b80100512b483267ab5 /target/linux/rdc/files-2.6.30/arch/x86/include/asm | |
parent | 66dc3ee0c9a8eae18cd7baf13add8fe73ea217d6 (diff) | |
download | upstream-a1058204d0ad9e3cd5f46c6adcf6a0cf7b408176.tar.gz upstream-a1058204d0ad9e3cd5f46c6adcf6a0cf7b408176.tar.bz2 upstream-a1058204d0ad9e3cd5f46c6adcf6a0cf7b408176.zip |
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.
SVN-Revision: 20294
Diffstat (limited to 'target/linux/rdc/files-2.6.30/arch/x86/include/asm')
-rw-r--r-- | target/linux/rdc/files-2.6.30/arch/x86/include/asm/rdc_boards.h | 36 |
1 files changed, 36 insertions, 0 deletions
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 <florian@openwrt.org> + * Copyright (C) 2008-2009 Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us> + * + * 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 <linux/leds.h> +#include <linux/gpio_buttons.h> + +struct rdc_platform_data { + struct gpio_led_platform_data led_data; + struct gpio_buttons_platform_data button_data; +}; + +#endif |