]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/configs/pm9g45.h
at91: switch coloured LED to gpio API
[karo-tx-uboot.git] / include / configs / pm9g45.h
index 03a25c8230b7190f57b82f89a1e7d1de26f3f7f5..f78e0ec173e0f1fecf09eed1f1420810ee0b6922 100644 (file)
@@ -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