From 300338fccfaf046be4ba728fd1b5431fd1057faa Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Fri, 14 Oct 2022 14:55:25 -0600 Subject: 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 Change-Id: I249507a97ed6c44805e9e66a6ea23f200d62cf66 Reviewed-on: https://review.coreboot.org/c/coreboot/+/68544 Tested-by: build bot (Jenkins) Reviewed-by: Fred Reitberger --- src/soc/amd/mendocino/include/soc/stb.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/soc/amd/mendocino/include/soc/stb.h (limited to 'src/soc/amd/mendocino/include') 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 */ -- cgit v1.2.3