Based on the OF_TRANSLATE Kconfig description, this is required
only on platforms with complex "ranges" in the DT nodes. For
simpler platforms using SIMPLE_BUS should be sufficient. Since
this a set to default y, simple bus is never used in any
platform. So make the default value as "n" and enable
OF_TRANSLATE only on required platform.

Signed-off-by: Mugunthan V N <mugunthan...@ti.com>
---

Tested this patch on TI DRA72 platform.

---
 drivers/core/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/core/Kconfig b/drivers/core/Kconfig
index 15681df..74e0caf 100644
--- a/drivers/core/Kconfig
+++ b/drivers/core/Kconfig
@@ -123,7 +123,7 @@ config SPL_SIMPLE_BUS
 config OF_TRANSLATE
        bool "Translate addresses using fdt_translate_address"
        depends on DM && OF_CONTROL
-       default y
+       default n
        help
          If this option is enabled, the reg property will be translated
          using the fdt_translate_address() function. This is necessary
-- 
2.6.2.280.g74301d6

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to