diff options
author | Simon Glass <sjg@chromium.org> | 2015-03-05 12:25:14 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-04-16 19:27:41 -0600 |
commit | 5f7bfdd63094689af501fdef77423e0029c06622 (patch) | |
tree | 1b2fde76cfdacc4e482602e369061a542dbf87e8 /lib/fdtdec.c | |
parent | 20806e748434282af44722ad8b7afbbcf2d54ff4 (diff) | |
download | u-boot-5f7bfdd63094689af501fdef77423e0029c06622.tar.gz |
fdt: Export fdtdec_get_number() for general use
This function is missing a prototype but is more widey useful. Add it.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'lib/fdtdec.c')
-rw-r--r-- | lib/fdtdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fdtdec.c b/lib/fdtdec.c index 1a0268a3f9..915fe2444a 100644 --- a/lib/fdtdec.c +++ b/lib/fdtdec.c @@ -918,7 +918,7 @@ int fdtdec_read_fmap_entry(const void *blob, int node, const char *name, return 0; } -static u64 fdtdec_get_number(const fdt32_t *ptr, unsigned int cells) +u64 fdtdec_get_number(const fdt32_t *ptr, unsigned int cells) { u64 number = 0; |