arm-trusted-firmware/plat
Andre Przywara dcf6d4f8ed rpi3: Do prescaler and control setup in C
To initialise the arch timer configuration and some clock prescaler, we
need to do two MMIO access *once*, early during boot.

As tempting as it may sound, plat_reset_handler() is not the right place
to do this, as it will be called on every CPU coming up, both for
secondary cores as well as during warmboots. So this access will be done
multiple times, and even during a rich OS' runtime. Whether doing so anyway
is actually harmful is hard to say, but we should definitely avoid this if
possible.

Move the initialisation of these registers to C code in
bl1_early_platform_setup(), where it will still be executed early enough
(before enabling the console), but only once during the whole boot
process.

Change-Id: I081c41a5476d424411411488ff8f633e87d3bcc5
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
2019-09-13 16:54:21 +01:00
..
allwinner Remove MULTI_CONSOLE_API flag and references to it 2019-06-28 10:52:48 +01:00
amlogic amlogic: Fix includes order 2019-09-11 18:05:26 +01:00
arm Merge "plat/arm: Introduce corstone700 platform." into integration 2019-08-20 14:47:56 +00:00
common Add UBSAN support and handlers 2019-09-11 14:15:54 +01:00
hisilicon Switch AARCH32/AARCH64 to __aarch64__ 2019-08-01 13:45:03 -07:00
imx Replace __ASSEMBLY__ with compiler-builtin __ASSEMBLER__ 2019-08-01 13:14:12 -07:00
intel/soc Invalidate dcache build option for bl2 entry at EL3 2019-09-12 12:36:31 +00:00
layerscape Switch AARCH32/AARCH64 to __aarch64__ 2019-08-01 13:45:03 -07:00
marvell Replace __ASSEMBLY__ with compiler-builtin __ASSEMBLER__ 2019-08-01 13:14:12 -07:00
mediatek Merge changes I08cf22df,I535ee414,Ie84cfc96,I8c35ce4e,If7649764, ... into integration 2019-09-13 11:51:49 +00:00
nvidia/tegra Tegra: memctrl_v2: fix "overflow before widen" coverity issue 2019-09-05 08:40:38 -07:00
qemu qemu: Move and generalise FDT PSCI fixup 2019-09-13 16:54:21 +01:00
renesas/rcar rcar_get3: drivers: ddr: Partly unify register macros between DDR A and B 2019-08-29 13:02:30 +02:00
rockchip Merge changes from topic "rockchip-uart-fixes" into integration 2019-08-15 15:30:13 +00:00
rpi rpi3: Do prescaler and control setup in C 2019-09-13 16:54:21 +01:00
socionext uniphier: set CONSOLE_FLAG_TRANSLATE_CRLF and clean up console driver 2019-09-03 09:08:16 +00:00
st stm32mp1: manage CONSOLE_FLAG_TRANSLATE_CRLF and cleanup driver 2019-09-10 17:21:58 +02:00
ti/k3 ti: k3: common: Trap all asynchronous bus errors to EL3 2019-07-04 12:14:46 -04:00
xilinx plat: xilinx: zynqmp: Initialize IPI table from zynqmp_config_setup() 2019-09-10 12:25:56 -07:00