[U-Boot] [PATCH 05/21] sandbox: sysreset: Update to support	power-on reset
    sjg at google.com 
    sjg at google.com
       
    Wed Dec  5 23:10:58 UTC 2018
    
    
  
If U-Boot is started from SPL or TPL, then those earlier phases deal with
the reset cause. On real hardware this cause may be lost once it is read.
Emulate that behaviour in sandbox by reporting a warm reset when a
previous phase has run since start-up.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
 drivers/sysreset/sysreset_sandbox.c | 8 +++++++-
 test/dm/sysreset.c                  | 4 ++--
 2 files changed, 9 insertions(+), 3 deletions(-)
Applied to u-boot-dm/master, thanks!
    
    
More information about the U-Boot
mailing list