projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use common function to set GPIOs for MX3 and MX5
[platform/kernel/u-boot.git]
/
arch
/
arm
/
include
/
asm
/
arch-mx51
/
imx-regs.h
diff --git
a/arch/arm/include/asm/arch-mx51/imx-regs.h
b/arch/arm/include/asm/arch-mx51/imx-regs.h
index
3887d3c
..
0e3bc2a
100644
(file)
--- a/
arch/arm/include/asm/arch-mx51/imx-regs.h
+++ b/
arch/arm/include/asm/arch-mx51/imx-regs.h
@@
-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__ */