projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d893b8a
)
fdt: Drop #ifdef around board_fdt_blob_setup()
author
Simon Glass
<sjg@chromium.org>
Fri, 17 Dec 2021 03:59:27 +0000
(20:59 -0700)
committer
Tom Rini
<trini@konsulko.com>
Thu, 23 Dec 2021 15:24:39 +0000
(10:24 -0500)
This serves no purpose. Drop it.
Signed-off-by: Simon Glass <sjg@chromium.org>
lib/fdtdec.c
patch
|
blob
|
history
diff --git
a/lib/fdtdec.c
b/lib/fdtdec.c
index
fbdc92c
..
299a2c3
100644
(file)
--- 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)
{