mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
ARM: sunxi: Allow specifying module in prcm apb0 init function
The prcm apb0 controls multiple modules. Allow specifying which modules to enable clocks and de-assert resets so the function can be reused. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Acked-by: Ian Campbell <ijc@hellion.org.uk>
This commit is contained in:
committed by
Hans de Goede
parent
e373aad32a
commit
472ed0641e
@@ -233,6 +233,6 @@ struct sunxi_prcm_reg {
|
||||
u32 dram_tst; /* 0x190 */
|
||||
};
|
||||
|
||||
void prcm_init_apb0(void);
|
||||
void prcm_apb0_enable(u32 flags);
|
||||
#endif /* __ASSEMBLY__ */
|
||||
#endif /* _PRCM_H */
|
||||
|
||||
Reference in New Issue
Block a user