diff options
author | Andreas Bießmann <andreas.devel@googlemail.com> | 2013-11-29 12:13:46 +0100 |
---|---|---|
committer | Andreas Bießmann <andreas.devel@googlemail.com> | 2013-12-09 13:21:47 +0100 |
commit | bcf9fe37f5342aeebbf98a9e3800f578387b4fd7 (patch) | |
tree | 0d0ccb6727a87adee3e2ed15eb128a2bd4dbb9ab /include/configs | |
parent | ac45bb1646e866b463405fade65bac4d877d4209 (diff) |
at91: switch coloured LED to gpio API
Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/pm9261.h | 6 | ||||
-rw-r--r-- | include/configs/pm9263.h | 4 | ||||
-rw-r--r-- | include/configs/pm9g45.h | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/include/configs/pm9261.h b/include/configs/pm9261.h index f977e25b873..4a71927217c 100644 --- a/include/configs/pm9261.h +++ b/include/configs/pm9261.h @@ -164,9 +164,9 @@ /* LED */ #define CONFIG_AT91_LED -#define CONFIG_RED_LED AT91_PIO_PORTC, 12 -#define CONFIG_GREEN_LED AT91_PIO_PORTC, 13 -#define CONFIG_YELLOW_LED AT91_PIO_PORTC, 15 +#define CONFIG_RED_LED GPIO_PIN_PC(12) +#define CONFIG_GREEN_LED GPIO_PIN_PC(13) +#define CONFIG_YELLOW_LED GPIO_PIN_PC(15) #define CONFIG_BOOTDELAY 3 diff --git a/include/configs/pm9263.h b/include/configs/pm9263.h index dffc3365c6f..d9c04d14b96 100644 --- a/include/configs/pm9263.h +++ b/include/configs/pm9263.h @@ -179,8 +179,8 @@ /* LED */ #define CONFIG_AT91_LED -#define CONFIG_RED_LED AT91_PIO_PORTB, 7 /* this is the power led */ -#define CONFIG_GREEN_LED AT91_PIO_PORTB, 8 /* this is the user1 led */ +#define CONFIG_RED_LED GPIO_PIN_PB(7) /* this is the power led */ +#define CONFIG_GREEN_LED GPIO_PIN_PB(8) /* this is the user1 led */ #define CONFIG_BOOTDELAY 3 diff --git a/include/configs/pm9g45.h b/include/configs/pm9g45.h index 03a25c8230b..f78e0ec173e 100644 --- a/include/configs/pm9g45.h +++ b/include/configs/pm9g45.h @@ -54,8 +54,8 @@ /* LED */ #define CONFIG_AT91_LED -#define CONFIG_RED_LED AT91_PIO_PORTD, 31 /* this is the user1 led */ -#define CONFIG_GREEN_LED AT91_PIO_PORTD, 0 /* this is the user2 led */ +#define CONFIG_RED_LED GPIO_PIN_PD(31) /* this is the user1 led */ +#define CONFIG_GREEN_LED GPIO_PIN_PD(0) /* this is the user2 led */ #define CONFIG_BOOTDELAY 3 |