On 24/8/25 09:18, Jan Kiszka wrote:
From: Jan Kiszka <jan.kis...@siemens.com>

This function provides the offset for any partition in the block image,
not only the boot partitions, therefore rename it. Align the constant
names with the numbering scheme in the standard and use constants for
both boot partitions for consistency reasons. There is also no reason to
return early if boot_part_size is zero because the existing code will
provide the right value in that case as well.

Signed-off-by: Jan Kiszka <jan.kis...@siemens.com>
---
  hw/sd/sd.c             | 16 ++++++++--------
  hw/sd/sdmmc-internal.h |  3 ++-
  2 files changed, 10 insertions(+), 9 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>


Reply via email to