[PATCH 0/5] some sysreset patches (mostly for mpc83xx)

Rasmus Villemoes rasmus.villemoes at prevas.dk
Fri May 1 16:55:11 CEST 2020


The first four of these are some minor improvements to the
sysreset_mpc83xx driver.

Patch 5 is independent of the others, but included because I need to
print the reset info in SPL - since, on the mpc8309, the reset status
register gets cleared after reading, only SPL gets to know the actual
reset cause; in U-Boot proper, gd->arch.reset_status is always clear.

Rasmus Villemoes (5):
  sysreset: mpc83xx: use scnprintf instead of snprintf
  sysreset: mpc83xx: shuffle newline logic in
    mpc83xx_sysreset_get_status
  sysreset: mpc83xx: fix CONFIG_IS_ENABLED logic
  sysreset: mpc83xx: add output in case of cold boot
  sysreset: move print_resetinfo() to sysreset-uclass.c

 common/board_f.c                    | 24 --------
 drivers/sysreset/sysreset-uclass.c  | 22 ++++++++
 drivers/sysreset/sysreset_mpc83xx.c | 88 ++++++++++++++---------------
 include/sysreset.h                  |  5 ++
 4 files changed, 68 insertions(+), 71 deletions(-)

-- 
2.23.0



More information about the U-Boot mailing list