mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01:00
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> |
||
|---|---|---|
| .. | ||
| device-remove.c | ||
| device.c | ||
| devres.c | ||
| dump.c | ||
| fdtaddr.c | ||
| Kconfig | ||
| lists.c | ||
| Makefile | ||
| of_access.c | ||
| of_addr.c | ||
| of_extra.c | ||
| ofnode.c | ||
| read.c | ||
| read_extra.c | ||
| regmap.c | ||
| root.c | ||
| simple-bus.c | ||
| syscon-uclass.c | ||
| uclass.c | ||
| util.c | ||