From patchwork Thu Aug 20 04:44:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Roese X-Patchwork-Id: 1348150 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=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=denx.de header.i=@denx.de header.a=rsa-sha256 header.s=phobos-20191101 header.b=KYWzsVMB; dkim-atps=neutral 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 4BXBtZ0vP8z9sPC for ; Thu, 20 Aug 2020 14:46:14 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2DAFE82272; Thu, 20 Aug 2020 06:45:19 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1597898719; bh=4haLw7iHuKHM9RZs3iiWAumsDhoR6LMdDv6D6jBAlpg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=KYWzsVMB5pp2WKsiLklvEgj2niX5xJnsAPYTpWPRpFpo1k0/RcSryPLJk2+NpcJWy mhj3D553NSt5Xa3sja4J1Pfbs/zEyznWjR/auxkTvPf7HSn00zxg2j/5wixTMA8J/e YkLED9FIWflSVpRvEsPUN8aTHdR1kM3JO+K2Zpc9DGsYxSdHKquDQNg0irKT+sMkcm +oug5KqmNvpqnGmREH2iInJf5RWu41Zzzy0iPcNSu8rRkF/ln7oO/2kJ9M1wLJAd5x kBzvRhtSQrKdVE9P/na02Z+NyLu+hWB0KGS0nnb/xgRtaKzct7HaA3FaT+A5zGS6xj 1RaL+iQ0+iU4w== Received: by phobos.denx.de (Postfix, from userid 109) id 00EAA8225C; Thu, 20 Aug 2020 06:45:10 +0200 (CEST) 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, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mx2.mailbox.org (mx2.mailbox.org [80.241.60.215]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 37D4B821D4 for ; Thu, 20 Aug 2020 06:45:06 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=sr@denx.de Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by mx2.mailbox.org (Postfix) with ESMTPS id 78AD9A1824; Thu, 20 Aug 2020 06:45:04 +0200 (CEST) Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter05.heinlein-hosting.de (spamfilter05.heinlein-hosting.de [80.241.56.123]) (amavisd-new, port 10030) with ESMTP id 0jwB70qi5rq3; Thu, 20 Aug 2020 06:45:01 +0200 (CEST) From: Stefan Roese To: u-boot@lists.denx.de Cc: Ovidiu Panait , daniel.schwierzeck@gmail.com, trini@konsulko.com, =?utf-8?q?Pali_Roh=C3=A1r?= , sjg@chromium.org, Max Filippov Subject: [PATCH v7 06/10] xtensa: Remove local no-op dram_init_banksize() Date: Thu, 20 Aug 2020 06:44:48 +0200 Message-Id: <20200820044452.2786286-7-sr@denx.de> In-Reply-To: <20200820044452.2786286-1-sr@denx.de> References: <20200820044452.2786286-1-sr@denx.de> MIME-Version: 1.0 X-MBO-SPAM-Probability: * X-Rspamd-Score: 1.22 / 15.00 / 15.00 X-Rspamd-Queue-Id: 6090A1268 X-Rspamd-UID: b3ce5f 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 When this no-op dram_init_banksize() is removed, the weak default will be used instead, which correctly sets the bi_dram[] banksize values. Signed-off-by: Stefan Roese Reviewed-by: Ovidiu Panait --- Changes in v7: - Add Reviewe-by tag from Ovidiu Changes in v5: - New patch to fix the failing "test.py xtfpga" CI test board/cadence/xtfpga/xtfpga.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/board/cadence/xtfpga/xtfpga.c b/board/cadence/xtfpga/xtfpga.c index 4b49b6e5c8..5811c43142 100644 --- a/board/cadence/xtfpga/xtfpga.c +++ b/board/cadence/xtfpga/xtfpga.c @@ -49,11 +49,6 @@ int checkboard(void) return 0; } -int dram_init_banksize(void) -{ - return 0; -} - int board_postclk_init(void) { /*