diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2014-06-07 17:01:42 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2014-06-07 17:01:42 +0000 |
commit | 1714048d7f8dcf01ba134a8c4cc414240da1c40d (patch) | |
tree | d1bcb757bfcc078122e55f8380a0714ab41ba7ee /package/kernel/broadcom-diag/src/gpio.h | |
parent | d72ff79546d61f99b22915de183ae67f09158441 (diff) | |
download | mtk-20170518-1714048d7f8dcf01ba134a8c4cc414240da1c40d.zip mtk-20170518-1714048d7f8dcf01ba134a8c4cc414240da1c40d.tar.gz mtk-20170518-1714048d7f8dcf01ba134a8c4cc414240da1c40d.tar.bz2 |
broadcom-diag: remove broadcom-diag
broadcom-diag is not supported any more and was replaced by
configuration the GPIOs in the arch code
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 41047
Diffstat (limited to 'package/kernel/broadcom-diag/src/gpio.h')
-rw-r--r-- | package/kernel/broadcom-diag/src/gpio.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/package/kernel/broadcom-diag/src/gpio.h b/package/kernel/broadcom-diag/src/gpio.h deleted file mode 100644 index 8bd3fe0..0000000 --- a/package/kernel/broadcom-diag/src/gpio.h +++ /dev/null @@ -1,22 +0,0 @@ -#ifndef __DIAG_GPIO_H -#define __DIAG_GPIO_H - -#include <linux/interrupt.h> -#include <linux/ssb/ssb_embedded.h> -#include <linux/gpio.h> -#include <bcm47xx.h> - -#define EXTIF_ADDR 0x1f000000 -#define EXTIF_UART (EXTIF_ADDR + 0x00800000) - -/* GPIO pins driving LEDs through a shift register */ -#define SHIFTREG_DATA (1 << 6) -#define SHIFTREG_CLK (1 << 7) -#define SHIFTREG_MAX_BITS 8 - -#define GPIO_TYPE_NORMAL (0x0 << 24) -#define GPIO_TYPE_EXTIF (0x1 << 24) -#define GPIO_TYPE_SHIFT (0x2 << 24) -#define GPIO_TYPE_MASK (0xf << 24) - -#endif /* __DIAG_GPIO_H */ |