projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge with git://www.denx.de/git/u-boot.git
[platform/kernel/u-boot.git]
/
board
/
uc100
/
pcmcia.c
diff --git
a/board/uc100/pcmcia.c
b/board/uc100/pcmcia.c
index
6e4b6d6
..
407bdb7
100644
(file)
--- a/
board/uc100/pcmcia.c
+++ b/
board/uc100/pcmcia.c
@@
-4,11
+4,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 & CFG_CMD_IDE
) && defined(CONFIG_IDE_8xx_PCCARD)
+#if
(defined(CONFIG_CMD_IDE)
) && defined(CONFIG_IDE_8xx_PCCARD)
#define CONFIG_PCMCIA
#endif
#define CONFIG_PCMCIA
#endif
@@
-123,7
+123,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)
{
volatile immap_t *immap;
int pcmcia_hardware_disable(int slot)
{
volatile immap_t *immap;
@@
-149,7
+149,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)