test/py: Read from the correct offset when initializing capsules
authorIlias Apalodimas <ilias.apalodimas@linaro.org>
Thu, 7 Aug 2025 08:08:15 +0000 (11:08 +0300)
committerTom Rini <trini@konsulko.com>
Mon, 18 Aug 2025 22:42:04 +0000 (16:42 -0600)
commit5096f81bda1cfac2a8a325e850442bf463be2f00
treef2d92771cdd666ea91a11bbef05693573c247b98
parentb0465eb88f0406ba286df9ee056b9a62c8ab9c80
test/py: Read from the correct offset when initializing capsules

The current code writes values to a flash offset defined by a function
argument. However, when reading it back we always read from a static
offset. Adjust the reads to use the correct offset.

Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
test/py/tests/test_efi_capsule/capsule_common.py