diff options
author | Fabrizio Castro <fabrizio.castro@bp.renesas.com> | 2018-02-12 20:44:19 +0300 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2018-03-13 22:54:16 +0300 |
commit | 01d675f159e0f0792947fb823cf2425da4d747ad (patch) | |
tree | 8e4006f76e798a0e10f77ca73a6db0b97ee2bf4d /arch/arm/mach-shmobile/platsmp-apmu.c | |
parent | 58adf1ba0d227754d9bc763c667f10efe0053ce5 (diff) | |
download | linux-01d675f159e0f0792947fb823cf2425da4d747ad.tar.xz |
ARM: shmobile: rcar-gen2: Add watchdog support
This patch adds watchdog support by installing shmobile_boot_vector_gen2
to ICRAM1 when enough memory is available, in which case we also keep a
copy of MPIDR to complete the reset vector logic.
Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Signed-off-by: Ramesh Shanmugasundaram <ramesh.shanmugasundaram@bp.renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile/platsmp-apmu.c')
-rw-r--r-- | arch/arm/mach-shmobile/platsmp-apmu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/platsmp-apmu.c b/arch/arm/mach-shmobile/platsmp-apmu.c index 4422b615a6ee..ba732effc90b 100644 --- a/arch/arm/mach-shmobile/platsmp-apmu.c +++ b/arch/arm/mach-shmobile/platsmp-apmu.c @@ -191,6 +191,7 @@ static void __init shmobile_smp_apmu_setup_boot(void) { /* install boot code shared by all CPUs */ shmobile_boot_fn = __pa_symbol(shmobile_smp_boot); + shmobile_boot_fn_gen2 = shmobile_boot_fn; } void __init shmobile_smp_apmu_prepare_cpus(unsigned int max_cpus, |