mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-02 17:41:08 +00:00
174deb768c
The A31 has a new module called PRCM, or Power, Reset Control Module. This module controls clocks and resets for RTC block modules, and also PLL biasing in the main clock module. This patch adds the register definitions, and also enables the clocks and resets for the RTC block PIO (pin controller) and P2WI (push-pull 2 wire interface) which is used to talk to the PMIC. Signed-off-by: Oliver Schinagl <oliver@schinagl.nl> Signed-off-by: Hans de Goede <hdegoede@redhat.com> [wens@csie.org: spacing fixes reported by checkpatch.pl] [wens@csie.org: Use setbits helper in PRCM init function] [wens@csie.org: rephrase commit message to explain what the hardware supports and what we actually enable] Signed-off-by: Chen-Yu Tsai <wens@csie.org> Acked-by: Ian Campbell <ijc@hellion.org.uk>
33 lines
695 B
Makefile
33 lines
695 B
Makefile
#
|
|
# (C) Copyright 2012 Henrik Nordstrom <henrik@henriknordstrom.net>
|
|
#
|
|
# Based on some other Makefile
|
|
# (C) Copyright 2000-2003
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
obj-y += timer.o
|
|
obj-y += board.o
|
|
obj-y += clock.o
|
|
obj-y += pinmux.o
|
|
obj-$(CONFIG_SUN6I) += prcm.o
|
|
obj-$(CONFIG_SUN4I) += clock_sun4i.o
|
|
obj-$(CONFIG_SUN5I) += clock_sun4i.o
|
|
obj-$(CONFIG_SUN7I) += clock_sun4i.o
|
|
|
|
ifndef CONFIG_SPL_BUILD
|
|
obj-y += cpu_info.o
|
|
ifdef CONFIG_ARMV7_PSCI
|
|
obj-y += psci.o
|
|
endif
|
|
endif
|
|
|
|
ifdef CONFIG_SPL_BUILD
|
|
obj-$(CONFIG_SUN4I) += dram.o
|
|
obj-$(CONFIG_SUN5I) += dram.o
|
|
obj-$(CONFIG_SUN7I) += dram.o
|
|
ifdef CONFIG_SPL_FEL
|
|
obj-y += start.o
|
|
endif
|
|
endif
|