]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: mach-omap2: load/start remoteproc IPU1/IPU2
authorKeerthy <j-keerthy@ti.com>
Thu, 27 Jan 2022 12:16:52 +0000 (13:16 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 8 Feb 2022 14:41:27 +0000 (09:41 -0500)
commit0197909dd1c166dfb2e92b338b72d164e70db36f
tree7e3134786b8fcec5ee603ff9a2d21c185b1dc6de
parent795b2c476f7dd7ecf9de95d8dca8ef0c8657dde4
arm: mach-omap2: load/start remoteproc IPU1/IPU2

First check the presence of the ipu firmware in the boot partition.
If present enable the ipu and the related clocks & then move
on to load the firmware and eventually start remoteproc IPU1/IPU2.

do_enable_clocks by default puts the clock domains into auto
which does not work well with reset. Hence adding do_enable_ipu_clocks
function.

Signed-off-by: Keerthy <j-keerthy@ti.com>
[Amjad: fix IPU1_LOAD_ADDR and compile warnings]
Signed-off-by: Amjad Ouled-Ameur <aouledameur@baylibre.com>
arch/arm/include/asm/arch-omap5/clock.h
arch/arm/include/asm/omap_common.h
arch/arm/mach-omap2/boot-common.c
arch/arm/mach-omap2/clocks-common.c
arch/arm/mach-omap2/omap5/hw_data.c
arch/arm/mach-omap2/omap5/prcm-regs.c