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:
Anup Patel authored and Anup Patel committed 2022-05-13 09:27:12 +05:30
1 parent 998ed43fde
commit 4eacd8229b
4 files changed
+17 -10

No files matched your search

+3
View File
@@ -0,0 +1,3 @@
HEADER: sbi_utils/gpio/fdt_gpio.h
TYPE: struct fdt_gpio
NAME: fdt_gpio_drivers