summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarshall Dawson <marshalldawson3rd@gmail.com>2016-10-11 14:19:07 -0400
committerMartin Roth <martinroth@google.com>2016-12-16 23:05:11 +0100
commit698b3876cc1d17b2aa5e1c7d0e20794c60b801bc (patch)
tree70c0ac81536db30a8752c597abe13e0418ce0b7f
parentce128a7ef1c11cf6c21c137855b2b28d79bfae31 (diff)
downloadcoreboot-698b3876cc1d17b2aa5e1c7d0e20794c60b801bc.tar.xz
amd/gardenia: Enable LPC decodes
Turn on LPC decoding in romstage. Original-Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com> Original-Reviewed-by: Marc Jones <marcj303@gmail.com> (cherry picked from commit 5d9dae5a1fdab1bf6c418dc7e6de28069bd342dc) Change-Id: I937eb5c5b6c6a9f7a13ebd0bec7fcc8d789427ce Signed-off-by: Marc Jones <marcj303@gmail.com> Reviewed-on: https://review.coreboot.org/17227 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
-rw-r--r--src/mainboard/amd/gardenia/romstage.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/amd/gardenia/romstage.c b/src/mainboard/amd/gardenia/romstage.c
index c3e2aa4b62..eca9d3bd58 100644
--- a/src/mainboard/amd/gardenia/romstage.c
+++ b/src/mainboard/amd/gardenia/romstage.c
@@ -1,7 +1,7 @@
/*
* This file is part of the coreboot project.
*
- * Copyright (C) 2015 Advanced Micro Devices, Inc.
+ * Copyright (C) 2015-2016 Advanced Micro Devices, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -33,8 +33,8 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
#endif
amd_initmmio();
-
hudson_lpc_port80();
+ hudson_lpc_decode();
if (!cpu_init_detectedx && boot_cpu()) {
post_code(0x30);