summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/gpmc-smc91x.h
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2014-11-03 17:45:01 -0800
committerTony Lindgren <tony@atomide.com>2014-11-03 17:45:01 -0800
commit8f5951172b6dbda75a9cdf5990650e1cf8b1dd22 (patch)
tree5d699b4e2fc6251f015169b6e584b855ac4fa5f3 /arch/arm/mach-omap2/gpmc-smc91x.h
parent9995772a6d70196ccf0295e4a1cfbb7e4c4a0ef1 (diff)
downloadblackbird-op-linux-8f5951172b6dbda75a9cdf5990650e1cf8b1dd22.tar.gz
blackbird-op-linux-8f5951172b6dbda75a9cdf5990650e1cf8b1dd22.zip
ARM: OMAP2+: Drop legacy code for gpmc-smc91x.c
This code was only used by 2430sdp, 3430sdp, and n900 development boards. The 2430sdp is already device tree only, and all the users of the 3430sdp and n900 development boards are already booting in device tree mode, so we can drop the legacy smc91x support. Acked-by: Roger Quadros <rogerq@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/gpmc-smc91x.h')
-rw-r--r--arch/arm/mach-omap2/gpmc-smc91x.h42
1 files changed, 0 insertions, 42 deletions
diff --git a/arch/arm/mach-omap2/gpmc-smc91x.h b/arch/arm/mach-omap2/gpmc-smc91x.h
deleted file mode 100644
index b64fbee4d567..000000000000
--- a/arch/arm/mach-omap2/gpmc-smc91x.h
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * arch/arm/plat-omap/include/mach/gpmc-smc91x.h
- *
- * Copyright (C) 2009 Nokia Corporation
- *
- * 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 __ASM_ARCH_OMAP_GPMC_SMC91X_H__
-
-#define GPMC_TIMINGS_SMC91C96 (1 << 4)
-#define GPMC_MUX_ADD_DATA (1 << 5) /* GPMC_CONFIG1_MUXADDDATA */
-#define GPMC_READ_MON (1 << 6) /* GPMC_CONFIG1_WAIT_READ_MON */
-#define GPMC_WRITE_MON (1 << 7) /* GPMC_CONFIG1_WAIT_WRITE_MON */
-
-struct omap_smc91x_platform_data {
- int cs;
- int gpio_irq;
- int gpio_pwrdwn;
- int gpio_reset;
- int wait_pin; /* Optional GPMC_CONFIG1_WAITPINSELECT */
- u32 flags;
- int (*retime)(void);
-};
-
-#if defined(CONFIG_SMC91X) || \
- defined(CONFIG_SMC91X_MODULE)
-
-extern void gpmc_smc91x_init(struct omap_smc91x_platform_data *d);
-
-#else
-
-#define board_smc91x_data NULL
-
-static inline void gpmc_smc91x_init(struct omap_smc91x_platform_data *d)
-{
-}
-
-#endif
-#endif
OpenPOWER on IntegriCloud