summaryrefslogtreecommitdiff
path: root/src/mainboard/amd
diff options
context:
space:
mode:
authorFred Reitberger <reitbergerfred@gmail.com>2023-02-23 14:14:28 -0500
committerFred Reitberger <reitbergerfred@gmail.com>2023-02-27 12:34:44 +0000
commit15373758dfa10cb78a3a39266e23573ba66d0b4a (patch)
tree4d19fa524b8a0049553599be0ebed7052598000f /src/mainboard/amd
parent997ead6d117d2e67af8bff289302dae6406bee4e (diff)
mb/amd/birman/bootblock.c: Skip EC configuration in SimNow
SimNow does not support the Birman EC, so skip the EC configuration steps when building for SimNow. Signed-off-by: Fred Reitberger <reitbergerfred@gmail.com> Change-Id: I6e879a13a119d593674d3403d4e1b32e0e244d9f Reviewed-on: https://review.coreboot.org/c/coreboot/+/73166 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/mainboard/amd')
-rw-r--r--src/mainboard/amd/birman/bootblock.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mainboard/amd/birman/bootblock.c b/src/mainboard/amd/birman/bootblock.c
index a6e525dcd4..1c47e6d890 100644
--- a/src/mainboard/amd/birman/bootblock.c
+++ b/src/mainboard/amd/birman/bootblock.c
@@ -14,5 +14,6 @@ void bootblock_mainboard_early_init(void)
void bootblock_mainboard_init(void)
{
- birman_ec_init();
+ if (!CONFIG(SOC_AMD_COMMON_BLOCK_SIMNOW_BUILD))
+ birman_ec_init();
}