diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2018-03-16 22:40:26 +1100 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2018-06-07 11:49:14 +1000 |
commit | 0112fda03bf653e36592b22dee97767aaa524232 (patch) | |
tree | 6afce616d473e768a366be25e5c9b2f1b672de4d /util.c | |
parent | 6473a21d8bfe0eb923e4adfd2b536e79ca248081 (diff) | |
download | dtc-0112fda03bf653e36592b22dee97767aaa524232.zip dtc-0112fda03bf653e36592b22dee97767aaa524232.tar.gz dtc-0112fda03bf653e36592b22dee97767aaa524232.tar.bz2 |
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 'util.c')
0 files changed, 0 insertions, 0 deletions