u-boot-brain/drivers/core
Mario Six b6f58bfd6d regmap: Improve error handling
ofnode_read_simple_addr_cells may fail and return a negative error code.
Check for this when initializing regmaps.

Also check if both_len is zero, since this is perfectly possible, and
would lead to a division-by-zero further down the line.

Reviewed-by: Anatolij Gustschin <agust@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Mario Six <mario.six@gdsys.cc>
2018-11-14 09:16:27 -08:00
..
device-remove.c device: expose the functions used to remove and unbind children of a device 2018-08-21 16:21:37 +02:00
device.c dm: core: Respect drivers with the DM_FLAG_PRE_RELOC flag in lists_bind_fdt() 2018-11-14 09:16:27 -08:00
devres.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
dump.c dm: print the index of the device when dumping the dm tree 2018-08-21 16:21:37 +02:00
fdtaddr.c dm: core: fix devfdt_remap_addr_index() 2018-09-18 08:12:21 -06:00
Kconfig dm: replace dm_dbg() with pr_debug() 2017-10-04 12:00:21 -04:00
lists.c dm: core: Respect drivers with the DM_FLAG_PRE_RELOC flag in lists_bind_fdt() 2018-11-14 09:16:27 -08:00
Makefile SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
of_access.c ofnode: add ofnode_by_prop_value() 2018-09-18 08:12:21 -06:00
of_addr.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
of_extra.c dm: core: Update ofnode to read binman-style flash entry 2018-10-09 04:40:27 -06:00
ofnode.c fdt: Allow indicating a node is for U-Boot proper only 2018-10-09 04:40:27 -06: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: core: add functions to get memory-mapped I/O addresses 2018-06-01 15:56:02 +02:00
regmap.c regmap: Improve error handling 2018-11-14 09:16:27 -08:00
root.c dm: core: Mirror the chosen node parse logic in the livetree scanning 2018-11-14 09:16:27 -08:00
simple-bus.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
syscon-uclass.c syscon: add Linux-compatible syscon API 2018-05-07 15:49:52 -04:00
uclass.c uclass: Add dev_get_uclass_index() to get the uclass/index of a device 2018-08-21 16:21:37 +02:00
util.c dm: util: Add a livetree equivalent API of dm_fdt_pre_reloc() 2018-11-14 09:16:27 -08:00