Skip to content
Commit e587886a authored by Simon Glass's avatar Simon Glass Committed by Bin Meng
Browse files

dm: core: Correct low cell in ofnode_read_pci_addr()



This reads the low cell of the PCI address from the wrong cell. Fix it.
Also fix the function that this code came from.

Fixes: 9e512045 (dm: core: Add operations on device tree references)
Fixes: 4ea5243a (fdt: fix fdtdec_get_pci_addr() for CONFIG_PHYS_64BIT)
Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Tested-by: default avatarStephen Warren <swarren@nvidia.com>
Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
parent ea4316cd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment