[U-Boot] arm: socfpga: Repair SoCrates board

Marek Vasut marex at denx.de
Mon Nov 23 17:05:04 CET 2015


On Monday, November 23, 2015 at 03:23:25 PM, Jan Viktorin wrote:
> Hello Marek, Stefan, Dinh, all,
> 
> On Fri, 20 Nov 2015 17:17:33 +0100
> 
> Marek Vasut <marex at denx.de> wrote:
> > This board was constantly parasiting on the CV SoCDK, so split it
> > into it's own separate directory. Moreover, the board config was
> > missing important bits, like simple-bus support in SPL, the DRAM
> > configuration was incorrect and the DTS was also missing the pre
> > reloc bits.
> > 
> > Signed-off-by: Marek Vasut <marex at denx.de>
> > Cc: Stefan Roese <sr at denx.de>
> > Cc: Dinh Nguyen <dinguyen at opensource.altera.com>
> > Cc: Dinh Nguyen <dinh.linux at gmail.com>
> > Reviewed-by: Stefan Roese <sr at denx.de>
> > ---
> > [snip]
> 
> I can see a lot of warnings like
> 
> include/configs/socfpga_socrates.h:26:0: warning: "CONFIG_CMD_GPIO"
> redefined #define CONFIG_CMD_GPIO
>  ^
> In file included from ././include/linux/kconfig.h:4:0,
>                  from <command-line>:0:
> include/generated/autoconf.h:77:0: note: this is the location of the
> previous definition #define CONFIG_CMD_GPIO 1
>  ^
> In file included from include/config.h:5:0,
>                  from include/common.h:18,
>                  from arch/arm/cpu/armv7/cache_v7.c:9:
> include/configs/socfpga_socrates.h:26:0: warning: "CONFIG_CMD_GPIO"
> redefined #define CONFIG_CMD_GPIO
> 
> I believe, it's a consequence of the migration to the kconfig system,
> isn't?

It's the CONFIG_CMD_GPIO macro which was removed from socfpga_*h , but
this patch didn't reflect it. I'll send a V2.

Best regards,
Marek Vasut


More information about the U-Boot mailing list