diff options
author | Brendan Higgins <brendanhiggins@google.com> | 2017-08-16 12:18:39 -0700 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2018-03-06 17:54:23 +0100 |
commit | 7bffa14c9aed5f788d3126271f0fd8758fbd129e (patch) | |
tree | 94bc11ab69c834126df570fee3c1b31b673f6de0 /arch/arm/mach-npcm/headsmp.S | |
parent | 6a498e06ba22872d3a27cc0dae77b9314b1de48b (diff) |
arm: npcm: add basic support for Nuvoton BMCs
Adds basic support for the Nuvoton NPCM750 BMC.
Signed-off-by: Brendan Higgins <brendanhiggins@google.com>
Reviewed-by: Tomer Maimon <tmaimon77@gmail.com>
Reviewed-by: Avi Fishman <avifishman70@gmail.com>
Tested-by: Tomer Maimon <tmaimon77@gmail.com>
Tested-by: Avi Fishman <avifishman70@gmail.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-npcm/headsmp.S')
-rw-r--r-- | arch/arm/mach-npcm/headsmp.S | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/mach-npcm/headsmp.S b/arch/arm/mach-npcm/headsmp.S new file mode 100644 index 000000000000..c083fe09a07b --- /dev/null +++ b/arch/arm/mach-npcm/headsmp.S @@ -0,0 +1,17 @@ +// SPDX-License-Identifier: GPL-2.0 +// Copyright (c) 2018 Nuvoton Technology corporation. +// Copyright 2018 Google, Inc. + +#include <linux/linkage.h> +#include <linux/init.h> +#include <asm/assembler.h> + +/* + * The boot ROM does not start secondary CPUs in SVC mode, so we need to do that + * here. + */ +ENTRY(npcm7xx_secondary_startup) + safe_svcmode_maskall r0 + + b secondary_startup +ENDPROC(npcm7xx_secondary_startup) |