summaryrefslogtreecommitdiff
path: root/drivers/core/root.c
diff options
context:
space:
mode:
authorDario Binacchi <dariobin@libero.it>2021-05-01 18:05:26 +0300
committerLokesh Vutla <lokeshvutla@ti.com>2021-05-12 13:57:57 +0300
commita47abd7bf4b87e4bd5cbdaf88bbece6810d8c837 (patch)
tree041bf77db28e7e3659ee632e08bd104d1bcdd736 /drivers/core/root.c
parent5a6caf916cb302a6b83edce8c60d830d9261956d (diff)
downloadu-boot-a47abd7bf4b87e4bd5cbdaf88bbece6810d8c837.tar.xz
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>
Diffstat (limited to 'drivers/core/root.c')
-rw-r--r--drivers/core/root.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/core/root.c b/drivers/core/root.c
index f852d867db..fe0562cd6f 100644
--- a/drivers/core/root.c
+++ b/drivers/core/root.c
@@ -164,9 +164,6 @@ int dm_init(bool of_live)
{
int ret;
- if (IS_ENABLED(CONFIG_OF_TRANSLATE_ZERO_SIZE_CELLS))
- gd->dm_flags |= GD_DM_FLG_SIZE_CELLS_0;
-
if (gd->dm_root) {
dm_warn("Virtual root driver already exists!\n");
return -EINVAL;