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

Mario Six mario.six at gdsys.cc
Tue Jul 25 07:52:09 UTC 2017


Hi Simon,

On Wed, Jul 19, 2017 at 11:05 AM, Simon Glass <sjg at chromium.org> wrote:
> 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?
>

I'll add a Kconfig help in v2.

>> 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
>>

Best regards,

Mario


More information about the U-Boot mailing list