u-boot/drivers/core
Sean Anderson 082faeb865 dm: Fix error handling for dev_read_addr_ptr
dev_read_addr_ptr had different semantics depending on whether OF_LIVE was
enabled. This patch converts both implementations to return NULL on error,
and converts all call sites which check for FDT_ADDR_T_NONE to check for
NULL instead. This patch also removes the call to map_physmem, since we
have dev_remap_addr* for those semantics.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2020-07-01 15:01:21 +08:00
..
acpi.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
device-remove.c dm: core: Add a way to skip powering down power domains 2020-04-16 08:07:58 -06:00
device.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
devres.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
dump.c dm: dump.c: Refactor dm_dump_drivers prints 2020-04-09 15:12:34 -06:00
fdtaddr.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
Kconfig dm: Add support for simple-pm-bus 2020-07-01 15:01:21 +08:00
lists.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
Makefile dm: Add support for simple-pm-bus 2020-07-01 15:01:21 +08:00
of_access.c common: Drop linux/bug.h from common header 2020-05-18 21:19:23 -04:00
of_addr.c common: Drop linux/bug.h from common header 2020-05-18 21:19:23 -04:00
of_extra.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
ofnode.c common: Drop log.h from common header 2020-05-18 21:19:18 -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
read.c dm: Fix error handling for dev_read_addr_ptr 2020-07-01 15:01:21 +08:00
regmap.c regmap: Check for out-of-range offsets before mapping them 2020-06-11 20:52:11 -06:00
root.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
simple-bus.c simple-bus: add DM_FLAG_PRE_RELOC flag to simple-bus driver 2019-04-23 20:26:43 -06:00
simple-pm-bus.c dm: Add support for simple-pm-bus 2020-07-01 15:01:21 +08:00
syscon-uclass.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
uclass.c dm: uclass: don't assign aliased seq numbers 2020-06-11 20:52:11 -06:00
util.c dm: core: remove the duplicated function dm_ofnode_pre_reloc 2020-04-16 08:07:58 -06:00