Hi,

On 12 May 2015 at 07:53, Altunbas Sabri (DC-IA/EAH2)
<[email protected]> wrote:
> Hi All,
>
> I use u-boot for altera socfpga cyclone 5 and want to include 
> gpio-functionality with
>
> "#define CONFIG_CMD_GPIO"
>
> in file
>
> uboot-socfpga/include/configs/ socfpga_cyclone5.h
>
> and get the following compilation error
>
> ......................
> .....................
> In file included from cmd_gpio.c:12:0:
> /media/tux/work/0/uboot/software/spl_bsp/uboot-socfpga/include/asm/gpio.h:1:27:
>  fatal error: asm/arch/gpio.h: No such file or directory
>  #include <asm/arch/gpio.h>
>                            ^
> compilation terminated.
> make[2]: *** Keine Regel vorhanden, um das Target ».depend«,
>   benötigt von »libcommon.o«, zu erstellen.  Schluss.
> make[2]: Verzeichnis »uboot-socfpga/common« wird verlassen
> make[1]: *** [common/libcommon.o] Fehler 2

I think you need to add that file (even if empty) to:

arch/arm/mach-socfpga/include/mach

Regards,
Simon
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to