Michal Simek 44f35e1aca dm: core: ofnode: Add ofnode_read_bootscript_flash()
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.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/08a3e6c09cce13287c69ad370e409e7f1766b406.1693465465.git.michal.simek@amd.com
2023-09-21 13:20:11 +02:00
..
2023-09-04 10:51:58 -04:00
2023-08-08 10:22:03 -04:00
2023-08-31 13:16:54 -04:00
2023-08-25 13:54:33 -04:00
2023-08-22 15:17:52 -04:00
2022-08-10 13:38:30 -04:00
run
2023-04-03 06:53:53 +12:00