]> git.dujemihanovic.xyz Git - u-boot.git/commit
Revert "fdt: translate address if #size-cells = <0>"
authorDario Binacchi <dariobin@libero.it>
Sat, 1 May 2021 15:05:26 +0000 (17:05 +0200)
committerLokesh Vutla <lokeshvutla@ti.com>
Wed, 12 May 2021 10:57:57 +0000 (16:27 +0530)
commita47abd7bf4b87e4bd5cbdaf88bbece6810d8c837
tree041bf77db28e7e3659ee632e08bd104d1bcdd736
parent5a6caf916cb302a6b83edce8c60d830d9261956d
Revert "fdt: translate address if #size-cells = <0>"

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@libero.it>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/sandbox/dts/test.dts
common/fdt_support.c
drivers/core/Kconfig
drivers/core/fdtaddr.c
drivers/core/of_addr.c
drivers/core/ofnode.c
drivers/core/root.c
include/asm-generic/global_data.h
test/dm/test-fdt.c