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 388C7C433F5 for ; Thu, 10 Feb 2022 04:34:50 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 22E0581F9A; Thu, 10 Feb 2022 05:34:48 +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="Za/y+bRJ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 65E1081F9A; Thu, 10 Feb 2022 05:34:45 +0100 (CET) Received: from mail-qt1-x834.google.com (mail-qt1-x834.google.com [IPv6:2607:f8b0:4864:20::834]) (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 777EF811E1 for ; Thu, 10 Feb 2022 05:34:42 +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-x834.google.com with SMTP id x5so3953900qtw.10 for ; Wed, 09 Feb 2022 20:34: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:mime-version :content-transfer-encoding; bh=Db/Mpm7Nr8VRXu5tTIPsxLh9wElSJ/x73QIIOSKayH8=; b=Za/y+bRJlaQfDrrOrd1YEYNMVsYBWQMRUQFIRsaRpudSL4PFg9pz7HuB8BnBHVqS3k IjAx/mUHFTw8mpbpCHkTc9FNs/IIHR4BoXVx7u1OypEoVlOesBxNZ3rObaShADZQz0/1 IIvchrQf3Uc+wPQMQBjGXkUcyL2PMfZGGr6DXqr4+Q5wZkJvat3+fbUiVkEimLrWoQM6 PmB7qTROcHwumqyPZFrPT7HaQS26sVmrnLlhjac5GheR9i5PhCPLjsovvIkUwyUQdU2L rkMHlnmQSjKe26TkyvWfvr9W42wko/wIB+k12ICVrFvwDbFNgNZXqA7dtt2XuzXhety8 liZw== 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=Db/Mpm7Nr8VRXu5tTIPsxLh9wElSJ/x73QIIOSKayH8=; b=w0rQeCAKUTJsjHAqk77j1XCpDKR4qbzlHwyRyldNPQJjzYxthkhiTU1r7FpvsH+20H eV5y7wDELJJTdC4Ix2H6XAcO+02h/8eLCaq1gDRPbS6bpn486lfs01oteda9cucA25x2 Wcw2hI8Buly9WvmaTv2DKDgHQqPvawWWsDMILGL9IYl4Hu5zYny3ETuZpajvGXvGyw05 FbYBxJaLRdd2k5LQ6bRLPUQ/MVmiClBeSzt2XcfYBMdcT1uCWCE/3qCN4oarSFC9zoK9 Msgrle2928sLtQ38mTyd8VzTlbkUQHJwiELZPt7Lw46ncSF62Ws6PS278i6BTN1pJNjd cCpg== X-Gm-Message-State: AOAM531orGDUooDLcYjydrHDJik79YIjjDkssPbDj561/f8loI/qvKe2 bTHQ0lSGjDAQztU69h8Ngz2KsYUAQ/o= X-Google-Smtp-Source: ABdhPJx7WdrEqjtrp37+E1FNoWg0dxKbBEwqEBM69uJ8kviE66NXAW4sClObuw98vxI3l4Z03077jw== X-Received: by 2002:a05:622a:213:: with SMTP id b19mr3686573qtx.398.1644467680755; Wed, 09 Feb 2022 20:34:40 -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 p15sm10399512qtk.56.2022.02.09.20.34.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Feb 2022 20:34:40 -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 v1 0/3] Add spi boot to SPL on SUNIV Date: Wed, 9 Feb 2022 23:34:35 -0500 Message-Id: <20220210043438.1706939-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 mach-sunxi: Add spi boot for SUNIV mach-sunxi: Enable spi boot for SUNIV arch/arm/include/asm/arch-sunxi/gpio.h | 1 + arch/arm/include/asm/arch-sunxi/spl.h | 15 ++++++++ arch/arm/mach-sunxi/Kconfig | 2 +- arch/arm/mach-sunxi/board.c | 50 ++++++++++++-------------- arch/arm/mach-sunxi/spl_spi_sunxi.c | 26 ++++++++++---- configs/licheepi_nano_defconfig | 1 + 6 files changed, 60 insertions(+), 35 deletions(-) -- 2.34.1