board_f: Add reset status printing
authorMario Six <mario.six@gdsys.cc>
Mon, 6 Aug 2018 08:23:34 +0000 (10:23 +0200)
committerSimon Glass <sjg@chromium.org>
Tue, 18 Sep 2018 06:01:18 +0000 (00:01 -0600)
commit23471aed5c33e104d6fa64575932577618543bec
treea112a0c6cb8b828064b0741e66bf14d94073da45
parentcda4688c5eec7ccd3a978092fbed9bd0b9f941e1
board_f: Add reset status printing

To print the reset status during boot, add a method print_resetinfo to
board_f, which is called in init_sequence_f[], that gets the reset
information from the sysreset driver (assuming there is only one seems
reasonable), and prints it.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Mario Six <mario.six@gdsys.cc>
common/board_f.c