]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
sunxi: gpio: Properly sort mux defines by port number
authorHans de Goede <hdegoede@redhat.com>
Mon, 22 Dec 2014 10:39:57 +0000 (11:39 +0100)
committerHans de Goede <hdegoede@redhat.com>
Wed, 14 Jan 2015 13:56:38 +0000 (14:56 +0100)
Move a few mux defines around so that all the mux defines are properly sorted
by port number.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
arch/arm/include/asm/arch-sunxi/gpio.h

index 6623f15220a408021b1643a80360865ca7dc9e64..67308792ad1e6ddc38d322efc657122cd0a6afd0 100644 (file)
@@ -145,11 +145,6 @@ enum sunxi_gpio_number {
 #define SUN5I_GPB19_UART0_TX   2
 #define SUN5I_GPB20_UART0_RX   2
 
-#define SUN5I_GPG3_SDC1                2
-
-#define SUN5I_GPG3_UART1_TX    4
-#define SUN5I_GPG4_UART1_RX    4
-
 #define SUNXI_GPC6_SDC2                3
 
 #define SUNXI_GPF0_SDC0                2
@@ -166,6 +161,11 @@ enum sunxi_gpio_number {
 
 #define SUN4I_GPG0_SDC1                4
 
+#define SUN5I_GPG3_SDC1                2
+
+#define SUN5I_GPG3_UART1_TX    4
+#define SUN5I_GPG4_UART1_RX    4
+
 #define SUN4I_GPH22_SDC1       5
 
 #define SUN6I_GPH20_UART0_TX   2