aboutsummaryrefslogtreecommitdiff
path: root/src/soc/amd/mendocino/include
diff options
context:
space:
mode:
authorMartin Roth <gaumless@gmail.com>2022-10-14 14:55:25 -0600
committerMartin Roth <martin.roth@amd.corp-partner.google.com>2022-10-28 21:36:22 +0000
commit300338fccfaf046be4ba728fd1b5431fd1057faa (patch)
treed1d7527bd05c88b46ebdd7ec3315f091b7e74f4b /src/soc/amd/mendocino/include
parent7e3c1ced40e83e0a266cde519eea49eab4709807 (diff)
soc/amd/mendocino: Add code for printing STB to boot log
This adds the mendocino specific code for printing the STB data to the boot log. It still needs to be enabled in the mainboard to be used. Signed-off-by: Martin Roth <gaumless@gmail.com> Change-Id: I249507a97ed6c44805e9e66a6ea23f200d62cf66 Reviewed-on: https://review.coreboot.org/c/coreboot/+/68544 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com>
Diffstat (limited to 'src/soc/amd/mendocino/include')
-rw-r--r--src/soc/amd/mendocino/include/soc/stb.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/soc/amd/mendocino/include/soc/stb.h b/src/soc/amd/mendocino/include/soc/stb.h
new file mode 100644
index 0000000000..cba1d0a9e5
--- /dev/null
+++ b/src/soc/amd/mendocino/include/soc/stb.h
@@ -0,0 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#ifndef AMD_MENDOCINO_STB_H
+#define AMD_MENDOCINO_STB_H
+
+#define STB_CFG_SMN_ADDR 0x3E00000
+#define AMD_STB_SDRAM_FIFO_SIZE 2048
+
+#endif /* AMD_MENDOCINO_STB_H */