]> git.karo-electronics.de Git - karo-tx-uboot.git/commitdiff
mvgpio: remove CONFIG_SHEEVA_88SV331xV5 dependency
authorZhou Zhu <zzhu3@marvell.com>
Mon, 23 Mar 2015 22:57:01 +0000 (17:57 -0500)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:31:10 +0000 (22:31 +0200)
The Marvell GPIO driver can be used on Marvell platforms other than
Sheeva, so remove the ifdef to enable it for others.

Signed-off-by: Rob Herring <robh@kernel.org>
drivers/gpio/mvgpio.h

index a3f17a0c311fff547b418ee9f84e929258a33ef2..1de739568ab896f547aa912d83b4c4f0ddfad387 100644 (file)
@@ -14,9 +14,8 @@
 
 #include <common.h>
 
-#ifdef CONFIG_SHEEVA_88SV331xV5
 /*
- * GPIO Register map for SHEEVA 88SV331xV5
+ * GPIO Register map for Marvell SOCs
  */
 struct gpio_reg {
        u32 gplr;       /* Pin Level Register - 0x0000 */
@@ -51,8 +50,5 @@ struct gpio_reg {
        u32 pad12[2];
        u32 apmask;     /* Bitwise Mask of Edge Detect Register - 0x009C */
 };
-#else
-#error "CPU core subversion not defined"
-#endif
 
 #endif /* __MVGPIO_H__ */