summaryrefslogtreecommitdiff
path: root/src/soc/amd/common/block/include
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2022-01-19 22:26:31 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-01-20 22:28:50 +0000
commit21bc2ca5d5b7f873eb1d6a428b2e7b32dea21a78 (patch)
tree638de91ec39f64a03ecc5b727aa5d0fdb67bd7db /src/soc/amd/common/block/include
parentcf4bba82cbb62237609b03ba2933c81558df4785 (diff)
soc/amd/cezanne,picasso: factor out common early non-car cache setup
This implementation is the same for all SoC that select SOC_AMD_COMMON_BLOCK_NONCAR, so factor it out to the common AMD non-CAR CPU support code folder. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: I53528f0bb75e9d945740ad5065c75e7de7b5878f Reviewed-on: https://review.coreboot.org/c/coreboot/+/61257 Reviewed-by: Raul Rangel <rrangel@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/amd/common/block/include')
-rw-r--r--src/soc/amd/common/block/include/amdblocks/cpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/soc/amd/common/block/include/amdblocks/cpu.h b/src/soc/amd/common/block/include/amdblocks/cpu.h
index 0627bc1377..6576c3b993 100644
--- a/src/soc/amd/common/block/include/amdblocks/cpu.h
+++ b/src/soc/amd/common/block/include/amdblocks/cpu.h
@@ -3,6 +3,7 @@
#ifndef AMD_BLOCK_CPU_H
#define AMD_BLOCK_CPU_H
+void early_cache_setup(void);
int get_cpu_count(void);
void set_cstate_io_addr(void);
void write_resume_eip(void);