aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/scaleway/tagada/hsio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/scaleway/tagada/hsio.c')
-rw-r--r--src/mainboard/scaleway/tagada/hsio.c16
1 files changed, 3 insertions, 13 deletions
diff --git a/src/mainboard/scaleway/tagada/hsio.c b/src/mainboard/scaleway/tagada/hsio.c
index fa17130075..a8a2035f26 100644
--- a/src/mainboard/scaleway/tagada/hsio.c
+++ b/src/mainboard/scaleway/tagada/hsio.c
@@ -2,7 +2,7 @@
* This file is part of the coreboot project.
*
* Copyright (C) 2017 Intel Corporation.
- * Copyright (C) 2017 Online SAS.
+ * Copyright (C) 2017 - 2018 Online SAS.
*
* 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
@@ -14,23 +14,13 @@
* GNU General Public License for more details.
*/
-#include <harcuvar_boardid.h>
#include <hsio.h>
#include <soc/fiamux.h>
size_t mainboard_get_hsio_config(BL_HSIO_INFORMATION **p_hsio_config)
{
- uint8_t boardid = board_id();
size_t num;
- switch (boardid) {
- case BoardIdHarcuvar:
- num = ARRAY_SIZE(harcuvar_hsio_config);
- (*p_hsio_config) = (BL_HSIO_INFORMATION *)harcuvar_hsio_config;
- break;
- default:
- num = 0;
- (*p_hsio_config) = NULL;
- break;
- }
+ num = ARRAY_SIZE(tagada_hsio_config);
+ (*p_hsio_config) = (BL_HSIO_INFORMATION *)tagada_hsio_config;
return num;
}