public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] dm: core: Kconfig: set OF_TRANSLATE default value to n
@ 2015-11-04 14:25 Mugunthan V N
  2015-11-06 12:08 ` Simon Glass
  0 siblings, 1 reply; 5+ messages in thread
From: Mugunthan V N @ 2015-11-04 14:25 UTC (permalink / raw)
  To: u-boot

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 <mugunthanvnm@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

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-11-12  9:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-04 14:25 [U-Boot] [PATCH] dm: core: Kconfig: set OF_TRANSLATE default value to n Mugunthan V N
2015-11-06 12:08 ` Simon Glass
2015-11-06 12:19   ` Stefan Roese
2015-11-06 15:41     ` Stephen Warren
2015-11-12  9:38       ` Mugunthan V N

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox