[PATCH v6 06/11] ARM: sunxi: Add initialization of CNTVOFF

2018-04-16 Thread Mylène Josserand
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.

[PATCH v6 06/11] ARM: sunxi: Add initialization of CNTVOFF

2018-04-16 Thread Mylène Josserand
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.