diff options
author | 2018-03-16 22:40:26 +1100 | |
---|---|---|
committer | 2018-06-07 11:49:14 +1000 | |
commit | 0112fda03bf653e36592b22dee97767aaa524232 (patch) | |
tree | 6afce616d473e768a366be25e5c9b2f1b672de4d /fdtdump.c | |
parent | 6473a21d8bfe0eb923e4adfd2b536e79ca248081 (diff) |
libfdt: Add fdt_header_size()
We have a couple of places within libfdt and its tests where we need to
find the size of the header, based on the version. Add a helper function
for it.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Diffstat (limited to 'fdtdump.c')
0 files changed, 0 insertions, 0 deletions