u-boot/arch/arm
Peter Hoyes c48fec6e7c armv8: Initialize CNTFRQ if at highest exception level
CNTFRQ_EL0 is only writable from the highest supported exception
level on the platform. For Armv8-A, this is typically EL3, but
technically EL2 and EL3 are optional so it may need to be
initialized at EL2 or EL1. For Armv8-R, the highest exception
level is always EL2.

This patch moves the initialization outside of the switch_el
block and uses a new macro branch_if_not_highest_el which
dynamically detects whether it is at the highest supported
exception level.

Linux's docs state that CNTFRQ_EL0 should be initialized by the
bootloader. If not set, the the U-Boot prompt countdown hangs.

Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com>
2021-07-23 18:53:46 -04:00
..
cpu armv8: Initialize CNTFRQ if at highest exception level 2021-07-23 18:53:46 -04:00
dts dts: synquacer: Add partition information to the spi-nor 2021-07-23 18:53:45 -04:00
include armv8: Initialize CNTFRQ if at highest exception level 2021-07-23 18:53:46 -04:00
lib
mach-aspeed
mach-at91
mach-bcm283x
mach-bcmstb
mach-cortina
mach-davinci
mach-exynos
mach-highbank
mach-imx usb: Enforce DM_USB migration for USB_HOST devices. 2021-07-18 21:05:31 -04:00
mach-integrator
mach-ipq40xx
mach-k3 arm: mach-k3: am642_init: Add missing ddr guard 2021-07-15 17:56:04 +05:30
mach-keystone
mach-kirkwood
mach-lpc32xx
mach-mediatek
mach-meson
mach-mvebu arm: a37xx: pci: Optimize a3700_fdt_fix_pcie_regions() when fixup offset is zero 2021-07-15 10:53:05 +02:00
mach-nexell
mach-octeontx
mach-octeontx2
mach-omap2 Merge tag 'ti-v2021.10-rc1' of https://source.denx.de/u-boot/custodians/u-boot-ti 2021-07-19 08:29:24 -04:00
mach-orion5x
mach-owl
mach-qemu
mach-rmobile ARM: rmobile: Align CPU: print with other prints 2021-07-20 23:33:54 +02:00
mach-rockchip
mach-s5pc1xx
mach-snapdragon board: dragonboard410c: Load U-Boot directly without LK 2021-07-23 18:53:45 -04:00
mach-socfpga
mach-sti
mach-stm32
mach-stm32mp stm32mp: use device sequence number in boot_instance variable 2021-07-16 09:28:46 +02:00
mach-sunxi mmc: sunxi: Enable "new timing mode" on all new SoCs 2021-07-10 01:22:09 +01:00
mach-tegra
mach-u8500 board: stemmy: Copy atags for booting downstream/vendor kernel 2021-07-14 16:48:12 -04:00
mach-uniphier
mach-versal
mach-versatile
mach-zynq
mach-zynqmp
mach-zynqmp-r5
thumb1/include/asm/proc-armv
Kconfig usb: Enforce DM_USB migration for USB_HOST devices. 2021-07-18 21:05:31 -04:00
Kconfig.debug
Makefile
config.mk