mirror of
https://github.com/riscv-software-src/opensbi.git
synced 2026-10-24 04:32:05 +01:00
lib: utils/i2c: Generate FDT i2c adapter driver list at compile-time
Instead of having FDT i2c adapter 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
4ee0c57969
commit
998ed43fde
3 files changed
+12
-9
No files matched your search
@@ -8,5 +8,9 @@
|
||||
#
|
||||
|
||||
libsbiutils-objs-y += i2c/i2c.o
|
||||
|
||||
libsbiutils-objs-y += i2c/fdt_i2c.o
|
||||
libsbiutils-objs-y += i2c/fdt_i2c_adapter_drivers.o
|
||||
|
||||
carray-fdt_i2c_adapter_drivers-y += fdt_i2c_adapter_sifive
|
||||
libsbiutils-objs-y += i2c/fdt_i2c_sifive.o
|
||||
Reference in new issue
Block a user