[PATCH 1/2] of: addr: Abort address translation for parent nodes missing 'ranges'

Simon Glass sjg at chromium.org
Mon Mar 15 08:11:01 CET 2021


Hi Bin,

On Wed, 3 Mar 2021 at 14:54, Simon Glass <sjg at chromium.org> wrote:
>
> On Fri, 26 Feb 2021 at 00:36, Bin Meng <bmeng.cn at gmail.com> wrote:
> >
> > The implementation of of_translate_one() was taken from the one in
> > Linux kernel drivers/of/address.c, and the Linux one added a quirk
> > for Apple Macs that don't have the <ranges> property in the parent
> > node. Since U-Boot does not support Apple Macs, remove the comment
> > block and adhere to the spec to abort the translation.
> >
> > Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
> > ---
> >
> >  drivers/core/of_addr.c | 24 ++++++------------------
> >  1 file changed, 6 insertions(+), 18 deletions(-)
>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Unfortunately this seems to cause a test failure for
ut_dm_fdt_translation. Can you please take a look?

Regards,
Simon


More information about the U-Boot mailing list