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 43FADC001DF for ; Wed, 2 Aug 2023 17:18:07 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 32AD686BFF; Wed, 2 Aug 2023 19:17:55 +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="TjMzX9M1"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3426B867C3; Wed, 2 Aug 2023 19:05:40 +0200 (CEST) Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) (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 3C6CA86771 for ; Wed, 2 Aug 2023 19:05:38 +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-ed1-x52d.google.com with SMTP id 4fb4d7f45d1cf-52307552b03so373651a12.0 for ; Wed, 02 Aug 2023 10:05:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690995938; x=1691600738; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=T6TYf7FFCEDZ2LJ69UMOCEfRVchKa1r7fjJpYAZrOrM=; b=TjMzX9M1NkwRcObn0DWOdR+iFMHslXkkqwa6MWYyf52MSbP1JQ2KpNL4J/k0anWfD6 zfUKutdRazf39iRFpE/24DxJQLEfpUNTBJ6oEiOx5sM91AS/f0uHrCr6KDuHWQm/9hBW lgMEHuDkQMchNDft8bdxckd/LI+KjKyC+ctbEoQRIgRvNpqZl9hsReqCHxgj9IPnc2Uf vBI5XFOs2QNmkadkLnhtDQ4xJWhq61I34/DhxMKqYuyQCs21tERxuouOG6rOOM9q2EES H9JrAZr9fCBgzB2IzzpX0JqjdeGC1Kf+unk/gsHe58PReCXW8h9t4HY3ao8O/hl14KPb s2mA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690995938; x=1691600738; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=T6TYf7FFCEDZ2LJ69UMOCEfRVchKa1r7fjJpYAZrOrM=; b=hz+E5nRXT+PpVj5nWTqsE5FSjU4WBl5yyXgNHKRb+kPu4S0f4fOz+ZO4irggldRbl5 CTspEI/DGkF9DxZ3UPqLcQpXeZ/7l0yDJ+W3tFDGs+CNBG9Tf63RP38YY2JR687rP7XY bTfoqEwuHHwBSuNv9CKWcbr+ribHFbWc0g6CaeC51kEfh8dGravxs+dPwCSvNR0hQ0LH jbp2NmpfAcGx3kWEPcXdMnaiM+YEoPN+m8pXGFbdBfrKaRgj3OMpZUDjb2g+JfmWcVlV Zu+2YrwM17wZGTYRDPXogeRuTFIlV2P9T6m0s3AKbBlIJSje7OKbbVF2BRWo/kFeEz+F 1o1Q== X-Gm-Message-State: ABy/qLa7ujurUki/M+zCO+k5tq3L0nd92jCld1sN1gIpxXkHjkkLXQFt WvCjqP8RdH2XcJBujcceTZc47BDNXYw= X-Google-Smtp-Source: APBJJlFy2wGEa/uodXzujEIQ4JGe7g1T7BM8Re6UKJMJ+IIhQc6lmoUM5f9t64rjLVJn8s01myfdSg== X-Received: by 2002:aa7:c418:0:b0:522:d6f4:c0e8 with SMTP id j24-20020aa7c418000000b00522d6f4c0e8mr5756231edq.20.1690995937618; Wed, 02 Aug 2023 10:05:37 -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.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Aug 2023 10:05:36 -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 0/2] Drop useless call to debug_uart_init Date: Wed, 2 Aug 2023 19:05:22 +0200 Message-Id: <20230802170524.150654-1-massimo.pegorer+oss@gmail.com> X-Mailer: git-send-email 2.34.1 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 Since commit 0dba45864b2a ("arm: Init the debug UART") function debug_uart_init is called in crt files _main before calling board_init_f. Therefore, there is no need to call it again inside board_init_f implementation as was done in arch/arm/mach-rockchip/spl.c. Remove also debug message related to debug uart initializazion in board_init_f. If an earliest-as-possible message after debug uart initialization is needed, enable DEBUG_UART_ANNOUNCE Kconfig option, instead. Massimo Pegorer (2): rockchip: spl: Drop useless call to debug_uart_init rockchip: spl: Drop out of scope debug message related to uart init arch/arm/mach-rockchip/spl.c | 13 ------------- 1 file changed, 13 deletions(-) -- 2.34.1