projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move coloured led API to status_led.h
[oweals/u-boot.git]
/
drivers
/
tqm8xx_pcmcia.c
diff --git
a/drivers/tqm8xx_pcmcia.c
b/drivers/tqm8xx_pcmcia.c
index a0f53cd6841a21c7c22a37da5d908ffbcfc43308..132c7a5169b649e59a255b5265a34e4f0eff345d 100644
(file)
--- a/
drivers/tqm8xx_pcmcia.c
+++ b/
drivers/tqm8xx_pcmcia.c
@@
-10,11
+10,11
@@
#undef CONFIG_PCMCIA
#undef CONFIG_PCMCIA
-#if
(CONFIG_COMMANDS & CF
G_CMD_PCMCIA)
+#if
defined(CONFI
G_CMD_PCMCIA)
#define CONFIG_PCMCIA
#endif
#define CONFIG_PCMCIA
#endif
-#if
(CONFIG_COMMANDS & CF
G_CMD_IDE) && defined(CONFIG_IDE_8xx_PCCARD)
+#if
defined(CONFI
G_CMD_IDE) && defined(CONFIG_IDE_8xx_PCCARD)
#define CONFIG_PCMCIA
#endif
#define CONFIG_PCMCIA
#endif
@@
-241,7
+241,7
@@
int pcmcia_hardware_enable(int slot)
}
}
-#if
(CONFIG_COMMANDS & CF
G_CMD_PCMCIA)
+#if
defined(CONFI
G_CMD_PCMCIA)
int pcmcia_hardware_disable(int slot)
{
u_long reg;
int pcmcia_hardware_disable(int slot)
{
u_long reg;
@@
-263,7
+263,7
@@
int pcmcia_hardware_disable(int slot)
return (0);
}
return (0);
}
-#endif
/* CFG_CMD_PCMCIA */
+#endif
int pcmcia_voltage_set(int slot, int vcc, int vpp)
{
int pcmcia_voltage_set(int slot, int vcc, int vpp)
{