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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id C962FC433EF for ; Sat, 12 Feb 2022 00:33:29 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4CFE983BF3; Sat, 12 Feb 2022 01:32:58 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="f/UcIhkV"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 5F83683BD0; Sat, 12 Feb 2022 01:32:49 +0100 (CET) Received: from mail-qt1-x829.google.com (mail-qt1-x829.google.com [IPv6:2607:f8b0:4864:20::829]) (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 0734483BE1 for ; Sat, 12 Feb 2022 01:32:43 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=mr.bossman075@gmail.com Received: by mail-qt1-x829.google.com with SMTP id s1so10507892qtw.9 for ; Fri, 11 Feb 2022 16:32:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=cs73q/QfaA7QMU3PPC2lntRUJwo8/CmWh6ju/xci8UU=; b=f/UcIhkV7SsBULWI6XimZLD94qADF0rXDHctUyEm/gn8HG6+11M137ytfAs3aGrCSp XAO4nlSPVK0eMi2sNSPgYGSZHr/EuwiKPsqcr4YvnysMpeyGJADulYpqgZ/Fg0+7VSMe EKJpn3zwcYhpWdr8DIkTpj/69UKJTmCA4b/1eRY5LBb1QyvhX+qCYJXTeBExvjO62D/a JTPtoWIZGxTAnV+68OSHxl/4CYv3hY8KotjSdAFZXsnkpN+HtNRC5qXreuIfoKNHJuo5 IEIXvyshQTu3N7UBpBS37AhO8uyGogIhLq+uLwC/VpbrpUwD4OZdXLI1O6e/p10yRtS2 1Egg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=cs73q/QfaA7QMU3PPC2lntRUJwo8/CmWh6ju/xci8UU=; b=ySMjasfXK3vxZJkgSgGJvvYD6XGOsxHMOMm24RhtkkGbgZzE+Eh8oKEVdnl1GIpSYv P3UFoEwIsv/L0+4DGiSzpKE0KSih25idWoV0KcCzmam1z+AriCpRFLt9qdXFCYdMjHPi 3wfwP+02EGY4kjQ1oCgANi0fwWfCr4bYsnSoylg2Ql6bP1G2+FmnLxXscgb4F59gA4JO wd+kZQ4w5SYWwaBPIJzHvPeOXbYcaFp/qp1eFS6U4Cgr7eGX+hoIXM7++15qBOqSIitf UwMT3o8eZlerNowvHqhhoQmoUmovZo9D8YJKjvvr1AVADXmmoltbcM7PddYI9dPwDdxI b9fw== X-Gm-Message-State: AOAM5319gC/UYPiYonpYc62p8pelWYy7G5e+jm4yRoFmn6wg+l4yh0sk MhvuBvoqseOqfQiz3qaA/S9AzaMqhXI= X-Google-Smtp-Source: ABdhPJyslqgZgFnTqOORJoYqJrexzRApplYvaNHGyzBnvPU8GmFnbEK6eKQECG0P98ngxEukHDrmqQ== X-Received: by 2002:a05:622a:1a0b:: with SMTP id f11mr3022204qtb.329.1644625961684; Fri, 11 Feb 2022 16:32:41 -0800 (PST) Received: from jesse-desktop.jtp-bos.lab (146-115-144-188.s4282.c3-0.nwt-cbr1.sbo-nwt.ma.cable.rcncustomer.com. [146.115.144.188]) by smtp.gmail.com with ESMTPSA id d22sm12471322qkn.112.2022.02.11.16.32.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Feb 2022 16:32:41 -0800 (PST) From: Jesse Taube X-Google-Original-From: Jesse Taube To: u-boot@lists.denx.de Cc: jagan@amarulasolutions.com, andre.przywara@arm.com, hdegoede@redhat.com, sjg@chromium.org, icenowy@aosc.io, marek.behun@nic.cz, festevam@denx.de, narmstrong@baylibre.com, tharvey@gateworks.com, christianshewitt@gmail.com, pbrobinson@gmail.com, jernej.skrabec@gmail.com, hs@denx.de, samuel@sholland.org, arnaud.ferraris@gmail.com, giulio.benetti@benettiengineering.com, Mr.Bossman075@gmail.com, thirtythreeforty@gmail.com Subject: [PATCH v2 3/3] mach-sunxi: Enable SPI boot for SUNIV and licheepi nano Date: Fri, 11 Feb 2022 19:32:35 -0500 Message-Id: <20220212003235.2162334-4-Mr.Bossman075@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220212003235.2162334-1-Mr.Bossman075@gmail.com> References: <20220212003235.2162334-1-Mr.Bossman075@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.5 at phobos.denx.de X-Virus-Status: Clean Enable SPI boot in SPL on SUNIV architecture and use it in the licheepi nano that uses the F1C100s. Signed-off-by: Jesse Taube Reviewed-by: Andre Przywara --- V1 -> V2: * Change commit description --- arch/arm/mach-sunxi/Kconfig | 2 +- configs/licheepi_nano_defconfig | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig index 205fe3c9d3..d1c60d2408 100644 --- a/arch/arm/mach-sunxi/Kconfig +++ b/arch/arm/mach-sunxi/Kconfig @@ -1038,7 +1038,7 @@ config SPL_STACK_R_ADDR config SPL_SPI_SUNXI bool "Support for SPI Flash on Allwinner SoCs in SPL" - depends on MACH_SUN4I || MACH_SUN5I || MACH_SUN7I || MACH_SUNXI_H3_H5 || MACH_SUN50I || MACH_SUN8I_R40 || MACH_SUN50I_H6 + depends on MACH_SUN4I || MACH_SUN5I || MACH_SUN7I || MACH_SUNXI_H3_H5 || MACH_SUN50I || MACH_SUN8I_R40 || MACH_SUN50I_H6 || MACH_SUNIV help Enable support for SPI Flash. This option allows SPL to read from sunxi SPI Flash. It uses the same method as the boot ROM, so does diff --git a/configs/licheepi_nano_defconfig b/configs/licheepi_nano_defconfig index 2ac0ef4285..9fd1dcc995 100644 --- a/configs/licheepi_nano_defconfig +++ b/configs/licheepi_nano_defconfig @@ -9,3 +9,4 @@ CONFIG_MACH_SUNIV=y CONFIG_DRAM_CLK=156 CONFIG_DRAM_ZQ=0 # CONFIG_VIDEO_SUNXI is not set +CONFIG_SPL_SPI_SUNXI=y -- 2.34.1