summaryrefslogtreecommitdiff
path: root/util/intelmetool/rcba.c
diff options
context:
space:
mode:
authorPatrick Rudolph <patrick.rudolph@9elements.com>2018-02-01 16:14:19 +0100
committerPhilipp Deppenwiese <zaolin.daisuki@gmail.com>2018-04-16 22:27:02 +0000
commit0391d0b023fb66dc2d1fe4c0873424d75ab4bbf3 (patch)
treeaee4ee627a72b44583cf79083138b3f9712bbbfc /util/intelmetool/rcba.c
parentaac3b31dbbc5b46aeb9393fb5594f0271d50a007 (diff)
downloadcoreboot-0391d0b023fb66dc2d1fe4c0873424d75ab4bbf3.tar.xz
util/intelmetool: Add support for platforms without RCBA
Only try to unhide MEI if the PCI device wasn't found and probe for RCBA before trying to use it. Allows to run the utility on Skylake and newer hardware that do not have RCBA any more. TODO: Use sideband interface to unhide MEI. Change-Id: I7926aa80b132d5be9fece0724516701d74dd4d3d Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-on: https://review.coreboot.org/25399 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
Diffstat (limited to 'util/intelmetool/rcba.c')
-rw-r--r--util/intelmetool/rcba.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/intelmetool/rcba.c b/util/intelmetool/rcba.c
index fcc9bc59c9..c138e89fd3 100644
--- a/util/intelmetool/rcba.c
+++ b/util/intelmetool/rcba.c
@@ -22,7 +22,7 @@
static const int size = 0x4000;
/* Returns the physical RCBA base address or zero on error. */
-static u32 get_rcba_phys(void)
+u32 get_rcba_phys(void)
{
struct pci_access *pacc;
struct pci_dev *sb;