diff options
author | Michal Simek <michal.simek@amd.com> | 2023-09-15 14:12:05 +0200 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2023-09-23 09:00:37 -0600 |
commit | e278ad9a2ea5e4a089773a8fd79a5ea0e8572316 (patch) | |
tree | 97e9fe98dfc5b00ef2211fa1c1c65a7022612798 /drivers/mtd/nand/raw/atmel/nand-controller.c | |
parent | 5ae43b8706c8897cbd711dbb0f023703b08b5fd3 (diff) |
trace: Fix alignment logic in flyrecord header
Current alignment which is using 16 bytes is not correct in connection to
trace_clocks description and it's length.
That's why use start_addr variable and record proper size based on used
entries.
Fixes: be16fc81b2ed ("trace: Update proftool to use new binary format").
Signed-off-by: Michal Simek <michal.simek@amd.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/mtd/nand/raw/atmel/nand-controller.c')
0 files changed, 0 insertions, 0 deletions