2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-27 06:34:11 +08:00
linux-next/arch/arm/mach-sunxi
Mylène Josserand 46ebbfcb9f ARM: sunxi: Add initialization of CNTVOFF
Add the initialization of CNTVOFF for sun8i-a83t.

For boot CPU, create a new machine that handles this
function's call in an "init_early" callback. We need to initialize
CNTVOFF before the arch timer's initialization otherwise, it will
not be taken into account and fails to boot correctly.
Because of that, this function can't be called in SMP's early_initcall
function which is called after timer's init.

For secondary CPUs, add this function into secondary_startup
assembly entry.

Signed-off-by: Mylène Josserand <mylene.josserand@bootlin.com>
Reviewed-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
2018-05-08 14:52:41 +02:00
..
headsmp.S ARM: sunxi: Add initialization of CNTVOFF 2018-05-08 14:52:41 +02:00
Kconfig ARM: sun9i: Support SMP bring-up on A80 2018-02-20 11:12:38 +08:00
Makefile ARM: sunxi: smp: Move assembly code into a file 2018-05-08 14:47:36 +02:00
mc_smp.c ARM: sunxi: smp: Move assembly code into a file 2018-05-08 14:47:36 +02:00
platsmp.c ARM: 8641/1: treewide: Replace uses of virt_to_phys with __pa_symbol 2017-02-28 11:06:10 +00:00
sunxi.c ARM: sunxi: Add initialization of CNTVOFF 2018-05-08 14:52:41 +02:00