mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-21 19:53:59 +08:00
f91e4906e2
PXA mmc host driver supports card detect, read only and power gpio pin setting already. Zylonite platform driver needn't implement this any more. Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
41 lines
865 B
C
41 lines
865 B
C
#ifndef __ASM_ARCH_ZYLONITE_H
|
|
#define __ASM_ARCH_ZYLONITE_H
|
|
|
|
#define ZYLONITE_ETH_PHYS 0x14000000
|
|
|
|
#define EXT_GPIO(x) (128 + (x))
|
|
|
|
/* the following variables are processor specific and initialized
|
|
* by the corresponding zylonite_pxa3xx_init()
|
|
*/
|
|
extern int gpio_eth_irq;
|
|
extern int gpio_debug_led1;
|
|
extern int gpio_debug_led2;
|
|
|
|
extern int wm9713_irq;
|
|
|
|
extern int lcd_id;
|
|
extern int lcd_orientation;
|
|
|
|
#ifdef CONFIG_CPU_PXA300
|
|
extern void zylonite_pxa300_init(void);
|
|
#else
|
|
static inline void zylonite_pxa300_init(void)
|
|
{
|
|
if (cpu_is_pxa300() || cpu_is_pxa310())
|
|
panic("%s: PXA300/PXA310 not supported\n", __func__);
|
|
}
|
|
#endif
|
|
|
|
#ifdef CONFIG_CPU_PXA320
|
|
extern void zylonite_pxa320_init(void);
|
|
#else
|
|
static inline void zylonite_pxa320_init(void)
|
|
{
|
|
if (cpu_is_pxa320())
|
|
panic("%s: PXA320 not supported\n", __func__);
|
|
}
|
|
#endif
|
|
|
|
#endif /* __ASM_ARCH_ZYLONITE_H */
|