summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2022-03-26 21:44:22 +0200
committerVille Syrjälä <ville.syrjala@linux.intel.com>2022-06-22 15:38:26 +0300
commit4e40b9041b4674e51c777fe66b7c2eec0af942b4 (patch)
tree5e9d68c3832228b00df1f9a2bf00c06903cbe7cf
parenta21c378d353c8f3b6811d6f5241b0c9eab3f8655 (diff)
tools/intel_vbt_decode: Include BDB block header in hex dump
Include the block header in the hex dump as well. Might as well have the full data available in case we need to diagnose some decoding failures. Reviewed-by: Jani Nikula <jani.nikula@intel.com> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
-rw-r--r--tools/intel_vbt_decode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/intel_vbt_decode.c b/tools/intel_vbt_decode.c
index cc9dd929..deeb8205 100644
--- a/tools/intel_vbt_decode.c
+++ b/tools/intel_vbt_decode.c
@@ -2031,7 +2031,7 @@ static void hex_dump(const void *data, uint32_t size)
static void hex_dump_block(const struct bdb_block *block)
{
- hex_dump(block->data, block->size);
+ hex_dump(block->data - 3, 3 + block->size);
}
static bool dump_section(struct context *context, int section_id)