Re: [PATCH v4 1/3] reboot-mode: add support for reboot mode control
On Thu, Jun 10, 2021 at 04:56:43PM +0300, Nandor Han wrote: > A new driver uclass is created to handle the reboot mode control. > > The new uclass driver is updating an environment variable with the > configured reboot mode. The mode is extracted from a map provided > at initialization time. The map contains a list of modes > and associated ids. > > Signed-off-by: Nandor Han > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature
Re: [PATCH v4 1/3] reboot-mode: add support for reboot mode control
On Thu, 10 Jun 2021 at 07:57, Nandor Han wrote: > > A new driver uclass is created to handle the reboot mode control. > > The new uclass driver is updating an environment variable with the > configured reboot mode. The mode is extracted from a map provided > at initialization time. The map contains a list of modes > and associated ids. > > Signed-off-by: Nandor Han > --- > drivers/Kconfig | 2 + > drivers/Makefile | 1 + > drivers/reboot-mode/Kconfig | 18 +++ > drivers/reboot-mode/Makefile | 7 ++ > drivers/reboot-mode/reboot-mode-uclass.c | 134 +++ > include/dm/uclass-id.h | 1 + > include/reboot-mode/reboot-mode.h| 56 ++ > 7 files changed, 219 insertions(+) > create mode 100644 drivers/reboot-mode/Kconfig > create mode 100644 drivers/reboot-mode/Makefile > create mode 100644 drivers/reboot-mode/reboot-mode-uclass.c > create mode 100644 include/reboot-mode/reboot-mode.h > Reviewed-by: Simon Glass