[PATCH v3 04/20] expo: Set the initial next_id to 1
Simon Glass
sjg at chromium.org
Fri Oct 18 01:11:41 CEST 2024
If expo_set_dynamic_start() is never called, the first scene created
will have an ID of 0, which is invalid. Correct this by setting a
default value.
Add a test to check this.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
(no changes since v1)
boot/expo.c | 1 +
test/boot/expo.c | 23 +++++++++++++++++++++--
2 files changed, 22 insertions(+), 2 deletions(-)
Applied to u-boot-dm, thanks!
More information about the U-Boot
mailing list