[PATCH 08/17] lib: utils/i2c: Use heap in DesignWare and SiFive I2C drivers

Andrew Jones ajones at ventanamicro.com
Wed May 31 05:42:53 PDT 2023


On Tue, Apr 25, 2023 at 06:02:21PM +0530, Anup Patel wrote:
> 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 at ventanamicro.com>
> ---
>  lib/utils/i2c/fdt_i2c_dw.c     | 24 ++++++++++--------------
>  lib/utils/i2c/fdt_i2c_sifive.c | 23 ++++++++++-------------
>  2 files changed, 20 insertions(+), 27 deletions(-)
>

Reviewed-by: Andrew Jones <ajones at ventanamicro.com>



More information about the opensbi mailing list