[PATCH 5/5] Revert "fdt: translate address if #size-cells = <0>"

Bin Meng bmeng.cn at gmail.com
Mon Apr 26 14:45:49 CEST 2021


On Sun, Apr 25, 2021 at 10:17 PM Dario Binacchi <dariobin at libero.it> wrote:
>
> This reverts commit d64b9cdcd475eb7f07b49741ded87e24dae4a5fc.
>
> As pointed by [1] and [2], the reverted patch made every DT 'reg'
> property translatable. What the patch was trying to fix was fixed in a
> different way from previously submitted patches which instead of
> correcting the generic address translation function fixed the issue with
> appropriate platform code.
>
> [1] https://patchwork.ozlabs.org/project/uboot/patch/1614324949-61314-1-git-send-email-bmeng.cn@gmail.com/
> [2] https://lore.kernel.org/linux-clk/20210402192054.7934-1-dariobin@libero.it/T/
>
> Signed-off-by: Dario Binacchi <dariobin at libero.it>
>
> ---
>
>  arch/sandbox/dts/test.dts         | 21 ----------
>  common/fdt_support.c              |  6 +--
>  drivers/core/Kconfig              | 12 ------
>  drivers/core/fdtaddr.c            |  2 +-
>  drivers/core/of_addr.c            | 13 ++++--
>  drivers/core/ofnode.c             |  7 +---
>  drivers/core/root.c               |  3 --
>  include/asm-generic/global_data.h | 24 -----------
>  test/dm/test-fdt.c                | 68 -------------------------------
>  9 files changed, 15 insertions(+), 141 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list