u-boot/include/dm
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
..
platform_data Merge https://gitlab.denx.de/u-boot/custodians/u-boot-spi 2023-07-13 20:39:10 -04:00
acpi.h acpi: Collect tables in the acpi_item list 2022-01-25 11:44:36 -07:00
device-internal.h dm: core: Add note about device_probe idempotence 2022-10-29 07:36:33 -06:00
device.h dm: Correct DM_FLAG_ comment 2023-08-03 09:21:02 +02:00
device_compat.h dm: Don't undefine dev_xxx macros 2020-10-16 09:44:27 -04:00
devres.h dm: core: Allow devres to be disabled in SPL 2022-04-18 17:53:56 -04:00
fdtaddr.h core: fdtaddr: add devfdt_get_addr_size_index_ptr function 2023-05-06 17:28:18 +08:00
lists.h dm: core: Document return value of device bind functions 2022-10-29 07:36:33 -06:00
of.h fdt: Align the start of the livetree 2023-07-14 12:54:51 -04:00
of_access.h dm: core: support reading a single indexed u64 value 2023-09-21 13:20:10 +02:00
of_addr.h doc: add include/dm/of*.h to the HTML documentation 2022-01-15 10:57:21 +01:00
of_extra.h doc: add include/dm/of*.h to the HTML documentation 2022-01-15 10:57:21 +01:00
ofnode.h dm: core: ofnode: Add ofnode_read_bootscript_flash() 2023-09-21 13:20:11 +02:00
ofnode_decl.h dm: core: Add definitions for multiple ofnode trees 2022-09-29 22:43:43 -04:00
pci.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
pinctrl.h pinctrl: Add third argument label for pinctrl_gpio_request() function 2022-07-28 15:17:45 +02:00
platdata.h doc: add include/dm/platdata.h to the HTML documentation 2022-01-15 10:57:21 +01:00
read.h core: read: add dev_read_addr_size_index_ptr function 2023-07-28 18:45:03 +08:00
root.h dm: core: Add a command to show driver model statistics 2022-06-28 03:09:52 +01:00
simple_bus.h dm: core: Correctly read <ranges> of simple-bus 2021-04-15 14:22:17 +05:30
tag.h dm: core: Add a command to show driver model statistics 2022-06-28 03:09:52 +01:00
test.h dm: core: Switch the testbus driver to use a new struct 2022-06-28 03:09:52 +01:00
uclass-id.h arm_ffa: introduce sandbox FF-A support 2023-08-08 10:22:03 -04:00
uclass-internal.h dm: core: Allow finding a uclass device by partial name 2022-04-25 10:00:03 -04:00
uclass.h dm: core: fix introduce uclass_get_device_by_of_path 2023-05-04 09:57:43 +02:00
util.h dm: core: Support sorting devices with dm tree 2023-01-23 18:11:39 -05:00