summaryrefslogtreecommitdiff
path: root/include/fdtdec.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-12-21 16:08:18 -0700
committerSimon Glass <sjg@chromium.org>2023-01-18 11:49:13 -0700
commitc662d0b72272b183d66039c9337f7b58b56530ff (patch)
treeb8307003f651dde20e0364bb83ba94d297807cab /include/fdtdec.h
parent0c16fca927751fbb9be6f026ec8534d289156d3c (diff)
fdt: Avoid exporting fdtdec_prepare_fdt()
This function is not used outside this file. Make it static. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/fdtdec.h')
-rw-r--r--include/fdtdec.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/fdtdec.h b/include/fdtdec.h
index 12355afd7f..aa61a0fca1 100644
--- a/include/fdtdec.h
+++ b/include/fdtdec.h
@@ -555,15 +555,6 @@ uint64_t fdtdec_get_uint64(const void *blob, int node, const char *prop_name,
int fdtdec_get_is_enabled(const void *blob, int node);
/**
- * Make sure we have a valid fdt available to control U-Boot.
- *
- * If not, a message is printed to the console if the console is ready.
- *
- * Return: 0 if all ok, -1 if not
- */
-int fdtdec_prepare_fdt(void);
-
-/**
* Checks that we have a valid fdt available to control U-Boot.
* However, if not then for the moment nothing is done, since this function