From patchwork Thu Jan 25 11:05:47 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Graf X-Patchwork-Id: 125807 Delivered-To: patch@linaro.org Received: by 10.46.66.141 with SMTP id h13csp1037134ljf; Thu, 25 Jan 2018 03:11:47 -0800 (PST) X-Google-Smtp-Source: AH8x2249MPvGr0JCuD4061XMXJwD4oAi/MyN2KjdeNWrLRZ1dHnEaacEFbr0BDhrPVXUQK38b5ac X-Received: by 10.80.179.106 with SMTP id r39mr29338558edd.75.1516878707360; Thu, 25 Jan 2018 03:11:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516878707; cv=none; d=google.com; s=arc-20160816; b=ieNyuMiHhqClW1ObAUYD8zpLKLWkb05yXUeMeIWu1cm4wFrZbon4g+zMuG7qhKaKR+ 6I5r9JTqYj/Usve2qcrYnZ+2bWltbc6aUzAIcgoUYew2vb91SjybFwGxXIkd8J8BvKxS bCQ6AAwdSN189pb/7kZPaQWwbNc1mnoMTFAejQIYJGk8yOpn4B+jlfeNX7dO6gABaZNZ QMVP0w2LWvwiHb6yqEH2d8M5h5C7R00dS/5mZDESIBH9zzUUcg4+BAIZpIgVJEHzXzOJ Bg1N7fgrOo12jiVt8/00ObkSSY1VQQKnnkoPoofhO0OTNwsckfjhAgH1Q+E6OWS2lezr f9nA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:references:in-reply-to:message-id :date:to:from:arc-authentication-results; bh=i/XYnkGA8Em7SlEr59GDaFS/+D/VgHYj20rbq2QT4Wc=; b=k2q200a1wZFT+6kvXWCkVJBsAMq4RCHWUgNrKKn2BS9mOpFrZrHxPEGDqlu7iHSWt7 HPFqbAn3Bs47Du/jwck12R1ThCw5jBZoSyL+YhSZgrr2pUEPX0A86jkmNqPOSFFn+I/j /06rJ+1R/FcNwapbcLhZcILUPQhDK528ZKGaa/NlrPPzkkjFoBp2fqg3CObnbOc1vDaD IfiKo2NF17W+x8YmhwKGTIYctpLR9M2vlJk2o7NNkRMUV63Q48OVut4Ll4oSjdcqq9d8 IhxkqER2LNqfXF/QvXMe4u6zBnw39AUZmBWrxIXkJGJ3tequaeKEjGTNsdDTu9P/qVF2 CrNQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id 33si1860015edf.108.2018.01.25.03.11.47; Thu, 25 Jan 2018 03:11:47 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by lists.denx.de (Postfix, from userid 105) id F3A21C22436; Thu, 25 Jan 2018 11:09:16 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 8B23AC22419; Thu, 25 Jan 2018 11:09:15 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 7885FC22423; Thu, 25 Jan 2018 11:05:58 +0000 (UTC) Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by lists.denx.de (Postfix) with ESMTPS id 930A9C223ED for ; Thu, 25 Jan 2018 11:05:58 +0000 (UTC) X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 6317AADFE; Thu, 25 Jan 2018 11:05:58 +0000 (UTC) From: Alexander Graf To: u-boot@lists.denx.de Date: Thu, 25 Jan 2018 12:05:47 +0100 Message-Id: <20180125110556.76352-7-agraf@suse.de> X-Mailer: git-send-email 2.12.3 In-Reply-To: <20180125110556.76352-1-agraf@suse.de> References: <20180125110556.76352-1-agraf@suse.de> Cc: Tom Rini Subject: [U-Boot] [PATCH v3 06/15] serial_bcm283x_mu: Always skip init X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" The serial initialization doesn't always quite work for me, so let's always skip it for now. We know that firmware on the RPi initializes us properly already. Signed-off-by: Alexander Graf --- drivers/serial/serial_bcm283x_mu.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/serial/serial_bcm283x_mu.c b/drivers/serial/serial_bcm283x_mu.c index 20dc3defcc..c6132b4463 100644 --- a/drivers/serial/serial_bcm283x_mu.c +++ b/drivers/serial/serial_bcm283x_mu.c @@ -147,7 +147,12 @@ static int bcm283x_mu_serial_ofdata_to_platdata(struct udevice *dev) plat->base = addr; plat->clock = dev_read_u32_default(dev, "clock", 1); - plat->skip_init = dev_read_bool(dev, "skip-init"); + + /* + * TODO: Reinitialization doesn't always work for now, just skip + * init always - we know we're already initialized + */ + plat->skip_init = true; return 0; }