mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
dm: fpga: Introduce new uclass
For future DM based FPGA drivers and for now to have a meaningful logging class for old FPGA drivers. Suggested-by: Michal Simek <michal.simek@amd.com> Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Alexander Dahl <post@lespocky.de> Reviewed-by: Simon Glass <sjg@chromium.org> Link: https://lore.kernel.org/r/20220930120430.42307-2-post@lespocky.de Signed-off-by: Michal Simek <michal.simek@amd.com>
This commit is contained in:
parent
2d45913534
commit
1323d08bdf
9 changed files with 77 additions and 0 deletions
11
drivers/fpga/fpga-uclass.c
Normal file
11
drivers/fpga/fpga-uclass.c
Normal file
|
@ -0,0 +1,11 @@
|
|||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/*
|
||||
* Copyright 2022 Alexander Dahl <post@lespocky.de>
|
||||
*/
|
||||
|
||||
#include <dm.h>
|
||||
|
||||
UCLASS_DRIVER(fpga) = {
|
||||
.name = "fpga",
|
||||
.id = UCLASS_FPGA,
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue