mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-10-06 19:40:42 +09:00
MX51: add structure to access System Reset Controller
Signed-off-by: Stefano Babic <sbabic@denx.de>
This commit is contained in:
parent
35af33da00
commit
9583dfab1d
@ -262,6 +262,16 @@ struct gpio_regs {
|
|||||||
u32 gpio_dir;
|
u32 gpio_dir;
|
||||||
u32 gpio_psr;
|
u32 gpio_psr;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/* System Reset Controller (SRC) */
|
||||||
|
struct src {
|
||||||
|
u32 scr;
|
||||||
|
u32 sbmr;
|
||||||
|
u32 srsr;
|
||||||
|
u32 reserved1[2];
|
||||||
|
u32 sisr;
|
||||||
|
u32 simr;
|
||||||
|
};
|
||||||
#endif /* __ASSEMBLER__*/
|
#endif /* __ASSEMBLER__*/
|
||||||
|
|
||||||
#endif /* __ASM_ARCH_MXC_MX51_H__ */
|
#endif /* __ASM_ARCH_MXC_MX51_H__ */
|
||||||
|
Loading…
Reference in New Issue
Block a user