aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/intel/harcuvar/hsio.c
diff options
context:
space:
mode:
authorJacob Garber <jgarber1@ualberta.ca>2020-02-18 23:29:21 -0700
committerAngel Pons <th3fanbus@gmail.com>2020-04-18 19:07:41 +0000
commit069cd678546c9b433442e1dbeea46d3a5e923aa5 (patch)
tree1d6670a68c48c9860f6224ecaa0f43db68a97701 /src/mainboard/intel/harcuvar/hsio.c
parent9e3e49234d30dadd5888b389ed572a2faac1c6af (diff)
mb/intel/harcuvar: Fix board_id() return type
The weak definition of board_id() in coreboot_table.c returns a uint32_t, so update this function to match. This fixes a compiler error when using LTO. Change-Id: I6ad03ecedcf4a4d9f0c917cdc760f81ddde06d11 Signed-off-by: Jacob Garber <jgarber1@ualberta.ca> Reviewed-on: https://review.coreboot.org/c/coreboot/+/39015 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: David Guckian Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/mainboard/intel/harcuvar/hsio.c')
-rw-r--r--src/mainboard/intel/harcuvar/hsio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/intel/harcuvar/hsio.c b/src/mainboard/intel/harcuvar/hsio.c
index d786b8fb2e..948f3263fc 100644
--- a/src/mainboard/intel/harcuvar/hsio.c
+++ b/src/mainboard/intel/harcuvar/hsio.c
@@ -7,7 +7,7 @@
size_t mainboard_get_hsio_config(BL_HSIO_INFORMATION **p_hsio_config)
{
- uint8_t boardid = board_id();
+ uint32_t boardid = board_id();
size_t num;
switch (boardid) {
case BoardIdHarcuvar: