summary refs log tree commit diff stats
path: root/crypto/hmac-glib.c
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2025-09-01 07:56:24 +0200
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2025-09-02 17:58:05 +0200
commite2d7c1a3cdc46d6b2e8afa8db8a7ef4c2740a2fe (patch)
tree6a274d06e6166bf5277b6ff6ad99557d1e5efc7a /crypto/hmac-glib.c
parent79d472a51015f9c9ab341a5f56b8c450870c006b (diff)
downloadfocaccia-qemu-e2d7c1a3cdc46d6b2e8afa8db8a7ef4c2740a2fe.tar.gz
focaccia-qemu-e2d7c1a3cdc46d6b2e8afa8db8a7ef4c2740a2fe.zip
hw/sd/sdcard: Refactor sd_bootpart_offset
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.kiszka@siemens.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <66e9b07476aad61820c4f42f4f984cc90752ba5e.1756706188.git.jan.kiszka@siemens.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'crypto/hmac-glib.c')
0 files changed, 0 insertions, 0 deletions