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
rename CFG_ macros to CONFIG_SYS
[platform/kernel/u-boot.git]
/
cpu
/
ppc4xx
/
gpio.c
diff --git
a/cpu/ppc4xx/gpio.c
b/cpu/ppc4xx/gpio.c
index
df99f53
..
c0d351a
100644
(file)
--- a/
cpu/ppc4xx/gpio.c
+++ b/
cpu/ppc4xx/gpio.c
@@
-26,8
+26,8
@@
#include <asm/io.h>
#include <asm/gpio.h>
#include <asm/io.h>
#include <asm/gpio.h>
-#if defined(C
FG
_4xx_GPIO_TABLE)
-gpio_param_s const gpio_tab[GPIO_GROUP_MAX][GPIO_MAX] = C
FG
_4xx_GPIO_TABLE;
+#if defined(C
ONFIG_SYS
_4xx_GPIO_TABLE)
+gpio_param_s const gpio_tab[GPIO_GROUP_MAX][GPIO_MAX] = C
ONFIG_SYS
_4xx_GPIO_TABLE;
#endif
#if defined(GPIO0_OSRL)
#endif
#if defined(GPIO0_OSRL)
@@
-132,7
+132,7
@@
int gpio_read_in_bit(int pin)
return (in_be32((void *)GPIO0_IR + offs) & GPIO_VAL(pin) ? 1 : 0);
}
return (in_be32((void *)GPIO0_IR + offs) & GPIO_VAL(pin) ? 1 : 0);
}
-#if defined(C
FG
_4xx_GPIO_TABLE)
+#if defined(C
ONFIG_SYS
_4xx_GPIO_TABLE)
void gpio_set_chip_configuration(void)
{
unsigned char i=0, j=0, offs=0, gpio_core;
void gpio_set_chip_configuration(void)
{
unsigned char i=0, j=0, offs=0, gpio_core;
@@
-252,4
+252,4
@@
void gpio_set_chip_configuration(void)
}
}
}
}
}
}
-#endif /* C
FG
_4xx_GPIO_TABLE */
+#endif /* C
ONFIG_SYS
_4xx_GPIO_TABLE */