[U-Boot] [PATCH 1/4] Raspberry Pi: add device tree overlay support

Heinrich Schuchardt xypron.glpk at gmx.de
Mon Jun 26 18:55:51 UTC 2017


On 06/26/2017 03:25 PM, Peter Robinson wrote:
> Raspberry Pi has numerous HAT and other HW expansion options such as screens and
> cameras some of which need overlays from the beginning so it makes sense to
> enable evice tree overlays.
> 
> Signed-off-by: Peter Robinson <pbrobinson at gmail.com>
> ---
>  configs/rpi_2_defconfig     | 2 ++
>  configs/rpi_3_32b_defconfig | 2 ++
>  configs/rpi_3_defconfig     | 2 ++
>  configs/rpi_defconfig       | 2 ++
>  4 files changed, 8 insertions(+)
> 
> diff --git a/configs/rpi_2_defconfig b/configs/rpi_2_defconfig
> index f8b3ed49a9..be3e5e7e7d 100644
> --- a/configs/rpi_2_defconfig
> +++ b/configs/rpi_2_defconfig
> @@ -25,3 +25,5 @@ CONFIG_DM_VIDEO=y
>  CONFIG_SYS_WHITE_ON_BLACK=y
>  CONFIG_CONSOLE_SCROLL_LINES=10
>  CONFIG_PHYS_TO_BUS=y
> +CONFIG_OF_LIBFDT=y

OF_LIBFDT=y is default for ARCH_BCM283X.

> +CONFIG_OF_LIBFDT_OVERLAY=y
> diff --git a/configs/rpi_3_32b_defconfig b/configs/rpi_3_32b_defconfig
> index 490af818b6..f0c9f49799 100644
> --- a/configs/rpi_3_32b_defconfig
> +++ b/configs/rpi_3_32b_defconfig
> @@ -27,3 +27,5 @@ CONFIG_DM_VIDEO=y
>  CONFIG_SYS_WHITE_ON_BLACK=y
>  CONFIG_CONSOLE_SCROLL_LINES=10
>  CONFIG_PHYS_TO_BUS=y
> +CONFIG_OF_LIBFDT=y

see above

> +CONFIG_OF_LIBFDT_OVERLAY=y
> diff --git a/configs/rpi_3_defconfig b/configs/rpi_3_defconfig
> index 4c0eb049b2..9709d53a0a 100644
> --- a/configs/rpi_3_defconfig
> +++ b/configs/rpi_3_defconfig
> @@ -27,3 +27,5 @@ CONFIG_DM_VIDEO=y
>  CONFIG_SYS_WHITE_ON_BLACK=y
>  CONFIG_CONSOLE_SCROLL_LINES=10
>  CONFIG_PHYS_TO_BUS=y
> +CONFIG_OF_LIBFDT=y

see above

> +CONFIG_OF_LIBFDT_OVERLAY=y
> diff --git a/configs/rpi_defconfig b/configs/rpi_defconfig
> index 1b954fe2b7..4aa2d3eaf7 100644
> --- a/configs/rpi_defconfig
> +++ b/configs/rpi_defconfig
> @@ -25,3 +25,5 @@ CONFIG_DM_VIDEO=y
>  CONFIG_SYS_WHITE_ON_BLACK=y
>  CONFIG_CONSOLE_SCROLL_LINES=10
>  CONFIG_PHYS_TO_BUS=y
> +CONFIG_OF_LIBFDT=y

see above

> +CONFIG_OF_LIBFDT_OVERLAY=y
> 

Regards

Heinrich Schuchardt




More information about the U-Boot mailing list