[PATCH 0/2] lib: utils: support both of gpio-poweroff, gpio-reset

Heinrich Schuchardt xypron.glpk at gmx.de
Thu Jul 22 03:53:57 PDT 2021


The generic GPIO reset driver has two entries in the match table:
"gpio-poweroff", "gpio-reset". Only the first entry is considered by
fdt_reset_init().

Define "gpio-poweroff" and "gpio-reset" as compatibility strings of two
separate reset drivers. They still can share code.

Remove an unused variable.

Heinrich Schuchardt (2):
  lib: utils: remove unused variable in fdt_reset_init
  lib: utils: support both of gpio-poweroff, gpio-reset

 lib/utils/reset/fdt_reset.c      |  6 ++----
 lib/utils/reset/fdt_reset_gpio.c | 11 ++++++++++-
 2 files changed, 12 insertions(+), 5 deletions(-)

--
2.30.2




More information about the opensbi mailing list