]> git.sur5r.net Git - u-boot/commit
ARM: Introduce function to switch to hypervisor mode
authorKeerthy <j-keerthy@ti.com>
Wed, 14 Sep 2016 05:13:32 +0000 (10:43 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 7 Oct 2016 00:58:16 +0000 (20:58 -0400)
commitd31d4a2d7523c73b5da03a1697b6438e1fe1b027
tree1bfe4392313b45845b4e4abae169f3f611852138
parent60d42e9d519857921118b91c23a0062935c9d085
ARM: Introduce function to switch to hypervisor mode

On some of the SoCs one cannot enable hypervisor mode directly from the
u-boot because the ROM code puts the chip to supervisor mode after it
jumps to boot loader. Hence introduce a weak function which can be
overridden based on the SoC type and switch to hypervisor mode in a
custom way.

Cc: beagleboard-x15@googlegroups.com
Signed-off-by: Keerthy <j-keerthy@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
arch/arm/cpu/armv7/start.S
arch/arm/include/asm/system.h