diff options
author | Pali Rohár <pali@kernel.org> | 2021-12-17 18:31:14 +0100 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2021-12-19 09:50:47 +0100 |
commit | 2e5d0aa3968e45062fcb27678f815c6df06d111f (patch) | |
tree | 2c869b612423216e955ae8c2310f8dc9bfaae796 | |
parent | 9c0642d89b7908ba25def65828fb82738d1d6048 (diff) | |
download | u-boot-2e5d0aa3968e45062fcb27678f815c6df06d111f.zip u-boot-2e5d0aa3968e45062fcb27678f815c6df06d111f.tar.gz u-boot-2e5d0aa3968e45062fcb27678f815c6df06d111f.tar.bz2 |
arm: mvebu: Use printf for printing fatal errors
There is no point to hide/disable fatal errors via debug() macro.
Print fatal errors loudly.
Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
-rw-r--r-- | arch/arm/mach-mvebu/spl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-mvebu/spl.c b/arch/arm/mach-mvebu/spl.c index 742d66a..aada83f 100644 --- a/arch/arm/mach-mvebu/spl.c +++ b/arch/arm/mach-mvebu/spl.c @@ -260,7 +260,7 @@ void board_init_f(ulong dummy) ret = spl_init(); if (ret) { - debug("spl_init() failed: %d\n", ret); + printf("spl_init() failed: %d\n", ret); hang(); } @@ -276,7 +276,7 @@ void board_init_f(ulong dummy) /* Setup DDR */ ret = ddr3_init(); if (ret) { - debug("ddr3_init() failed: %d\n", ret); + printf("ddr3_init() failed: %d\n", ret); hang(); } #endif |