u-boot/include/dm
Simon Glass f69d3d6d10 pci: serial: Support reading PCI-register size with base
The PCI helpers read only the base address for a PCI region. In some cases
the size is needed as well, e.g. to pass along to a driver which needs to
know the size of its register area.

Update the functions to allow the size to be returned. For serial, record
the information and provided it with the serial_info() call.

A limitation still exists in that the size is not available when OF_LIVE
is enabled, so take account of that in the tests.

Signed-off-by: Simon Glass <sjg@chromium.org>
2023-10-06 14:38:13 -04: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: core: Tweak device_is_on_pci_bus() for code size 2023-10-06 14:38:13 -04:00
device_compat.h common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
devres.h dm: core: Allow devres to be disabled in SPL 2022-04-18 17:53:56 -04:00
fdtaddr.h pci: serial: Support reading PCI-register size with base 2023-10-06 14:38:13 -04: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: Add a way to delete a node 2023-10-06 14:38:13 -04: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 pci: serial: Support reading PCI-register size with base 2023-10-06 14:38:13 -04: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 pci: serial: Support reading PCI-register size with base 2023-10-06 14:38:13 -04: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 cmd: dm: allow for selecting uclass and device 2023-09-23 12:31:25 -06:00