On 26 April 2015 at 03:51, Hans de Goede <hdego...@redhat.com> wrote: > Move the register helpers used to access the registers via p2wi resp. > rsb bus on the otherwise identical axp221 and axp223 pmics to a separate > file, so that they can be used by the upcoming standalone axp gpio driver > too. > > Signed-off-by: Hans de Goede <hdego...@redhat.com> > --- > arch/arm/cpu/armv7/sunxi/Makefile | 2 + > arch/arm/cpu/armv7/sunxi/pmic_bus.c | 93 ++++++++++++++++ > arch/arm/include/asm/arch-sunxi/pmic_bus.h | 18 +++ > drivers/power/axp221.c | 172 > +++++++++-------------------- > include/axp221.h | 7 -- > 5 files changed, 166 insertions(+), 126 deletions(-) > create mode 100644 arch/arm/cpu/armv7/sunxi/pmic_bus.c > create mode 100644 arch/arm/include/asm/arch-sunxi/pmic_bus.h
Reviewed-by: Simon Glass <s...@chromium.org> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot