diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-08-04 14:46:52 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-08-04 14:46:52 +0000 |
commit | b855faecc0fee06711ef9805f77f31696e51303c (patch) | |
tree | fb22bbf8376592b3c9ee4e5b054b2532efca87a1 /target/linux/ar71xx/files/arch/mips | |
parent | e6083fc8b100bb09f0e7a0db533c74ad73cb504f (diff) | |
download | master-31e0f0ae-b855faecc0fee06711ef9805f77f31696e51303c.tar.gz master-31e0f0ae-b855faecc0fee06711ef9805f77f31696e51303c.tar.bz2 master-31e0f0ae-b855faecc0fee06711ef9805f77f31696e51303c.zip |
ar71xx: update Carambola2 platform data
Change list:
* Remove button info on GPIO12, there is no button there.
* Remove nvram mtd partition, as it's not used for anything, saves 64k for user data.
Tested building for carambola2 target.
Signed-off-by: Mantas Pucka <mantas@8devices.com>
SVN-Revision: 41993
Diffstat (limited to 'target/linux/ar71xx/files/arch/mips')
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/ath79/mach-carambola2.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-carambola2.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-carambola2.c index e7bc861e50..babe101141 100644 --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-carambola2.c +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-carambola2.c @@ -25,7 +25,6 @@ #define CARAMBOLA2_GPIO_LED_ETH1 13 #define CARAMBOLA2_GPIO_BTN_JUMPSTART 11 -#define CARAMBOLA2_GPIO_BTN_RESET 12 #define CARAMBOLA2_KEYS_POLL_INTERVAL 20 /* msecs */ #define CARAMBOLA2_KEYS_DEBOUNCE_INTERVAL (3 * CARAMBOLA2_KEYS_POLL_INTERVAL) @@ -60,14 +59,6 @@ static struct gpio_keys_button carambola2_gpio_keys[] __initdata = { .gpio = CARAMBOLA2_GPIO_BTN_JUMPSTART, .active_low = 1, }, - { - .desc = "reset button", - .type = EV_KEY, - .code = KEY_RESTART, - .debounce_interval = CARAMBOLA2_KEYS_DEBOUNCE_INTERVAL, - .gpio = CARAMBOLA2_GPIO_BTN_RESET, - .active_low = 1, - } }; static void __init carambola2_common_setup(void) |