[U-Boot] [PATCH] dm: core: Kconfig: set OF_TRANSLATE default value to n

Simon Glass sjg at chromium.org
Fri Nov 6 13:08:09 CET 2015


+Stefan

Hi Mugunthan,

On 4 November 2015 at 07:25, Mugunthan V N <mugunthanvnm at ti.com> wrote:
> 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.

How do you know it is not used? This is surprising because Stefan
presumably added it to fix something.

>
> Signed-off-by: Mugunthan V N <mugunthanvnm at 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
>

Regards,
Simon


More information about the U-Boot mailing list