drivers: fpga: fix log level
Use CONFIG_FPGA_LOG_LEVEL for the fpga log modules. Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
This commit is contained in:
parent
2d81351517
commit
d18f4256ee
6 changed files with 6 additions and 6 deletions
|
@ -10,7 +10,7 @@ menuconfig FPGA
|
|||
|
||||
if FPGA
|
||||
|
||||
module = fpga
|
||||
module = FPGA
|
||||
module-str = fpga
|
||||
source "subsys/logging/Kconfig.template.log_config"
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
#include <zephyr/logging/log.h>
|
||||
#include "fpga_altera_agilex_bridge.h"
|
||||
|
||||
LOG_MODULE_REGISTER(fpga_altera);
|
||||
LOG_MODULE_REGISTER(fpga_altera, CONFIG_FPGA_LOG_LEVEL);
|
||||
|
||||
struct fpga_bridge_dev_data {
|
||||
/* SiP SVC controller */
|
||||
|
|
|
@ -56,7 +56,7 @@
|
|||
#define FPGA_ICE40_LEADING_CLOCKS_MIN 8
|
||||
#define FPGA_ICE40_TRAILING_CLOCKS_MIN 49
|
||||
|
||||
LOG_MODULE_REGISTER(fpga_ice40);
|
||||
LOG_MODULE_REGISTER(fpga_ice40, CONFIG_FPGA_LOG_LEVEL);
|
||||
|
||||
struct fpga_ice40_data {
|
||||
uint32_t crc;
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
#include <zephyr/logging/log.h>
|
||||
#include <zephyr/sys/sys_io.h>
|
||||
#include <zephyr/sys/util.h>
|
||||
LOG_MODULE_REGISTER(fpga_mpfs);
|
||||
LOG_MODULE_REGISTER(fpga_mpfs, CONFIG_FPGA_LOG_LEVEL);
|
||||
|
||||
#define SPI_FLASH_DIRECTORY_OFFSET 0x00000000
|
||||
#define SPI_FLASH_GOLDEN_IMAGE_OFFSET 0x00100400
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
#include <zephyr/drivers/i2c.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
|
||||
LOG_MODULE_REGISTER(fpga_slg471x5);
|
||||
LOG_MODULE_REGISTER(fpga_slg471x5, CONFIG_FPGA_LOG_LEVEL);
|
||||
|
||||
#define SLG471X5_NREG 256
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
#include <stdio.h>
|
||||
|
||||
#include <zephyr/logging/log.h>
|
||||
LOG_MODULE_REGISTER(fpga_zynqmp);
|
||||
LOG_MODULE_REGISTER(fpga_zynqmp, CONFIG_FPGA_LOG_LEVEL);
|
||||
|
||||
static void power_up_fpga(void)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue