mirror of
https://github.com/riscv-software-src/opensbi.git
synced 2026-10-24 04:32:05 +01:00
lib: utils/gpio: Generate FDT gpio driver list at compile-time
Instead of having FDT gpio driver list hard-coded in the C source, we generate it using carray.sh at compile-time. Signed-off-by: Anup Patel <apatel@ventanamicro.com> Reviewed-by: Atish Patra <atishp@rivosinc.com>
This commit is contained in:
1 parent
998ed43fde
commit
4eacd8229b
4 files changed
+17
-10
No files matched your search
@@ -12,6 +12,8 @@
|
||||
|
||||
#include <sbi_utils/gpio/gpio.h>
|
||||
|
||||
struct fdt_phandle_args;
|
||||
|
||||
/** FDT based GPIO driver */
|
||||
struct fdt_gpio {
|
||||
const struct fdt_match *match_table;
|
||||
|
||||
Reference in new issue
Block a user