]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/include/asm/arch-hi6220/gpio.h
ARM: AM43xx: Add support for RTC only + DDR in self-refresh mode
[u-boot] / arch / arm / include / asm / arch-hi6220 / gpio.h
index 98122a2f707006cd93dec1734b2ce059b2b86fc5..29ace17ab8b28367a419c0fcb0c9bb8ed94ea65b 100644 (file)
@@ -11,8 +11,6 @@
 #define HI6220_GPIO_BASE(bank) (((bank < 4) ? 0xf8011000 : \
                                0xf7020000 - 0x4000) + (0x1000 * bank))
 
-#define BIT(x)                 (1 << (x))
-
 #define HI6220_GPIO_PER_BANK   8
 #define HI6220_GPIO_DIR                0x400
 
@@ -23,7 +21,7 @@ struct gpio_bank {
 /* Information about a GPIO bank */
 struct hikey_gpio_platdata {
        int bank_index;
-       unsigned int base;     /* address of registers in physical memory */
+       ulong base;     /* address of registers in physical memory */
 };
 
 #endif /* _HI6220_GPIO_H_ */