diff options
author | Hung-Te Lin <hungte@chromium.org> | 2013-08-06 20:37:55 +0800 |
---|---|---|
committer | Isaac Christensen <isaac.christensen@se-eng.com> | 2014-07-31 18:31:53 +0200 |
commit | 0682cfefdb888807bef6ee7f3bb81615282e0390 (patch) | |
tree | ebf77bbb06c2c326d0aa3ab7e0390069d8118cb5 /src/cpu/samsung/exynos5420/cpu.h | |
parent | c3fda416a7e71eae4803c07f0fae4b0b931d1ca8 (diff) |
armv7/exynos5420: Configure CPU cores for kernel to enable SMP.
The SMP on Exynos 5420 requires setting a special page and entry wrappers in
firmware side (SRAM) so kernel can start cores (and to switch clusters).
Change-Id: I77ca98bb6cff5b13e95dd29228e4536302f0aee9
Signed-off-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/64770
Reviewed-by: Ronald G. Minnich <rminnich@chromium.org>
(cherry picked from commit 4a11c7ab78cc0811df0f88763b0af8b9f24e5433)
Signed-off-by: Isaac Christensen <isaac.christensen@se-eng.com>
Reviewed-on: http://review.coreboot.org/6405
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Diffstat (limited to 'src/cpu/samsung/exynos5420/cpu.h')
-rw-r--r-- | src/cpu/samsung/exynos5420/cpu.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/cpu/samsung/exynos5420/cpu.h b/src/cpu/samsung/exynos5420/cpu.h index 22ef8dbf40..08f315a57d 100644 --- a/src/cpu/samsung/exynos5420/cpu.h +++ b/src/cpu/samsung/exynos5420/cpu.h @@ -224,8 +224,6 @@ #define EXYNOS5_SPI_NUM_CONTROLLERS 5 #define EXYNOS_I2C_MAX_CONTROLLERS 8 -void exynos5420_config_l2_cache(void); - extern struct tmu_info exynos5420_tmu_info; /* TODO clean up defines. */ @@ -264,4 +262,8 @@ static inline u32 get_fb_base_kb(void) return RAM_BASE_KB + RAM_SIZE_KB - FB_SIZE_KB; } +/* Procedures to setup Exynos5420 CPU */ +void exynos5420_config_l2_cache(void); +void exynos5420_config_smp(void); + #endif /* _EXYNOS5420_CPU_H */ |