[U-Boot] [PATCH 31/51] gdsys: mpc8308: Add FPGA flavor option

Simon Glass sjg at chromium.org
Wed Jul 19 09:05:51 UTC 2017


On 14 July 2017 at 05:55, Mario Six <mario.six at gdsys.cc> wrote:
> More recent versions of IHS FPGAs feature a different memory layout.
>
> Add a Kconfig option to differentiate between the legacy layout, and the
> new layout (which is used on the upcoming "Gazerbeam" and later boards).
>
> Signed-off-by: Mario Six <mario.six at gdsys.cc>
> ---
>
>  board/gdsys/mpc8308/Kconfig | 11 +++++++++++
>  1 file changed, 11 insertions(+)
>

Reviewed-by: Simon Glass <sjg at chromium.org>

Kconfig help?

> diff --git a/board/gdsys/mpc8308/Kconfig b/board/gdsys/mpc8308/Kconfig
> index e913e94b3a..80ac1a0f8a 100644
> --- a/board/gdsys/mpc8308/Kconfig
> +++ b/board/gdsys/mpc8308/Kconfig
> @@ -55,6 +55,17 @@ config GDSYS_LEGACY_DRIVERS
>
>  endif
>
> +choice
> +       prompt "FPGA flavor selection"
> +
> +config SYS_FPGA_FLAVOR_LEGACY
> +       bool "Legacy flavor"
> +
> +config SYS_FPGA_FLAVOR_GAZERBEAM
> +       bool "Gazerbeam flavor"
> +
> +endchoice
> +
>  config CMD_IOLOOP
>         bool "Enable 'ioloop' and 'ioreflect' commands"
>         help
> --
> 2.11.0
>


More information about the U-Boot mailing list