lib: utils/i2c: Use heap in DesignWare and SiFive I2C drivers
authorAnup Patel <apatel@ventanamicro.com>
Wed, 19 Apr 2023 11:22:44 +0000 (16:52 +0530)
committerAnup Patel <anup@brainfault.org>
Mon, 5 Jun 2023 10:25:45 +0000 (15:55 +0530)
commit903e88caaf9404a52ed90fcf1e594eb2f8ff1a0c
tree22f19f744f03d6cbd845c7a0821e7baa035c6393
parentfa5ad2e6f9e9c77b69cdf2506da753c8bad9509d
lib: utils/i2c: Use heap in DesignWare and SiFive I2C drivers

Let's use heap allocation in DesignWare and SiFive I2C drivers
instead of using a fixed size global array.

Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
lib/utils/i2c/fdt_i2c_dw.c
lib/utils/i2c/fdt_i2c_sifive.c