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:
parent
3fe4bcb67b
commit
acfd958f4b
3 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue