summaryrefslogtreecommitdiffstats
path: root/src/mainboard/facebook/fbg1701/mainboard.h
diff options
context:
space:
mode:
authorFrans Hendriks <fhendriks@eltan.com>2019-10-01 13:41:04 +0200
committerFelix Held <felix-coreboot@felixheld.de>2019-10-03 14:04:35 +0000
commit0b20b83b7da32fc96f41ca7fe92c920d36a05b05 (patch)
tree3e411813ced842c2aec58070b2565d4071537a6d /src/mainboard/facebook/fbg1701/mainboard.h
parent22f009901dd0874909d66122ac2ad37d53d8d366 (diff)
downloadcoreboot-0b20b83b7da32fc96f41ca7fe92c920d36a05b05.tar.gz
coreboot-0b20b83b7da32fc96f41ca7fe92c920d36a05b05.tar.bz2
coreboot-0b20b83b7da32fc96f41ca7fe92c920d36a05b05.zip
mb/facebook/fbg1701: Add mainboard_read_pcb_version()
PCB version is determined using inb() in actual code. Create function mainboard_read_pcb_version to read pcb version. BUG=N/A TEST=Boot and verified on Facebook FBG-1701 Change-Id: I7c16627f468d84ca4ad2aab8bf9fb555f50dc23c Signed-off-by: Frans Hendriks <fhendriks@eltan.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/35741 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/mainboard/facebook/fbg1701/mainboard.h')
-rw-r--r--src/mainboard/facebook/fbg1701/mainboard.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainboard/facebook/fbg1701/mainboard.h b/src/mainboard/facebook/fbg1701/mainboard.h
index e161da03965b..3cace548b336 100644
--- a/src/mainboard/facebook/fbg1701/mainboard.h
+++ b/src/mainboard/facebook/fbg1701/mainboard.h
@@ -16,6 +16,7 @@
#ifndef MAINBOARD_H
#define MAINBOARD_H
+unsigned int mainboard_read_pcb_version(void);
void *load_logo(size_t *logo_size);
#endif