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 18134C001DF for ; Wed, 2 Aug 2023 17:18:30 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id CE3F286C83; Wed, 2 Aug 2023 19:17:56 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com 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=gmail.com header.i=@gmail.com header.b="CF6YJnoX"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 73300867A8; Wed, 2 Aug 2023 19:05:52 +0200 (CEST) Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 7FDC686771 for ; Wed, 2 Aug 2023 19:05:50 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=massimo.pegorer@gmail.com Received: by mail-wr1-x42c.google.com with SMTP id ffacd0b85a97d-3176a439606so23186f8f.3 for ; Wed, 02 Aug 2023 10:05:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690995950; x=1691600750; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=jM5aZKR0bhjadgMQZ+1U2N3OR7stfII+0JvtkhGpMrM=; b=CF6YJnoXgD5DvH6zlPteazOzEoYBTapMUkd8+J+eBBwBAnCCZYwQPJ7PrMdnv1hsnb logURiZc6HXp35tMe9+rglAqIIJ3Gqae62ef6/jMvjwic+zINiUcxz+h1tgdzj+jgSb0 zXVpK5cld2zCfOPEeceGAmTjHVWt2ekZEQkWepGx84lLQXMiKjEQcx7hzuCk/0AfshHS jEw0kUKz9jBwi37rQ+vSao+0wjc/knPVQydFzQ5y8kJ9SXtw4/9qRzHNPnkKMVjhN7gj VgSkFEYbuv0zjZm10VLtuARXlMGCZIMi7dNBeipJliMVADZidjM8SEdmSn0TrGBTtMhs GdlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690995950; x=1691600750; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=jM5aZKR0bhjadgMQZ+1U2N3OR7stfII+0JvtkhGpMrM=; b=FR9Cq8sktAfHNdBvPie0XPr5lXKVM87znI86S11rOJnHHZC3tUYCbUYUbH4E+L8Syj q9pk4Bxm4N9FpEoy6tbTydP51yzOQN8yjZ+JorvCmZJV7PK5RygKZj+XBvfnTFPxtQXY 9MnCjdeS9XkMinszHqq6TRS4AAEKRlujIqKwN9Unr308Dz8edLdBaZLbmi1TPBruvF1j 0Bk1kn+r+yMIN52bzI8Fkmu1e1oKOXCl1RciFzBr2W5SD+MKS4HH5oPib4PH/lRrp6Ai wVNtL/3bKWhNbMnBMHbrOETS6sJbfAgPPAlwL/KByspvV+Q+n1TG5ETlFfKHt3srTdXK GvAw== X-Gm-Message-State: ABy/qLZmTDQymIJSSfaIRYzFimokw6EHjnbNpgTEkkElNSpB8RFqNYja YvmfOVjBjbJn6PiUQwwI+ySuWllcLJA= X-Google-Smtp-Source: APBJJlEn2mbBCmkqSupRsx533I2VZLd/egyLxtl1D7XbjedbgrCpkgcAz0Fm48QJXWn844gmUcCKRg== X-Received: by 2002:adf:e452:0:b0:317:5b1b:1a40 with SMTP id t18-20020adfe452000000b003175b1b1a40mr5380006wrm.49.1690995949803; Wed, 02 Aug 2023 10:05:49 -0700 (PDT) Received: from pegmas-T15.fritz.box ([151.71.155.227]) by smtp.gmail.com with ESMTPSA id e8-20020a056402148800b0052227c4384esm8854198edv.34.2023.08.02.10.05.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Aug 2023 10:05:49 -0700 (PDT) From: Massimo Pegorer X-Google-Original-From: Massimo Pegorer To: u-boot@lists.denx.de, Simon Glass , Philipp Tomsich , Kever Yang Cc: Massimo Pegorer Subject: [PATCH 2/2] rockchip: spl: Drop out of scope debug message related to uart init Date: Wed, 2 Aug 2023 19:05:24 +0200 Message-Id: <20230802170524.150654-3-massimo.pegorer+oss@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230802170524.150654-1-massimo.pegorer+oss@gmail.com> References: <20230802170524.150654-1-massimo.pegorer+oss@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Wed, 02 Aug 2023 19:17:53 +0200 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.8 at phobos.denx.de X-Virus-Status: Clean Debug uart is no more inited in board_init_f function: remove this debug message from board_init_f. If an earliest-as-possible message after debug uart initialization is needed, enable DEBUG_UART_ANNOUNCE Kconfig option, instead. Signed-off-by: Massimo Pegorer --- arch/arm/mach-rockchip/spl.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/arch/arm/mach-rockchip/spl.c b/arch/arm/mach-rockchip/spl.c index a6396b3c42..87280e2ba7 100644 --- a/arch/arm/mach-rockchip/spl.c +++ b/arch/arm/mach-rockchip/spl.c @@ -112,17 +112,6 @@ void board_init_f(ulong dummy) { int ret; -#ifdef CONFIG_DEBUG_UART - /* - * Debug UART can be used from here if required: - * - * printch('a'); - * printhex8(0x1234); - * printascii("string"); - */ - debug("\nspl:debug uart enabled in %s\n", __func__); -#endif - board_early_init_f(); ret = spl_early_init(); -- 2.34.1