summaryrefslogtreecommitdiffstats
path: root/include/configs/pm9g45.h
diff options
context:
space:
mode:
authorAndreas Bießmann <andreas.devel@googlemail.com>2013-11-29 12:13:46 +0100
committerAndreas Bießmann <andreas.devel@googlemail.com>2013-12-09 13:21:47 +0100
commitbcf9fe37f5342aeebbf98a9e3800f578387b4fd7 (patch)
tree0d0ccb6727a87adee3e2ed15eb128a2bd4dbb9ab /include/configs/pm9g45.h
parentac45bb1646e866b463405fade65bac4d877d4209 (diff)
downloadtalos-obmc-uboot-bcf9fe37f5342aeebbf98a9e3800f578387b4fd7.tar.gz
talos-obmc-uboot-bcf9fe37f5342aeebbf98a9e3800f578387b4fd7.zip
at91: switch coloured LED to gpio API
Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
Diffstat (limited to 'include/configs/pm9g45.h')
-rw-r--r--include/configs/pm9g45.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/pm9g45.h b/include/configs/pm9g45.h
index 03a25c8230..f78e0ec173 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
OpenPOWER on IntegriCloud