summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFred Reitberger <reitbergerfred@gmail.com>2023-02-23 13:31:15 -0500
committerFred Reitberger <reitbergerfred@gmail.com>2023-02-27 12:33:50 +0000
commite299d04cd910edb9752a84c5e76af07d4352a8e8 (patch)
tree2edd7dea2c9a66ea9e6c4e143974c65b2fdc3805
parent16e210863fc716e4ebbaff1440aa07acb5f12678 (diff)
soc/amd/common/block/simnow: Add SimNow Kconfig options
Add option for mainboards to target builds for SimNow. Signed-off-by: Fred Reitberger <reitbergerfred@gmail.com> Change-Id: Id765437b69f1bc3a9f9d7858edcd27e687d5a7f3 Reviewed-on: https://review.coreboot.org/c/coreboot/+/73164 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
-rw-r--r--src/soc/amd/common/block/simnow/Kconfig24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/soc/amd/common/block/simnow/Kconfig b/src/soc/amd/common/block/simnow/Kconfig
new file mode 100644
index 0000000000..31c9ad22ed
--- /dev/null
+++ b/src/soc/amd/common/block/simnow/Kconfig
@@ -0,0 +1,24 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
+config SOC_AMD_COMMON_BLOCK_SIMNOW_SUPPORTED
+ bool
+ help
+ Select this for mainboards that are supported by SimNow
+
+config SOC_AMD_COMMON_BLOCK_SIMNOW_BUILD
+ bool "Build for SimNow"
+ default n
+ depends on SOC_AMD_COMMON_BLOCK_SIMNOW_SUPPORTED
+ select CONSOLE_AMD_SIMNOW
+ help
+ Select this option when building for SimNow
+
+if SOC_AMD_COMMON_BLOCK_SIMNOW_BUILD
+
+config POST_IO
+ default n
+
+config CONSOLE_SERIAL
+ default n
+
+endif