diff options
author | Chen-Yu Tsai <wens@csie.org> | 2014-10-22 16:47:46 +0800 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2014-10-24 09:35:39 +0200 |
commit | 472ed0641e73ea5c5b80f9bfa804bfe0f89eca69 (patch) | |
tree | fe5b47a857cbe3ccfc1f923bbf8a5f41d758fe35 /arch/arm/include | |
parent | e373aad32a06110e60af52c58b32d32fe8417bbd (diff) | |
download | u-boot-imx-472ed0641e73ea5c5b80f9bfa804bfe0f89eca69.zip u-boot-imx-472ed0641e73ea5c5b80f9bfa804bfe0f89eca69.tar.gz u-boot-imx-472ed0641e73ea5c5b80f9bfa804bfe0f89eca69.tar.bz2 |
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>
Diffstat (limited to 'arch/arm/include')
-rw-r--r-- | arch/arm/include/asm/arch-sunxi/prcm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/arch-sunxi/prcm.h b/arch/arm/include/asm/arch-sunxi/prcm.h index 1b40f09..3d3bfa6 100644 --- a/arch/arm/include/asm/arch-sunxi/prcm.h +++ b/arch/arm/include/asm/arch-sunxi/prcm.h @@ -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 */ |