summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-12-17 06:59:27 +0300
committerTom Rini <trini@konsulko.com>2021-12-23 18:24:39 +0300
commit66cd511f133a2f0e5f38d3c92317c851e42b01c0 (patch)
treea20b69b3e527868edb2a32e6281d1f42cf24b636 /lib
parentd893b8ad095f952829933c79b09345ae0c8ebd6b (diff)
downloadu-boot-66cd511f133a2f0e5f38d3c92317c851e42b01c0.tar.xz
fdt: Drop #ifdef around board_fdt_blob_setup()
This serves no purpose. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/fdtdec.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/fdtdec.c b/lib/fdtdec.c
index fbdc92c081..299a2c3a32 100644
--- a/lib/fdtdec.c
+++ b/lib/fdtdec.c
@@ -1203,7 +1203,6 @@ static int uncompress_blob(const void *src, ulong sz_src, void **dstp)
return 0;
}
-#if defined(CONFIG_OF_BOARD) || defined(CONFIG_OF_SEPARATE)
/*
* For CONFIG_OF_SEPARATE, the board may optionally implement this to
* provide and/or fixup the fdt.
@@ -1226,7 +1225,6 @@ __weak void *board_fdt_blob_setup(int *err)
return fdt_blob;
}
-#endif
int fdtdec_set_ethernet_mac_address(void *fdt, const u8 *mac, size_t size)
{