lib: utils/reset: Generate FDT reset driver list at compile-time

Instead of having FDT reset 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
2022-05-13 09:26:06 +05:30
committed by Anup Patel
parent 7fb474b9dd
commit 73cf511914
3 changed files with 20 additions and 17 deletions

View File

@@ -0,0 +1,3 @@
HEADER: sbi_utils/reset/fdt_reset.h
TYPE: struct fdt_reset
NAME: fdt_reset_drivers