
4 Aug
2023
4 Aug
'23
2:18 a.m.
On Thu, 3 Aug 2023 at 07:36, Michal Simek michal.simek@amd.com wrote:
ofnode_read_bootscript_flash() reads bootscript address from /options/u-boot DT node. bootscr-flash-offset and bootscr-flash-size properties are read and values are filled. When bootscr-flash-size is not defined, bootscr-flash-offset property is unusable that's why cleaned. Both of these properties should be defined to function properly.
Also add test to cover this new function.
Signed-off-by: Michal Simek michal.simek@amd.com
arch/sandbox/dts/test.dts | 2 ++ drivers/core/ofnode.c | 34 ++++++++++++++++++++++++++++++++++ include/dm/ofnode.h | 27 +++++++++++++++++++++++++++ test/dm/ofnode.c | 9 +++++++-- 4 files changed, 70 insertions(+), 2 deletions(-)
Reviewed-by: Simon Glass sjg@chromium.org