Hi Alex,

On 16 August 2016 at 13:08, Alexander Graf <ag...@suse.de> wrote:
> EFI allows an OS to leverage firmware drivers while the OS is running. In the
> generic code we so far had to stub those implementations out, because we would
> need board specific knowledge about MMIO setups for it.
>
> However, boards can easily implement those themselves. This patch provides the
> framework so that a board can implement its own versions of get_time and
> reset_system which would actually do something useful.
>
> While at it we also introduce a simple way for code to reserve MMIO pointers
> as runtime available.
>
> Signed-off-by: Alexander Graf <ag...@suse.de>
> ---
>  cmd/bootefi.c                |   4 ++
>  include/efi_loader.h         |  18 ++++++++
>  lib/efi_loader/efi_runtime.c | 101 
> ++++++++++++++++++++++++++++++++++++++-----
>  3 files changed, 112 insertions(+), 11 deletions(-)

Instead of weak functions, can you use the existing driver model
sysreset uclass?

Regards,
Simon
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to