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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 944ACC433F5 for ; Tue, 28 Sep 2021 18:45:47 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id D0FDC6124A for ; Tue, 28 Sep 2021 18:45:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org D0FDC6124A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id CEA838048A; Tue, 28 Sep 2021 20:45:44 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="aobAi9mD"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 268D18048A; Tue, 28 Sep 2021 20:45:18 +0200 (CEST) Received: from mail-qt1-x82e.google.com (mail-qt1-x82e.google.com [IPv6:2607:f8b0:4864:20::82e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id CA3168022E for ; Tue, 28 Sep 2021 20:45:07 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qt1-x82e.google.com with SMTP id c20so20854010qtb.2 for ; Tue, 28 Sep 2021 11:45:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=3KrvpaRps0Q1Bwa7Up0osU8gC7a5qaO0klRhykqRTzQ=; b=aobAi9mD2Suyqz4zuOVdAur50Az9pXq4gup9z8fToNhXI/GN0zT17WmlcOuGUmHmSq LnS+gMHrEoWjzNXX+cm385jJQZ/+JL3WESp+SkaFPDDAxvROvwbeJhyGg+zAUWIZvdhe Z0/9W2/EzW7dbSoOIBzMPGyemzQczLgyTyLh0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=3KrvpaRps0Q1Bwa7Up0osU8gC7a5qaO0klRhykqRTzQ=; b=0MuDtFPqyilId7wfgs04BxLOzal8KCxmhwk/jq1ACp/OtpG74qPpjT8xrxECCuVRXc W0MzAN0U0tAxRGoYUPF9C8i1Au6bsgazJ3IhCvW1S5Q3G1FInXUtYquLxTRETJ5DNVeM o6zp/GUeWHNm0SjIqlYSqvscdlzd64t3tG9TJMWpI/RWbgcokTNEYwHil+N2gUml8gJs Rh8/V9l/eugdf/cNDAzXk4MuUeRr0BG6Z4R7hq5ctL0NvqGrGdj51s0rMrTtpWDGzmWX bczGn3WTa7oJUEcFAU/duxbCdNIFfMOUlqiOknv9N2oEfsr3aFQ4dhd5XO5bwnSoufWI YHeg== X-Gm-Message-State: AOAM530rHgcB52e/xSQv5DNMgJF/4rM8e0pNrPmdPETmI2SS16JRG9zL oorXABnJqXvozm4RcoacncOgiA== X-Google-Smtp-Source: ABdhPJwMdHzGqmOpAyqjMA3lIULikowTd/1omiV8rorEOlTy1kt4BSwJxZlPsuTozqlAGl6FiUmhhw== X-Received: by 2002:ac8:71d4:: with SMTP id i20mr7487187qtp.248.1632854706590; Tue, 28 Sep 2021 11:45:06 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-c022-6242-d139-1392.res6.spectrum.com. [2603:6081:7b01:cbda:c022:6242:d139:1392]) by smtp.gmail.com with ESMTPSA id g1sm13452359qtj.22.2021.09.28.11.45.05 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 28 Sep 2021 11:45:05 -0700 (PDT) Date: Tue, 28 Sep 2021 14:45:03 -0400 From: Tom Rini To: Marek Vasut Cc: u-boot@lists.denx.de, Aleksandar Gerasimovski , Andreas Biessmann , Eugen Hristev , Michal Simek , Patrice Chotard , Patrick Delaunay , Peng Fan , Siew Chin Lim , Valentin Longchamp , Vignesh Raghavendra Subject: Re: [RFC][PATCH] mtd: spi: Set CONFIG_SF_DEFAULT_MODE default to 0 Message-ID: <20210928184503.GU31748@bill-the-cat> References: <20210914182824.139667-1-marex@denx.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="XxErtE42FmiGaS4u" Content-Disposition: inline In-Reply-To: <20210914182824.139667-1-marex@denx.de> X-Clacks-Overhead: GNU Terry Pratchett User-Agent: Mutt/1.9.4 (2018-02-28) 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.103.2 at phobos.denx.de X-Virus-Status: Clean --XxErtE42FmiGaS4u Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Sep 14, 2021 at 08:28:24PM +0200, Marek Vasut wrote: > Before e2e95e5e254 ("spi: Update speed/mode on change") most systems > silently defaulted to SF bus mode 0. Now the mode is always updated, > which causes breakage. It seems most SF which are used as boot media > operate in bus mode 0, so switch that as the default. >=20 > This should fix booting at least on Altera SoCFPGA, ST STM32, Xilinx > ZynqMP, NXP iMX and Rockchip SoCs, which recently ran into trouble > with mode 3. Marvell Kirkwood and Xilinx microblaze need to be checked > as those might need mode 3. >=20 > Signed-off-by: Marek Vasut > Cc: Aleksandar Gerasimovski > Cc: Andreas Biessmann > Cc: Eugen Hristev > Cc: Michal Simek > Cc: Patrice Chotard > Cc: Patrick Delaunay > Cc: Peng Fan > Cc: Siew Chin Lim > Cc: Tom Rini > Cc: Valentin Longchamp > Cc: Vignesh Raghavendra Applied to u-boot/master, thanks! --=20 Tom --XxErtE42FmiGaS4u Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmFTYq8ACgkQFHw5/5Y0 tyxsTgv+LHkAaQtf/6H687SRTHWEUtRbLgKVVKwvKntOG1+2XKUaslju8kKx/9in mGqX59t0AklvUsP2XFuCfp2TC/LCi19Z16JrOIN2brYSJ6m7lhSHQTVyBQFttkJq +R+rSffMDT2ij0wvXdgbTISysNUSXyipQGdlc2deTibtI4IbycH0q8KXeS/UH3fW 0YnIksJCdttEkOo25LiTLyE76HHt2wcRDdDuFxBvjx3Jpd7PcD4Sz/mVjug43Z6F coGezZAryWvpMmz1wR75C4mo9MuJ6S+z8SiOIvG54TDlaPM++SSlyc6GMvEz61vh 1CwZ5CSxnrCH+SXUrrazneqOpL6vHfRDRPYlHDQM9749wX+jTMw5KKjUmXvMQL3p 4BWpMMIzQhcDU71WJZUt5hFhpjorHbkXuOIa/jBpsnoWKvpF74HKtKhZX5/gY/CT 0llXaZDMsZn0ySmtPZBRBzF9Hc/OoWRUL6OMxTYLiKjwaOmabOSNnkkICuIo7sjT SY5ooptE =VS4K -----END PGP SIGNATURE----- --XxErtE42FmiGaS4u--