From patchwork Sun Sep 20 16:28:59 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mauro Condarelli X-Patchwork-Id: 1367928 X-Patchwork-Delegate: daniel.schwierzeck@googlemail.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=mclink.it 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 4BvY1d14PKz9sSC for ; Mon, 21 Sep 2020 02:29:22 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9298B824AA; Sun, 20 Sep 2020 18:29:12 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=mclink.it 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 09DED82482; Sun, 20 Sep 2020 18:29:08 +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,RCVD_IN_MSPIKE_BL, RCVD_IN_MSPIKE_L5,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from relaygw1-19.mclink.it (relaygw1-19.mclink.it [195.78.211.227]) by phobos.denx.de (Postfix) with ESMTP id B1D0A8247B for ; Sun, 20 Sep 2020 18:29:05 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=mclink.it Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=mc5686@mclink.it Received: from [172.24.30.44] (HELO cgp-esgout01-rm.mail.irds.it) by relaygw1-19.mclink.it (CommuniGate Pro SMTP 6.0.2) with ESMTPS id 189962126 for u-boot@lists.denx.de; Sun, 20 Sep 2020 18:29:05 +0200 X-Envelope-From: Received: from cinderella.condarelli.it (host-82-51-144-38.retail.telecomitalia.it [82.51.144.38]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: mc5686@mclink.it) by cgp-esgout01-rm.mail.irds.it (Postfix) with ESMTPSA id 3181641AEB; Sun, 20 Sep 2020 18:29:02 +0200 (CEST) From: Mauro Condarelli To: u-boot@lists.denx.de Cc: Mauro Condarelli Subject: [PATCH 1/3] Small fixes to reduce size and ensure correct console output. Date: Sun, 20 Sep 2020 18:28:59 +0200 Message-Id: <20200920162901.442748-2-mc5686@mclink.it> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200920162901.442748-1-mc5686@mclink.it> References: <20200920162901.442748-1-mc5686@mclink.it> MIME-Version: 1.0 X-Irideos-Libra-ESVA-Information: Please contact Irideos for more information X-Irideos-Libra-ESVA-ID: 3181641AEB.A877E X-Irideos-Libra-ESVA: No virus found X-Irideos-Libra-ESVA-From: mc5686@mclink.it X-Irideos-Libra-ESVA-Watermark: 1601224142.72562@k1M6DcAVJjwMV49dhmHHIg 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 Signed-off-by: Mauro Condarelli --- arch/mips/dts/vocore_vocore2.dts | 2 +- include/configs/vocore2.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/mips/dts/vocore_vocore2.dts b/arch/mips/dts/vocore_vocore2.dts index 3502e4b8b7..9adf39652f 100644 --- a/arch/mips/dts/vocore_vocore2.dts +++ b/arch/mips/dts/vocore_vocore2.dts @@ -59,7 +59,7 @@ #address-cells = <1>; #size-cells = <1>; compatible = "jedec,spi-nor"; - spi-max-frequency = <25000000>; + spi-max-frequency = <40000000>; reg = <0>; }; }; diff --git a/include/configs/vocore2.h b/include/configs/vocore2.h index 40467b737c..29a57ad233 100644 --- a/include/configs/vocore2.h +++ b/include/configs/vocore2.h @@ -25,6 +25,7 @@ #define CONFIG_SPL_BSS_START_ADDR 0x80010000 #define CONFIG_SPL_BSS_MAX_SIZE 0x10000 #define CONFIG_SPL_MAX_SIZE 0x10000 +#define CONFIG_SPL_PAD_TO 0 /* Dummy value */ #define CONFIG_SYS_UBOOT_BASE 0 @@ -34,6 +35,7 @@ #define CONFIG_SYS_NS16550_CLK 40000000 #define CONFIG_SYS_NS16550_REG_SIZE -4 #define CONFIG_SYS_NS16550_COM3 0xb0000e00 +#define CONFIG_CONS_INDEX 3 /* RAM */