[U-Boot] [PATCH 08/11] fdt: Add ft_system_setup() function for system device tree additions

Anatolij Gustschin agust at denx.de
Sat Oct 18 00:20:43 CEST 2014


Hi Simon,

On Wed, 15 Oct 2014 02:05:38 -0600
Simon Glass <sjg at chromium.org> wrote:

> Add an additional function for adding information to the device tree before
> booting. This permits additions which are not board-specific.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
> 
>  README                |  9 ++++++++-
>  common/cmd_fdt.c      | 15 +++++++++++++++
>  common/image-fdt.c    |  6 ++++++
>  include/fdt_support.h | 12 ++++++++++++
>  include/image.h       |  6 ++++++
>  5 files changed, 47 insertions(+), 1 deletion(-)

One minor comment below. Otherwise

Acked-by: Anatolij Gustschin <agust at denx.de>

> diff --git a/README b/README
> index 46def00..6ecb3e0 100644
> --- a/README
> +++ b/README
> @@ -670,6 +670,13 @@ The following options need to be configured:
>  		Board code has addition modification that it wants to make
>  		to the flat device tree before handing it off to the kernel
>  
> +		CONFIG_OF_SYSTEM_SETUP
> +
> +		Other code has addition modification that it wants to make
> +		to the flat device tree before handing it off to the kernel
> +		This causes ft_board_setup() to be called before booting the

ft_system_setup()

Thanks,

Anatolij


More information about the U-Boot mailing list