[U-Boot] [PATCH 002/126] dm: core: Correct low cell in ofnode_read_pci_addr()

Stephen Warren swarren at wwwdotorg.org
Wed Sep 25 16:12:28 UTC 2019

On 9/25/19 8:55 AM, Simon Glass wrote:
> 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: 9e51204527 (dm: core: Add operations on device tree references)
> Fixes: 4ea5243a3a (fdt: fix fdtdec_get_pci_addr() for CONFIG_PHYS_64BIT)
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
> I can't work out why the existing code is correct, but I suppose it might
> be for some obscure reason that needs a comment.
> The original patch is here: http://patchwork.ozlabs.org/patch/525853/

This makes sense. I am not sure how the original code worked; I can only 
assume the mid/low values were always both set to 0, or unused, or 

Tested-by: Stephen Warren <swarren at nvidia.com>

More information about the U-Boot mailing list