[PATCH 0/7] Use logging feature instead of FPGA_DEBUG
Alexander Dahl
ada at thorsis.com
Mon Sep 19 12:39:05 CEST 2022
Hei hei,
while working on FPGA support for a new device I discovered logging in
some FPGA drivers is still done as in the old days. Bring that to what
I thougt would be the currently preferred approach?
Notes: Adding those Kconfig symbols in patch 3 is just to be able to
build those two drivers.
All drivers touched were build tested with the
gcc-11.1.0-nolibc/m68k-linux toolchain.
Lines with other possibly questionable output were not touched, only
what seemed to be designated debug output.
Greets
Alex
Alexander Dahl (7):
fpga: altera: Use logging feature instead of FPGA_DEBUG
fpga: cyclon2: Use logging feature instead of FPGA_DEBUG
fpga: Add missing Kconfig symbols for old FPGA drivers
fpga: ACEX1K: Use logging feature instead of FPGA_DEBUG
fpga: spartan2: Use logging feature instead of FPGA_DEBUG
fpga: spartan3: Use logging feature instead of FPGA_DEBUG
fpga: virtex2: Use logging feature instead of FPGA_DEBUG
drivers/fpga/ACEX1K.c | 22 +++++++++-------------
drivers/fpga/Kconfig | 12 ++++++++++++
drivers/fpga/altera.c | 13 ++++++-------
drivers/fpga/cyclon2.c | 24 ++++++++++--------------
drivers/fpga/spartan2.c | 34 +++++++++++++++-------------------
drivers/fpga/spartan3.c | 34 +++++++++++++++-------------------
drivers/fpga/virtex2.c | 37 +++++++++++++++----------------------
7 files changed, 82 insertions(+), 94 deletions(-)
base-commit: 0b3fe2b9777eff12ffd6735fc00291616b407622
--
2.30.2
More information about the U-Boot
mailing list