ARM: sunxi: Allow specifying module in prcm apb0 init function
authorChen-Yu Tsai <wens@csie.org>
Wed, 22 Oct 2014 08:47:46 +0000 (16:47 +0800)
committerHans de Goede <hdegoede@redhat.com>
Fri, 24 Oct 2014 07:35:39 +0000 (09:35 +0200)
commit472ed0641e73ea5c5b80f9bfa804bfe0f89eca69
treefe5b47a857cbe3ccfc1f923bbf8a5f41d758fe35
parente373aad32a06110e60af52c58b32d32fe8417bbd
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>
arch/arm/cpu/armv7/sunxi/prcm.c
arch/arm/include/asm/arch-sunxi/prcm.h