From patchwork Mon Feb 22 22:17:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Bob X-Patchwork-Id: 1443318 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4DkxTb6hCKz9sTD for ; Tue, 23 Feb 2021 09:20:50 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A50C2829A2; Mon, 22 Feb 2021 23:20:36 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=najdan.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 699A282981; Mon, 22 Feb 2021 23:17:36 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mx.najdan.com (mx.najdan.com [208.89.87.111]) (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 6478C82971 for ; Mon, 22 Feb 2021 23:17:33 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=najdan.com Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=bob@najdan.com Received: from [192.168.0.100] ([208.89.84.252]) (authenticated bits=0) by mx.najdan.com (8.14.7/8.14.7) with ESMTP id 11MMHWkJ025955 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Mon, 22 Feb 2021 17:17:32 -0500 To: u-boot@lists.denx.de From: Bobby The Builder Subject: [PATCH 1/1] board_f.c: print DRAM clock speed Message-ID: <26b0d21c-5e42-2fad-78a2-7f25a8bae84b@najdan.com> Date: Mon, 22 Feb 2021 17:17:31 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 MIME-Version: 1.0 Content-Language: en-US X-Mailman-Approved-At: Mon, 22 Feb 2021 23:20:32 +0100 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.102.3 at phobos.denx.de X-Virus-Status: Clean Output the DRAM clock speed Signed-off-by: Bobby The Builder ---  common/board_f.c | 3 ++-  1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/board_f.c b/common/board_f.c index 9f441c44f1..e52d0439cc 100644 --- a/common/board_f.c +++ b/common/board_f.c @@ -226,11 +226,12 @@ static int show_dram_config(void)          print_size(gd->bd->bi_dram[i].size, "\n");  #endif      } -    debug("\nDRAM:  "); +    debug("\nDRAM Size:  ");      print_size(size, "");      board_add_ram_info(0);      putc('\n'); +    printf("DRAM Clock: %d MHz\n", CONFIG_DRAM_CLK);      return 0;  }