mb/scaleway/tagada: Update HSIO configuration
Change-Id: I213ea13078fdc28489eb4572a084146df333a31d Signed-off-by: Julien Viard de Galbert <jviarddegalbert@online.net> Reviewed-on: https://review.coreboot.org/23737 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
parent
bd9ddbcd33
commit
3c5019dfd9
|
@ -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;
|
||||
}
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue