[PATCH 07/17] lib: utils/gpio: Use heap in SiFive and StartFive GPIO drivers

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


On Tue, Apr 25, 2023 at 06:02:20PM +0530, Anup Patel wrote:
> Let's use heap allocation in SiFive and Starfive GPIO drivers
> instead of using a fixed size global array.
> 
> Signed-off-by: Anup Patel <apatel at ventanamicro.com>
> ---
>  lib/utils/gpio/fdt_gpio_sifive.c   | 21 ++++++++++-----------
>  lib/utils/gpio/fdt_gpio_starfive.c | 20 ++++++++++----------
>  2 files changed, 20 insertions(+), 21 deletions(-)
>

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



More information about the opensbi mailing list