drivers: fpga: ice40: Fix log level

All FPGA driver implementations should respect `CONFIG_FPGA_LOG_LEVEL`.

Signed-off-by: Martin Stumpf <finomnis@gmail.com>
This commit is contained in:
Martin Stumpf 2025-05-06 17:08:57 +02:00 committed by Benjamin Cabé
commit acfd958f4b
3 changed files with 3 additions and 3 deletions

View file

@ -38,7 +38,7 @@
* direct register access to the set and clear registers.
*/
LOG_MODULE_DECLARE(fpga_ice40);
LOG_MODULE_DECLARE(fpga_ice40, CONFIG_FPGA_LOG_LEVEL);
struct fpga_ice40_config_bitbang {
struct gpio_dt_spec clk;

View file

@ -10,7 +10,7 @@
#include "fpga_ice40_common.h"
LOG_MODULE_REGISTER(fpga_ice40);
LOG_MODULE_REGISTER(fpga_ice40, CONFIG_FPGA_LOG_LEVEL);
void fpga_ice40_crc_to_str(uint32_t crc, char *s)
{

View file

@ -15,7 +15,7 @@
#include "fpga_ice40_common.h"
LOG_MODULE_DECLARE(fpga_ice40);
LOG_MODULE_DECLARE(fpga_ice40, CONFIG_FPGA_LOG_LEVEL);
static int fpga_ice40_load(const struct device *dev, uint32_t *image_ptr, uint32_t img_size)
{