[U-Boot] [PATCH PATCH v4 12/15] drivers: board: Make the board drivers available in SPL

Simon Glass sjg at chromium.org
Tue Aug 13 09:33:58 UTC 2019


Hi Jean-Jacques,

Missing commit message.

On Mon, 5 Aug 2019 at 03:44, Jean-Jacques Hiblot <jjhiblot at ti.com> wrote:
>
> Signed-off-by: Jean-Jacques Hiblot <jjhiblot at ti.com>
> ---
>
> Changes in v4: New
>
>  drivers/Makefile       | 2 +-
>  drivers/board/Kconfig  | 2 ++
>  drivers/board/Makefile | 2 +-
>  3 files changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/Makefile b/drivers/Makefile
> index 41933605ce..30ead18b06 100644
> --- a/drivers/Makefile
> +++ b/drivers/Makefile
> @@ -26,6 +26,7 @@ obj-$(CONFIG_$(SPL_TPL_)VIRTIO) += virtio/
>  obj-$(CONFIG_$(SPL_)DM_MAILBOX) += mailbox/
>  obj-$(CONFIG_$(SPL_)REMOTEPROC) += remoteproc/
>  obj-$(CONFIG_$(SPL_TPL_)TPM) += tpm/
> +obj-$(CONFIG_$(SPL_)BOARD) += board/
>
>  ifndef CONFIG_TPL_BUILD
>  ifdef CONFIG_SPL_BUILD
> @@ -77,7 +78,6 @@ obj-y += ata/
>  obj-$(CONFIG_DM_DEMO) += demo/
>  obj-$(CONFIG_BIOSEMU) += bios_emulator/
>  obj-y += block/
> -obj-y += board/
>  obj-$(CONFIG_BOOTCOUNT_LIMIT) += bootcount/
>  obj-y += cache/
>  obj-$(CONFIG_CPU) += cpu/
> diff --git a/drivers/board/Kconfig b/drivers/board/Kconfig
> index 2a3fc9c049..a94c4fb368 100644
> --- a/drivers/board/Kconfig
> +++ b/drivers/board/Kconfig
> @@ -8,6 +8,8 @@ menuconfig BOARD
>
>  if BOARD
>
> +config SPL_BOARD
> +       bool "Enable board driver support in SPL"

help

default y if SANDBOX_SPL ?

>
>  config BOARD_GAZERBEAM
>         bool "Enable board driver for the Gazerbeam board"
> diff --git a/drivers/board/Makefile b/drivers/board/Makefile
> index c8dab4fa0b..cc16361755 100644
> --- a/drivers/board/Makefile
> +++ b/drivers/board/Makefile
> @@ -2,6 +2,6 @@
>  #
>  # (C) Copyright 2017
>  # Mario Six,  Guntermann & Drunck GmbH, mario.six at gdsys.cc
> -obj-$(CONFIG_BOARD) += board-uclass.o
> +obj-y += board-uclass.o
>  obj-$(CONFIG_BOARD_GAZERBEAM) += gazerbeam.o
>  obj-$(CONFIG_BOARD_SANDBOX) += sandbox.o
> --
> 2.17.1
>

Regards,
Simon


More information about the U-Boot mailing list