lib: utils/timer: Generate FDT timer driver list at compile-time
authorAnup Patel <apatel@ventanamicro.com>
Fri, 13 May 2022 03:56:20 +0000 (09:26 +0530)
committerAnup Patel <anup@brainfault.org>
Fri, 13 May 2022 03:56:20 +0000 (09:26 +0530)
commitbfeb305e0f8da3f8bdff97a21a6628c3156fbfff
treed793406a66854ef262e29c7ce3e0ac1b3263c651
parent1e62705adc1268db768e4934a73242921e4550bb
lib: utils/timer: Generate FDT timer driver list at compile-time

Instead of having FDT timer 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>
lib/utils/timer/fdt_timer.c
lib/utils/timer/fdt_timer_drivers.carray [new file with mode: 0644]
lib/utils/timer/objects.mk