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

Bin Meng bmeng.cn at gmail.com
Thu Oct 3 13:13:44 UTC 2019


On Thu, Oct 3, 2019 at 8:47 PM Bin Meng <bmeng.cn at gmail.com> wrote:
>
> On Wed, Sep 25, 2019 at 10:58 PM Simon Glass <sjg at chromium.org> 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/
> >
> >  drivers/core/ofnode.c | 2 +-
> >  lib/fdtdec.c          | 2 +-
> >  2 files changed, 2 insertions(+), 2 deletions(-)
> >
>
> Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
>
> I think this should go in v2019.10.
>
> Tom, I will prepare a PR soon.

applied to u-boot-x86, thanks!


More information about the U-Boot mailing list