[PATCH v4 5/5] configs: enable FPGA commands and drivers at sandbox_defconfig

2025-07-05 Thread vtpieter
From: Pieter Van Trappen Enable to facilitate compiler checks on most FPGA-related sources. Signed-off-by: Pieter Van Trappen --- configs/sandbox_defconfig | 20 1 file changed, 20 insertions(+) diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig index 4f69

[PATCH v4 4/5] drivers: fpga: cleanup printf usage

2025-07-05 Thread vtpieter
From: Pieter Van Trappen Remove `fpga_no_sup` to get rid of Werror=unused-function when all FPGA configurations are enabled. Swap all printf calls to log_* as this is now preferred and includes the calling __func__. Signed-off-by: Pieter Van Trappen --- drivers/fpga/fpga.c | 103 +++

[PATCH v4 3/5] drivers: fpga: correct compiler errors and warnings

2025-07-05 Thread vtpieter
From: Pieter Van Trappen Errors reported by GCC 14.2 when enabling FPGA commands and drivers. Also many style fixes as reported by checkpatch.pl on the diffs. Most changes in stratixII.c which has been reorganized as well to avoid the top function prototypes. No functional changes. Signed-off-b

[PATCH v4 2/5] drivers: fpga/firmware: add Kconfig dependencies

2025-07-05 Thread vtpieter
From: Pieter Van Trappen FPGA_SOCFPGA requires ARCH_SOCFPGA cause socfpga.c contains arch/arm/mach-socfpga/* include macros. ZYNQMP_FIRMWARE requires ARCH_ZYNQMP cause firmware-zynqmp.c contains arch/arm/mach-zynqmp/* include macros. Signed-off-by: Pieter Van Trappen --- drivers/firmware/Kcon

[PATCH v4 1/5] cmd: fpga: improve user feedback in case of bitstream load failure

2025-07-05 Thread vtpieter
From: Pieter Van Trappen In cmd/fpga.c, change some `debug` calls to `log_err` for important user feedback and use CMD_RET_FAILURE in favor of CMD_RET_USAGE due to its long output which hides the actual, useful return message. Change the remaining `debug` calls to `log_debug`. Remove all 'fpga:'

[PATCH v4 0/5] Improve user feedback in case of FPGA bitstream load failure

2025-07-05 Thread vtpieter
From: Pieter Van Trappen The main motivation for this patch series is to make the `fpga *` commands' return message more explicit because simply returning the command usage without indicating the root cause is not helpful. In addition, the sandbox_defconfig was amended to facilitate compiling fp

[PATCH] drivers: remove -mgeneral-regs-only for truetype

2025-07-05 Thread Robert Stone
From a364b45738c1fc2e937a8d845f419b8c5c64d751 Mon Sep 17 00:00:00 2001 From: rjstone Date: Sat, 5 Jul 2025 11:22:09 -0700 Subject: [PATCH] drivers: remove -mgeneral-regs-only for truetype For almost everything, -mgeneral-regs-only is a good optimization, but console_truetype.c does using floatin

Re: [PATCH v6 0/3] Static initcalls

2025-07-05 Thread Michael Nazzareno Trimarchi
Hi On Fri, Jul 4, 2025 at 3:33 PM Fabio Estevam wrote: > > Hi Michael, > > On Fri, Jul 4, 2025 at 5:37 AM Michael Nazzareno Trimarchi > wrote: > > > We have problems that our board crashes with display enabled when this > > series is applied but we can boot > > if the series is reverted. We are