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 058CDECAAD3 for ; Fri, 9 Sep 2022 15:34:23 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id BD1FE84BA1; Fri, 9 Sep 2022 17:33:24 +0200 (CEST) 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="D/jp98jM"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1CA5884928; Fri, 9 Sep 2022 17:33:09 +0200 (CEST) Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) (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 5ED7E84B5C for ; Fri, 9 Sep 2022 17:33:03 +0200 (CEST) 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 dfw.source.kernel.org (Postfix) with ESMTPS id 585B26202C; Fri, 9 Sep 2022 15:33:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9BE90C433C1; Fri, 9 Sep 2022 15:33:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1662737581; bh=iinfFNCmsPpUGQlWVf5rLGiS7KGQfqPbnD3b9+vSx+E=; h=From:To:Subject:Date:In-Reply-To:References:From; b=D/jp98jM8ndQJPpwPeBpKrQfUCbYHoxaAj3M0j2WsS6zVAje/27Zk9wMadd8YfkiK 9DZJyEESTLEjALM2HaNv2FGWzVMGrEG6+nnIjS7SpdQ6LGJaVaiGQ8WIrzXhwTb+BN /nLVn6989c756Y6WOzVztqfA3KzEA/Q/AXdV3EdcuxhCCNeBc7nVtlhqZZoO9BZcJm +75A6bbjmBF+ioNWgZzIQglwqUu51sJj/g7o+QWJHnhciVPaUE+BLOTdGXI+EguuKn I2e6QZ9Lj46a4N16pf5f4LzJVXurs7GQ3ua1fkGtJ26ZfPcxBPFYdOWCyOe9de5elP sczSp3VgLdt1g== Received: by pali.im (Postfix) id 6B0787F4; Fri, 9 Sep 2022 17:32:59 +0200 (CEST) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: u-boot@lists.denx.de, =?UTF-8?q?Marek=20Beh=C3=BAn?= , Peng Fan , Tom Rini Subject: [PATCH 8/9] ddr: fsl: Fix re-align of verbose DRAM information for non-SPL builds Date: Fri, 9 Sep 2022 17:32:45 +0200 Message-Id: <20220909153246.8455-9-pali@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220909153246.8455-1-pali@kernel.org> References: <20220909153246.8455-1-pali@kernel.org> 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.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.6 at phobos.denx.de X-Virus-Status: Clean During init_dram() is called also compute_lowest_common_dimm_parameters() function which prints multi-line detailed output. So print also re-aligning filler after "Detected ?DIMM" line to have "DRAM: " output aligned. Signed-off-by: Pali Rohár --- drivers/ddr/fsl/lc_common_dimm_params.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/ddr/fsl/lc_common_dimm_params.c b/drivers/ddr/fsl/lc_common_dimm_params.c index d738ae3a7c66..5e4ad56f0714 100644 --- a/drivers/ddr/fsl/lc_common_dimm_params.c +++ b/drivers/ddr/fsl/lc_common_dimm_params.c @@ -422,6 +422,9 @@ compute_lowest_common_dimm_parameters(const unsigned int ctrl_num, dimm_params[i].mpart); #endif } +#ifndef CONFIG_SPL_BUILD + puts(" "); +#endif } } -- 2.20.1