upl: Fix buf array size
authorFrancois Berder <fberder@outlook.fr>
Tue, 11 Nov 2025 10:37:35 +0000 (11:37 +0100)
committerTom Rini <trini@konsulko.com>
Sat, 22 Nov 2025 14:48:13 +0000 (08:48 -0600)
commit8385ecc8eff91c45700040efbb08cba2ce6d3659
tree9f3f145fa845627b9c70a7748ea6aff9337fb29c
parent74c68b54977447e97b98b12c3ca7fe2a7f4a3803
upl: Fix buf array size

Size of array buf was incorrect due to sizeof returning the
size of an integer (typically 32 bits) instead of a u64 type
(64 bits). Hence, buf array was shorter than expected.

Signed-off-by: Francois Berder <fberder@outlook.fr>
Reviewed-by: Simon Glass <sjg@chromium.org>
boot/upl_write.c