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 23775C433EF for ; Sat, 12 Feb 2022 00:32:46 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 6846E83BD1; Sat, 12 Feb 2022 01:32:44 +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="TB4pS5o3"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A4A2D83BAE; Sat, 12 Feb 2022 01:32:42 +0100 (CET) Received: from mail-qt1-x830.google.com (mail-qt1-x830.google.com [IPv6:2607:f8b0:4864:20::830]) (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 AB7AC83BD0 for ; Sat, 12 Feb 2022 01:32:39 +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-x830.google.com with SMTP id o3so10518080qtm.12 for ; Fri, 11 Feb 2022 16:32:39 -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:mime-version :content-transfer-encoding; bh=rJM+7E9pUuWvOggrvQjFbxKsFzeMuLBUGeHi+gNE8+w=; b=TB4pS5o3BpFNRhX6rxWne4BxfcqMsmrNQvzkkfJP4o9HpbtLBp75GOdokSQt1ZsLu7 U5gwAK+HIH74J2iFYK6gi0mc7u2ib4/FX/FV+M0GO6EDInDl2CRqmFEPnz4Pgq5L8De1 k+ZqFxKK01S2iYhqknN5zQa7MJr0G44LbgE60U3av4r6WUWI8SMk5XHK78JC/EsAePy4 ubokloeG5MTdU4D37BMAgmcIy0hxExb6BWPdmZs1FAZaa4pXhzTzakcJBVC+yZKxkBYR Ye/riI11F0XSLOks0/P/isF9w+gi26A/ZIv9Hjt+c65ocxI0LziRmZq3dA5uoj3wJcDq sPSw== 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:mime-version :content-transfer-encoding; bh=rJM+7E9pUuWvOggrvQjFbxKsFzeMuLBUGeHi+gNE8+w=; b=gvCUGy5P9BLsqIm221+v9QhV2xSnTsg5W7ZsjC3wL8hRhDEPiZWorsRT2LdsiyQ7XD +6u8D10l7g19GB3c44IC47RCudQu0zSWRN4Whf0ODcGUHvxSWTUQLCM/08tPjrfEB2El yVU5/lspuiKPro4Yg544NJQ8ZO6YmK09spoTVUl4N+zw5Wd1FrDCK4/kU3yPXgKxdxH4 q+7/4lAm9bbNscuFJWysQKi/J2aqO6ZH/y3maVMNiV5LetiSV4izk1qQ/uWvbFdFlV7j mtSsO+gtQd/Hqzu3vFoNZtQNNyzdPOktNo72Hx/MZLQi6gxVlxxbi2bt5zfH/XOD9MVP AzrA== X-Gm-Message-State: AOAM531BeRx9FtK67nZQ1P9Tx/wSV5HIrNs0COC637Ad3ns1ICVYfsiB YG1eHEZGHMuvdChKo8RFS/WUajY3r6g= X-Google-Smtp-Source: ABdhPJxngTgWv9GJnSwqTN4KhjBzp47nLc4H9CBoaGD1kOWXGL6XPuvnTtDzjbB+5vCFnp90rjCFWg== X-Received: by 2002:ac8:7dc8:: with SMTP id c8mr2968417qte.672.1644625957921; Fri, 11 Feb 2022 16:32:37 -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.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Feb 2022 16:32:37 -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 0/3] Add SPI boot to SPL on SUNIV/F1C100s Date: Fri, 11 Feb 2022 19:32:32 -0500 Message-Id: <20220212003235.2162334-1-Mr.Bossman075@gmail.com> X-Mailer: git-send-email 2.34.1 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 This patch adds the ability to detect the BROM's boot source, as well as the ability to boot from SPI. Jesse Taube (3): mach-sunxi: Add boot device detection for SUNIV/F1C100s mach-sunxi: Add SPL SPI boot for SUNIV mach-sunxi: Enable SPI boot for SUNIV and licheepi nano arch/arm/include/asm/arch-sunxi/gpio.h | 1 + arch/arm/include/asm/arch-sunxi/spl.h | 10 +++++ arch/arm/mach-sunxi/Kconfig | 2 +- arch/arm/mach-sunxi/board.c | 57 +++++++++++++------------- arch/arm/mach-sunxi/spl_spi_sunxi.c | 24 +++++++---- configs/licheepi_nano_defconfig | 1 + 6 files changed, 58 insertions(+), 37 deletions(-) -- 2.34.1