u-boot-brain/drivers
Heinrich Schuchardt ae6b33dcc3 dm: fix ofnode_read_addr/size_cells()
In the case of the live tree ofnode_read_addr_cells() and
ofnode_read_size_cells() return the #address-cells and #size-cells defined
in the parent node. With the patch the same is done for a non-live tree.

The only consumer of these functions is currently the CFI flash driver.

This patch fixes the incorrect parsing of the device tree leading to
'saveenv' failing on qemu_arm64_defconfig.

For testing qemu-system-aarch64 has to be called with

    -drive if=pflash,format=raw,index=1,file=envstore.img

to provide the flash memory. envstore.img must be 64 MiB large.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Stefan Roese <sr@denx.de>
2020-08-22 07:58:39 -06:00
..
adc adc: Drop dm.h header file 2020-08-03 22:19:54 -04:00
ata ahci: mediatek: add ahci driver 2020-08-19 17:38:15 -04:00
axi common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
bios_emulator common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
block xen: pvblock: Add initial support for para-virtualized block driver 2020-08-14 15:18:30 -04:00
board common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
bootcount bootcount_ext: Add Ext4 build dependency 2020-06-02 17:27:04 -04:00
bus bus: uniphier-system-bus: move hardware init from board files 2020-07-11 21:30:21 +09:00
button dm: button: add a driver for button driven by gpio 2020-07-28 19:30:39 -06:00
cache common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
clk Xilinx changes for v2020.10-rc3 2020-08-20 14:46:43 -04:00
core dm: fix ofnode_read_addr/size_cells() 2020-08-22 07:58:39 -06:00
cpu cpu: Convert the methods to use a const udevice * 2020-07-25 14:46:57 -06:00
crypto crypto/fsl: add RNG support 2020-07-27 14:16:29 +05:30
ddr imx8m: ddrphy_utils: Improve coding style 2020-07-27 14:02:28 +02:00
demo common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
dfu common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
dma treewide: convert devfdt_get_addr() to dev_read_addr() 2020-07-25 14:46:57 -06:00
fastboot common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
firmware xilinx: zynqmp: merge firmware calls for EL2 and EL3 2020-08-20 09:49:20 +02:00
fpga xilinx: zynqmp: synchronize firmware call return payload 2020-08-20 09:49:20 +02:00
gpio xilinx: kconfig: Change Kconfig dependencies for Xilinx drivers 2020-08-20 09:46:55 +02:00
hwspinlock common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
i2c xilinx: kconfig: Change Kconfig dependencies for Xilinx drivers 2020-08-20 09:46:55 +02:00
input treewide: convert (void *)devfdt_get_addr() to dev_read_addr_ptr() 2020-07-25 14:46:57 -06:00
led led: led_cortina: Add CAxxx LED support 2020-08-07 22:31:32 -04:00
mailbox xilinx: zynqmp: fix incorrect map not align with IPI HW 2020-08-20 09:49:20 +02:00
memory memory: stm32-fmc2-ebi: add STM32 FMC2 EBI controller driver 2020-08-13 09:53:34 +02:00
misc i2c: eeprom: Use reg property instead of offset and size 2020-08-20 09:49:20 +02:00
mmc mmc: sdhci: Use upper/lower_32_bits macros 2020-08-20 09:58:59 +02:00
mtd mtd: rawnand: stm32_fmc2: get resources from parent node 2020-08-13 09:53:34 +02:00
net xilinx: kconfig: Change Kconfig dependencies for Xilinx drivers 2020-08-20 09:46:55 +02:00
nvme nvme: Invalidate dcache before submitting admin cmd 2020-06-23 14:43:23 -04:00
pch common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
pci PCI: mediatek: Add PCIe support for MT7622 2020-08-19 17:37:37 -04:00
pci_endpoint Merge https://gitlab.denx.de/u-boot/custodians/u-boot-fsl-qoriq 2020-07-27 15:18:15 -04:00
phy phy: mtk-tphy: add PHY_TYPE_SATA 2020-08-19 17:38:15 -04:00
pinctrl pinctrl: mediatek: mt8512: fix the wrong start address of ranges 2020-08-19 17:37:37 -04:00
power power: Tidy up inclusion of regulator_common.h 2020-08-03 22:19:54 -04:00
pwm treewide: convert (void *)devfdt_get_addr() to dev_read_addr_ptr() 2020-07-25 14:46:57 -06:00
qe treewide: convert bd_t to struct bd_info by coccinelle 2020-07-17 09:30:13 -04:00
ram ram: k3-j721e: Relax version checks for memory controller 2020-08-11 20:34:46 +05:30
remoteproc common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
reset configs: reset: fu540: enable dm reset framework for SiFive 2020-08-04 09:19:41 +08:00
rng common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
rtc treewide: convert devfdt_get_addr() to dev_read_addr() 2020-07-25 14:46:57 -06:00
scsi common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
serial serial: uniphier: fix typo in comment 2020-08-18 02:01:14 +09:00
smem common: Drop linux/bug.h from common header 2020-05-18 21:19:23 -04:00
soc soc: soc_ti_k3: Add device identification for J7200 SoC 2020-08-11 20:34:46 +05:30
sound sound: Add an ACPI driver for Maxim MAX98357ac 2020-07-17 14:32:24 +08:00
spi - doc: fix qemu-mips build instructions 2020-08-04 11:07:16 -04:00
spmi treewide: convert devfdt_get_addr() to dev_read_addr() 2020-07-25 14:46:57 -06:00
sysreset dm: sysreset: wait after reset message 2020-08-01 11:58:39 +02:00
tee drivers: tee: broadcom: add optee based bnxt fw load driver 2020-07-29 10:37:11 -04:00
thermal thermal: imx_scu_thermal: prevent boot hang with zero pdata 2020-05-22 13:29:25 +02:00
timer treewide: convert devfdt_get_addr() to dev_read_addr() 2020-07-25 14:46:57 -06:00
tpm drivers: rename drivers to match compatible string 2020-07-09 18:57:22 -06:00
ufs ufs: Drop dm.h header file 2020-08-03 22:19:54 -04:00
usb linux/compat.h: Add wait_event_timeout macro 2020-08-14 15:18:30 -04:00
video For 2020.10 2020-08-04 11:11:02 -04:00
virtio virtio: VIRTIO_RNG depends on DM_RNG 2020-06-05 04:04:41 +02:00
w1 treewide: convert devfdt_get_addr() to dev_read_addr() 2020-07-25 14:46:57 -06:00
w1-eeprom common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
watchdog watchdog: Add support for K3 RTI watchdog 2020-08-11 10:18:27 +05:30
xen board: xen: De-initialize before jumping to Linux 2020-08-14 15:18:30 -04:00
Kconfig xen: pvblock: Add initial support for para-virtualized block driver 2020-08-14 15:18:30 -04:00
Makefile xen: Port Xen hypervisor related code from mini-os 2020-08-14 15:18:30 -04:00