Use common function to set GPIOs for MX3 and MX5
[platform/kernel/u-boot.git] / arch / arm / include / asm / arch-mx51 / imx-regs.h
index 3887d3c..0e3bc2a 100644 (file)
@@ -256,6 +256,12 @@ struct weim {
        u32     cswcr2;
 };
 
+/* GPIO Registers */
+struct gpio_regs {
+       u32     gpio_dr;
+       u32     gpio_dir;
+       u32     gpio_psr;
+};
 #endif /* __ASSEMBLER__*/
 
 #endif                         /*  __ASM_ARCH_MXC_MX51_H__ */