summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/files/include
diff options
context:
space:
mode:
authorLudovic Pouzenc <ludovic@pouzenc.fr>2018-09-14 22:25:09 +0200
committerLudovic Pouzenc <ludovic@pouzenc.fr>2018-09-14 22:25:09 +0200
commit3362d9fb3a94d0909b79c290abc8db6abe4cca21 (patch)
tree35f9e4dfaeb691fe09fcd95b45dc440f0338a1b5 /target/linux/ar71xx/files/include
parent51e1f1476f74d6788b106a066dfebd8ec6ac1bd9 (diff)
downloadmtk-20170518-3362d9fb3a94d0909b79c290abc8db6abe4cca21.zip
mtk-20170518-3362d9fb3a94d0909b79c290abc8db6abe4cca21.tar.gz
mtk-20170518-3362d9fb3a94d0909b79c290abc8db6abe4cca21.tar.bz2
target/linux : drop many arch
Diffstat (limited to 'target/linux/ar71xx/files/include')
-rw-r--r--target/linux/ar71xx/files/include/linux/nxp_74hc153.h24
-rw-r--r--target/linux/ar71xx/files/include/linux/platform/ar934x_nfc.h38
-rw-r--r--target/linux/ar71xx/files/include/linux/platform_data/gpio-latch.h14
-rw-r--r--target/linux/ar71xx/files/include/linux/platform_data/rb91x_nand.h16
-rw-r--r--target/linux/ar71xx/files/include/linux/spi/vsc7385.h19
5 files changed, 0 insertions, 111 deletions
diff --git a/target/linux/ar71xx/files/include/linux/nxp_74hc153.h b/target/linux/ar71xx/files/include/linux/nxp_74hc153.h
deleted file mode 100644
index 20b8845..0000000
--- a/target/linux/ar71xx/files/include/linux/nxp_74hc153.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * NXP 74HC153 - Dual 4-input multiplexer defines
- *
- * Copyright (C) 2010 Gabor Juhos <juhosg@openwrt.org>
- *
- * 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.
- */
-
-#ifndef _NXP_74HC153_H
-#define _NXP_74HC153_H
-
-#define NXP_74HC153_DRIVER_NAME "nxp-74hc153"
-
-struct nxp_74hc153_platform_data {
- unsigned gpio_base;
- unsigned gpio_pin_s0;
- unsigned gpio_pin_s1;
- unsigned gpio_pin_1y;
- unsigned gpio_pin_2y;
-};
-
-#endif /* _NXP_74HC153_H */
diff --git a/target/linux/ar71xx/files/include/linux/platform/ar934x_nfc.h b/target/linux/ar71xx/files/include/linux/platform/ar934x_nfc.h
deleted file mode 100644
index 4a4e751..0000000
--- a/target/linux/ar71xx/files/include/linux/platform/ar934x_nfc.h
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * Platform data definition for the built-in NAND controller of the
- * Atheros AR934x SoCs
- *
- * Copyright (C) 2011-2012 Gabor Juhos <juhosg@openwrt.org>
- *
- * 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.
- */
-
-#ifndef _AR934X_NFC_PLATFORM_H
-#define _AR934X_NFC_PLATFORM_H
-
-#define AR934X_NFC_DRIVER_NAME "ar934x-nfc"
-
-struct mtd_info;
-struct mtd_partition;
-
-enum ar934x_nfc_ecc_mode {
- AR934X_NFC_ECC_SOFT = 0,
- AR934X_NFC_ECC_HW,
-};
-
-struct ar934x_nfc_platform_data {
- const char *name;
- struct mtd_partition *parts;
- int nr_parts;
-
- bool swap_dma;
- enum ar934x_nfc_ecc_mode ecc_mode;
-
- void (*hw_reset)(bool active);
- void (*select_chip)(int chip_no);
- int (*scan_fixup)(struct mtd_info *mtd);
-};
-
-#endif /* _AR934X_NFC_PLATFORM_H */
diff --git a/target/linux/ar71xx/files/include/linux/platform_data/gpio-latch.h b/target/linux/ar71xx/files/include/linux/platform_data/gpio-latch.h
deleted file mode 100644
index 0450e67..0000000
--- a/target/linux/ar71xx/files/include/linux/platform_data/gpio-latch.h
+++ /dev/null
@@ -1,14 +0,0 @@
-#ifndef _GPIO_LATCH_H_
-#define _GPIO_LATCH_H_
-
-#define GPIO_LATCH_DRIVER_NAME "gpio-latch"
-
-struct gpio_latch_platform_data {
- int base;
- int num_gpios;
- int *gpios;
- int le_gpio_index;
- bool le_active_low;
-};
-
-#endif /* _GPIO_LATCH_H_ */
diff --git a/target/linux/ar71xx/files/include/linux/platform_data/rb91x_nand.h b/target/linux/ar71xx/files/include/linux/platform_data/rb91x_nand.h
deleted file mode 100644
index 5f17fb8..0000000
--- a/target/linux/ar71xx/files/include/linux/platform_data/rb91x_nand.h
+++ /dev/null
@@ -1,16 +0,0 @@
-#ifndef _RB91X_NAND_H_
-#define _RB91X_NAND_H_
-
-#define RB91X_NAND_DRIVER_NAME "rb91x-nand"
-
-struct rb91x_nand_platform_data {
- int gpio_nce; /* chip enable, active low */
- int gpio_ale; /* address latch enable */
- int gpio_cle; /* command latch enable */
- int gpio_rdy;
- int gpio_read;
- int gpio_nrw; /* read/write enable, active low */
- int gpio_nle; /* latch enable, active low */
-};
-
-#endif /* _RB91X_NAND_H_ */ \ No newline at end of file
diff --git a/target/linux/ar71xx/files/include/linux/spi/vsc7385.h b/target/linux/ar71xx/files/include/linux/spi/vsc7385.h
deleted file mode 100644
index 1072ad7..0000000
--- a/target/linux/ar71xx/files/include/linux/spi/vsc7385.h
+++ /dev/null
@@ -1,19 +0,0 @@
-/*
- * Platform data definition for the Vitesse VSC7385 ethernet switch driver
- *
- * Copyright (C) 2009 Gabor Juhos <juhosg@openwrt.org>
- *
- * 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.
- */
-
-struct vsc7385_platform_data {
- void (*reset)(void);
- char *ucode_name;
- struct {
- u32 tx_ipg:5;
- u32 bit2:1;
- u32 clk_sel:3;
- } mac_cfg;
-};