lib: utils/gpio: Use heap in SiFive and StartFive GPIO drivers
authorAnup Patel <apatel@ventanamicro.com>
Wed, 19 Apr 2023 11:19:19 +0000 (16:49 +0530)
committerAnup Patel <anup@brainfault.org>
Mon, 5 Jun 2023 10:25:29 +0000 (15:55 +0530)
commitfa5ad2e6f9e9c77b69cdf2506da753c8bad9509d
treeb50f1f50e4025a2a57993462c4af42a1cdca3b6f
parent66daafe3ba210eec78900269817ee504ffa9c212
lib: utils/gpio: Use heap in SiFive and StartFive GPIO drivers

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@ventanamicro.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
lib/utils/gpio/fdt_gpio_sifive.c
lib/utils/gpio/fdt_gpio_starfive.c