From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CFE8FC433EF for ; Fri, 17 Dec 2021 17:31:33 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E77C6834E8; Fri, 17 Dec 2021 18:31:30 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="Ia86ZXXP"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0E7D483515; Fri, 17 Dec 2021 18:31:29 +0100 (CET) Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 3E8DA83420 for ; Fri, 17 Dec 2021 18:31:26 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=pali@kernel.org Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id 3FEC2CE2517; Fri, 17 Dec 2021 17:31:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 48BE2C36AE7; Fri, 17 Dec 2021 17:31:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1639762282; bh=R9AowByq2H+SkIeNX85BgwZFL9G4J5nhliJH+skzXCo=; h=From:To:Cc:Subject:Date:From; b=Ia86ZXXPmsG6MYEikpT2klMqeU1Wl4p/D/gXowc75sdr391mowC6es3rv5ztpFTSZ 6anScddgNVDpmtpooeZIzWo0hBHNfQI/9IaL/17Ntd3sXHerhAdVAPbCRebbAWZ4ag G8jbP1mUTdNTnZ5fWUMzdux27jlsMjHzZ6p8jzQFmcK3SvsbEvj1WOcXnl/aR4E7BY +I2SlPsBZ2BoMOIu1tqPl9MZ2iA6GN5HSfziEMwABFJC2dTZLD/w/nHjjwJ6GZoo4W 8LempWDgRaI3aQM5PiyBU8up7gfo0Lo4yvs0YE1tZqV2a4emef8QzfEJIRzVgw7nyy xv2pNSONjJ86g== Received: by pali.im (Postfix) id CD7D786E; Fri, 17 Dec 2021 18:31:19 +0100 (CET) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: Stefan Roese Cc: =?UTF-8?q?Marek=20Beh=C3=BAn?= , u-boot@lists.denx.de Subject: [PATCH] arm: mvebu: Use printf for printing fatal errors Date: Fri, 17 Dec 2021 18:31:14 +0100 Message-Id: <20211217173114.4948-1-pali@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.38 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean There is no point to hide/disable fatal errors via debug() macro. Print fatal errors loudly. Signed-off-by: Pali Rohár --- arch/arm/mach-mvebu/spl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-mvebu/spl.c b/arch/arm/mach-mvebu/spl.c index 29a8adc9d79c..609495097585 100644 --- a/arch/arm/mach-mvebu/spl.c +++ b/arch/arm/mach-mvebu/spl.c @@ -313,7 +313,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(); } @@ -329,7 +329,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 -- 2.20.1