1
0
mirror of https://xff.cz/git/u-boot/ synced 2026-02-13 04:09:29 +01:00
Files
u-boot-megous/drivers
Klaus Goger 68a345294a dm: ofnode: query correct property in livetree ofnode_get_addr_size
The livetree codepath of ofnode_get_addr_size always used the "reg"
property for of_get_property. Use the property parameter of the function
call instead and check the return value if the property exists.
Otherwise return FDT_ADDR_T_NONE.

This was discoverd while using SPI NOR with livetree.
spi_flash_decode_fdt checks for memory-map and will not fail with
livetree even if the property does not exist.

Signed-off-by: Klaus Goger <klaus.goger@theobroma-systems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2017-10-08 20:41:09 -06:00
..
2017-09-04 09:02:07 -04:00
2017-07-28 12:02:47 -06:00
2017-08-16 08:30:24 -04:00
2016-02-06 12:00:59 +01:00
2017-06-01 07:03:10 -06:00
2017-06-01 07:03:01 -06:00
2017-05-18 11:23:31 +02:00
2017-10-05 08:26:36 -04:00
2017-08-13 15:17:31 -04:00