[PATCH v4 5/5] configs: enable FPGA commands and drivers at sandbox_defconfig
Michal Simek
michal.simek at amd.com
Mon Jul 7 11:43:13 CEST 2025
On 7/5/25 22:57, vtpieter at gmail.com wrote:
> From: Pieter Van Trappen <pieter.van.trappen at cern.ch>
>
> Enable to facilitate compiler checks on most FPGA-related sources.
>
> Signed-off-by: Pieter Van Trappen <pieter.van.trappen at cern.ch>
> ---
> configs/sandbox_defconfig | 20 ++++++++++++++++++++
> 1 file changed, 20 insertions(+)
>
> diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig
> index 4f6943d1a4b..a64e208ad89 100644
> --- a/configs/sandbox_defconfig
> +++ b/configs/sandbox_defconfig
> @@ -78,6 +78,11 @@ CONFIG_CMD_MX_CYCLIC=y
> CONFIG_CMD_MEMTEST=y
> CONFIG_CMD_CLK=y
> CONFIG_CMD_DEMO=y
> +CONFIG_CMD_FPGA_LOADP=y
> +CONFIG_CMD_FPGA_LOADBP=y
> +CONFIG_CMD_FPGA_LOADFS=y
> +CONFIG_CMD_FPGA_LOADMK=y
> +CONFIG_CMD_FPGA_LOAD_SECURE=y
> CONFIG_CMD_GPIO=y
> CONFIG_CMD_GPIO_READ=y
> CONFIG_CMD_PWM=y
> @@ -196,6 +201,21 @@ CONFIG_SANDBOX_DMA=y
> CONFIG_FASTBOOT_FLASH=y
> CONFIG_FASTBOOT_FLASH_MMC_DEV=0
> CONFIG_ARM_FFA_TRANSPORT=y
> +CONFIG_FPGA_ALTERA=y
> +CONFIG_FPGA_STRATIX_II=y
> +CONFIG_FPGA_STRATIX_V=y
> +CONFIG_FPGA_ACEX1K=y
> +CONFIG_FPGA_CYCLON2=y
> +CONFIG_FPGA_LATTICE=y
CI is reporting issues with clang.
make sandbox_defconfig
make -j HOSTCC=clang CC=clang
CC drivers/fpga/lattice.o
AR drivers/usb/eth/built-in.o
drivers/fpga/ivm_core.c:593:23: error: a function declaration without a
prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
593 | long int ispVMDataSize()
| ^
| void
drivers/fpga/ivm_core.c:618:22: error: a function declaration without a
prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
618 | signed char ispVM CC drivers/i2c/i2c-gpio.o
Code()
| ^
| void
drivers/fpga/ivm_core.c:1117:26: error: a function declaration without a
prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
1117 | signed char ispVMDataCode()
| ^
| void
CC drivers/gpio/qcom_pmic_gpio.o
drivers/fpga/ivm_core.c:2479:16: error: a function declaration without a
prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
2479 | void ispVMStart()
| ^
| void
drivers/fpga/ivm_core.c:2508:14: error: a function declaration without a
prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
2508 | void ispVMEnd()
| ^
| void
CC cmd/iotrace.o
5 errors generated.
make[3]: *** [scripts/Makefile.build:249: drivers/fpga/ivm_core.o] Error 1
make[3]: *** Waiting for unfinished jobs....
CC cmd/hash.o
M
More information about the U-Boot
mailing list