|
@@ -120,4 +120,34 @@ config SPL_SIMPLE_BUS
|
|
|
Supports the 'simple-bus' driver, which is used on some systems
|
|
|
in SPL.
|
|
|
|
|
|
+config OF_TRANSLATE
|
|
|
+ bool "Translate addresses using fdt_translate_address"
|
|
|
+ depends on DM && OF_CONTROL
|
|
|
+ default y
|
|
|
+ help
|
|
|
+ If this option is enabled, the reg property will be translated
|
|
|
+ using the fdt_translate_address() function. This is necessary
|
|
|
+ on some platforms (e.g. MVEBU) using complex "ranges"
|
|
|
+ properties in many nodes. As this translation is not handled
|
|
|
+ correctly in the default simple_bus_translate() function.
|
|
|
+
|
|
|
+ If this option is not enabled, simple_bus_translate() will be
|
|
|
+ used for the address translation. This function is faster and
|
|
|
+ smaller in size than fdt_translate_address().
|
|
|
+
|
|
|
+config SPL_OF_TRANSLATE
|
|
|
+ bool "Translate addresses using fdt_translate_address"
|
|
|
+ depends on SPL_DM && SPL_OF_CONTROL
|
|
|
+ default n
|
|
|
+ help
|
|
|
+ If this option is enabled, the reg property will be translated
|
|
|
+ using the fdt_translate_address() function. This is necessary
|
|
|
+ on some platforms (e.g. MVEBU) using complex "ranges"
|
|
|
+ properties in many nodes. As this translation is not handled
|
|
|
+ correctly in the default simple_bus_translate() function.
|
|
|
+
|
|
|
+ If this option is not enabled, simple_bus_translate() will be
|
|
|
+ used for the address translation. This function is faster and
|
|
|
+ smaller in size than fdt_translate_address().
|
|
|
+
|
|
|
endmenu
|