[U-Boot] [PATCH 0/2] efi_loader: Implement reset on RPi

Alexander Graf agraf at suse.de
Sun Jun 5 23:17:51 CEST 2016


If Linux finds an EFI implementation it always uses the EFI reset handler to
reboot or power down the system.

Unfortunately we haven't implemented that one yet. In fact, while we prepared
for RTS handling, we never actually implemented a single user.

This is going to change today. This simple patch set enables RTS reset support
for the RPi systems, allowing you to reboot and shut down the rpi if booted
via EFI.

It also lays the groundwork to show how to implement that functionality at all,
so I expect more boards to follow.

Alexander Graf (2):
  efi_loader: Allow boards to implement get_time and reset_system
  ARM: bcm283x: Implement EFI RTS reset_system

 arch/arm/mach-bcm283x/include/mach/wdog.h |   2 +-
 arch/arm/mach-bcm283x/reset.c             |  59 +++++++++++++++--
 cmd/bootefi.c                             |   4 ++
 include/efi_loader.h                      |  18 ++++++
 lib/efi_loader/efi_runtime.c              | 101 ++++++++++++++++++++++++++----
 5 files changed, 166 insertions(+), 18 deletions(-)

-- 
1.8.5.6



More information about the U-Boot mailing list