diff options
author | Aaron Durbin <adurbin@chromium.org> | 2015-10-15 12:22:27 -0500 |
---|---|---|
committer | Julius Werner <jwerner@chromium.org> | 2015-11-07 03:28:50 +0100 |
commit | 1148786c05d97b4c646c11e770b275809b562953 (patch) | |
tree | 98d03627dc2f49c788042cb0f743c2e1dd377dc9 /src/arch/arm64/include | |
parent | 0325a45fd03eb33818c7ac32208ea6568236ec14 (diff) |
arm64: remove spin table support
As ARM Trusted Firmware is the only first class citizen for
booting arm64 multi-processor in coreboot remove spintable
support. If SoCs want to bring up MP then ATF needs to be
ported and integrated.
Change-Id: I1f38b8d8b0952eee50cc64440bfd010b1dd0bff4
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/11908
Tested-by: build bot (Jenkins)
Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/arch/arm64/include')
-rw-r--r-- | src/arch/arm64/include/arch/spintable.h | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/src/arch/arm64/include/arch/spintable.h b/src/arch/arm64/include/arch/spintable.h deleted file mode 100644 index 598090ac60..0000000000 --- a/src/arch/arm64/include/arch/spintable.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * This file is part of the coreboot project. - * - * Copyright 2014 Google, Inc. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; version 2 of the License. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - */ - -#ifndef __ARCH_SPINTABLE_H__ -#define __ARCH_SPINTABLE_H__ - -struct spintable_attributes { - void (*entry)(void *); - void *addr; -}; - -#if IS_ENABLED(CONFIG_ARM64_USE_SPINTABLE) - -/* Initialize spintable with provided monitor address. */ -void spintable_init(void *monitor_address); - -/* Return NULL on failure, otherwise the spintable info. */ -const struct spintable_attributes *spintable_get_attributes(void); - -#else /* IS_ENABLED(CONFIG_ARM64_USE_SPINTABLE) */ - -static inline void spintable_init(void *monitor_address) {} -static inline const struct spintable_attributes *spintable_get_attributes(void) -{ - return NULL; -} - -#endif /* IS_ENABLED(CONFIG_ARM64_USE_SPINTABLE) */ - -/* Start spinning on the non-boot CPUs. */ -void spintable_start(void); - -#endif /* __ARCH_SPINTABLE_H__ */ |