summaryrefslogtreecommitdiff
path: root/src/mainboard/lowrisc/nexys4ddr
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-06-08 18:31:43 +0200
committerNico Huber <nico.h@gmx.de>2018-06-09 16:39:35 +0000
commit5cb876cc1fef34e238e37facb36a77dbc45ced9a (patch)
treec16a4900067f028fdc9812e52fa82b02b1aad990 /src/mainboard/lowrisc/nexys4ddr
parent7a5f77142f68edd03874015300e471eb80d03c45 (diff)
downloadcoreboot-5cb876cc1fef34e238e37facb36a77dbc45ced9a.tar.xz
mainboard: Get rid of device_t in ramstage
Use of device_t has been abandoned in ramstage. Change-Id: I07e00afbbd2c19cf3ea6e08f228eb39e45f1ad0c Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26983 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/mainboard/lowrisc/nexys4ddr')
-rw-r--r--src/mainboard/lowrisc/nexys4ddr/mainboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/lowrisc/nexys4ddr/mainboard.c b/src/mainboard/lowrisc/nexys4ddr/mainboard.c
index 97acc1e15d..3ef833741d 100644
--- a/src/mainboard/lowrisc/nexys4ddr/mainboard.c
+++ b/src/mainboard/lowrisc/nexys4ddr/mainboard.c
@@ -17,7 +17,7 @@
#include <device/device.h>
#include <symbols.h>
-static void mainboard_enable(device_t dev)
+static void mainboard_enable(struct device *dev)
{
uintptr_t ram_base;
size_t ram_size;