u-boot/drivers/core
Matthias Schiffer e367305769 core: return FDT_ADDR_T_NONE from devfdt_get_addr_[size_]name() on errors
Checking for the error cast to fdt_addr_t is rather awkward - IS_ERR()
can be used, but it's not really made to be used on fdt_addr_t, which
may not even be the same size as a native pointer.

Most places in U-Boot only check for FDT_ADDR_T_NONE; let's adjust the
error return to match the expectation.

Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2023-10-13 10:15:41 -07:00
..
acpi.c common: Drop display_options.h from common header 2022-08-10 13:46:55 -04:00
device-remove.c dm: core: Use device_foreach_child where possible 2022-06-28 03:09:51 +01:00
device.c common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
devres.c dm: core: Use device_foreach_child where possible 2022-06-28 03:09:51 +01:00
dump.c dm: core: Adjust dump-sorting to get stats only when needed 2023-10-04 09:25:20 -06:00
fdtaddr.c core: return FDT_ADDR_T_NONE from devfdt_get_addr_[size_]name() on errors 2023-10-13 10:15:41 -07:00
Kconfig dm: core: Correct help in TPL_DM and VPL_DM 2023-10-06 14:38:12 -04:00
lists.c dm: core: Fix iteration over driver_info records 2022-12-02 08:39:00 -05:00
Makefile vpl: Add Kconfig options for VPL 2022-05-02 09:58:13 -04:00
of_access.c dm: core: Add a way to delete a node 2023-10-06 14:38:13 -04:00
of_addr.c common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
of_extra.c net: introduce a helper to determine whether to use in-band autoneg 2021-11-23 09:57:55 +02:00
ofnode.c pci: serial: Support reading PCI-register size with base 2023-10-06 14:38:13 -04:00
read.c pci: serial: Support reading PCI-register size with base 2023-10-06 14:38:13 -04:00
read_extra.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
regmap.c core: remap: fix regmap_init_mem_plat() reg size handeling 2023-05-06 17:28:18 +08:00
root.c common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
simple-bus.c treewide: Use OF_REAL instead of !OF_PLATDATA 2021-09-25 09:46:15 -06:00
simple-pm-bus.c simple-pm-bus: Use -ENOSYS for checking missing system call 2021-04-06 16:33:19 +12:00
syscon-uclass.c core: remap: fix regmap_init_mem_plat() reg size handeling 2023-05-06 17:28:18 +08:00
tag.c dm: core: Add a command to show driver model statistics 2022-06-28 03:09:52 +01:00
uclass.c dm: core: introduce uclass_get_device_by_of_path() 2023-04-28 11:48:59 -06:00
util.c pci: serial: Support reading PCI-register size with base 2023-10-06 14:38:13 -04:00