mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 08:19:28 +00:00
![Vitaly Bordug](/assets/img/avatar_default.png)
Adds support for PowerQuicc on-chip PCMCIA. The driver is implemented as of_device, so only arch/powerpc stuff is capable to use it, which now implies only mpc885ads reference board. To cope with the code that should be hooked inside driver, but is really board specific (like set_voltage), global structure mpc8xx_pcmcia_ops holds necessary function pointers that are filled in the BSP code. [akpm@linux-foundation.org: whitespace diddles] Signed-off-by: Vitaly Bordug <vitb@kernel.crashing.org> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Olof Johansson <olof@lixom.net> Cc: Dominik Brodowski <linux@dominikbrodowski.net> Cc: Paul Mackerras <paulus@samba.org> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
32 lines
793 B
C
32 lines
793 B
C
/* This is the single file included by all MPC8xx build options.
|
|
* Since there are many different boards and no standard configuration,
|
|
* we have a unique include file for each. Rather than change every
|
|
* file that has to include MPC8xx configuration, they all include
|
|
* this one and the configuration switching is done here.
|
|
*/
|
|
#ifdef __KERNEL__
|
|
#ifndef __CONFIG_8xx_DEFS
|
|
#define __CONFIG_8xx_DEFS
|
|
|
|
|
|
#ifdef CONFIG_8xx
|
|
|
|
#ifdef CONFIG_FADS
|
|
#include <platforms/fads.h>
|
|
#endif
|
|
|
|
#if defined(CONFIG_MPC86XADS)
|
|
#include <platforms/8xx/mpc86xads.h>
|
|
#endif
|
|
|
|
#if defined(CONFIG_MPC885ADS)
|
|
#include <platforms/8xx/mpc885ads.h>
|
|
#endif
|
|
|
|
#ifdef CONFIG_PCMCIA_M8XX
|
|
extern struct mpc8xx_pcmcia_ops m8xx_pcmcia_ops;
|
|
#endif
|
|
|
|
#endif /* CONFIG_8xx */
|
|
#endif /* __CONFIG_8xx_DEFS */
|
|
#endif /* __KERNEL__ */
|