mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
sysreset: Tidy up a few comments and logging
Some comments are incorrect or missing pieces. Fix these and use logging to print the error. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -4,6 +4,8 @@
|
||||
* Written by Simon Glass <sjg@chromium.org>
|
||||
*/
|
||||
|
||||
#define LOG_CATEGORY UCLASS_SYSRESET
|
||||
|
||||
#include <common.h>
|
||||
#include <sysreset.h>
|
||||
#include <dm.h>
|
||||
@@ -64,7 +66,7 @@ void sysreset_walk_halt(enum sysreset_t type)
|
||||
mdelay(100);
|
||||
|
||||
/* Still no reset? Give up */
|
||||
debug("System reset not supported on this platform\n");
|
||||
log_err("System reset not supported on this platform\n");
|
||||
hang();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user