[PATCH 1/7] fpga: altera: Use logging feature instead of FPGA_DEBUG

Michal Simek michal.simek at amd.com
Wed Sep 21 13:02:01 CEST 2022



On 9/19/22 12:39, Alexander Dahl wrote:
> Instead of using DEBUG or LOG_DEBUG the driver still had its own
> definition for debug output.
> 
> Signed-off-by: Alexander Dahl <ada at thorsis.com>
> ---
>   drivers/fpga/altera.c | 13 ++++++-------
>   1 file changed, 6 insertions(+), 7 deletions(-)
> 
> diff --git a/drivers/fpga/altera.c b/drivers/fpga/altera.c
> index 10c0475d25..5a8fee10a5 100644
> --- a/drivers/fpga/altera.c
> +++ b/drivers/fpga/altera.c
> @@ -7,6 +7,8 @@
>    * Rich Ireland, Enterasys Networks, rireland at enterasys.com.
>    */
>   
> +#define LOG_CATEGORY UCLASS_FS_FIRMWARE_LOADER

I think all changes in this series are fine expect this LOG_CATEGORY.
This is generic FS loader. I think fgpa uclass should be created.

Thanks,
Michal


More information about the U-Boot mailing list