aboutsummaryrefslogtreecommitdiff
path: root/board/sifive/unmatched
diff options
context:
space:
mode:
Diffstat (limited to 'board/sifive/unmatched')
-rw-r--r--board/sifive/unmatched/unmatched.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/sifive/unmatched/unmatched.c b/board/sifive/unmatched/unmatched.c
index 93c452c..4895909 100644
--- a/board/sifive/unmatched/unmatched.c
+++ b/board/sifive/unmatched/unmatched.c
@@ -11,8 +11,9 @@
#include <dm.h>
#include <asm/sections.h>
-void *board_fdt_blob_setup(void)
+void *board_fdt_blob_setup(int *err)
{
+ *err = 0;
if (IS_ENABLED(CONFIG_OF_SEPARATE)) {
if (gd->arch.firmware_fdt_addr)
return (ulong *)(uintptr_t)gd->arch.firmware_fdt_addr;