diff options
author | Anup Patel <apatel@ventanamicro.com> | 2022-05-13 09:27:12 +0530 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2022-05-13 09:27:12 +0530 |
commit | 4eacd8229b63bcc220fbdaa4c294ea5ae8c978f0 (patch) | |
tree | ca4e10ff4088cb50fbba6424bd1bb0b647fa1248 /lib/utils/gpio/fdt_gpio_drivers.carray | |
parent | 998ed43fde10c64b3e949a904746464b23796971 (diff) | |
download | opensbi-4eacd8229b63bcc220fbdaa4c294ea5ae8c978f0.zip opensbi-4eacd8229b63bcc220fbdaa4c294ea5ae8c978f0.tar.gz opensbi-4eacd8229b63bcc220fbdaa4c294ea5ae8c978f0.tar.bz2 |
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>
Diffstat (limited to 'lib/utils/gpio/fdt_gpio_drivers.carray')
-rw-r--r-- | lib/utils/gpio/fdt_gpio_drivers.carray | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/utils/gpio/fdt_gpio_drivers.carray b/lib/utils/gpio/fdt_gpio_drivers.carray new file mode 100644 index 0000000..e863f1c --- /dev/null +++ b/lib/utils/gpio/fdt_gpio_drivers.carray @@ -0,0 +1,3 @@ +HEADER: sbi_utils/gpio/fdt_gpio.h +TYPE: struct fdt_gpio +NAME: fdt_gpio_drivers |