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

Simon Glass sjg at chromium.org
Wed Mar 3 02:54:08 CET 2021


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>


More information about the U-Boot mailing list