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 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 3EB6AC433F5 for ; Thu, 10 Feb 2022 19:51:21 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A4DEC83214; Thu, 10 Feb 2022 20:51:19 +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="CMu5mDwA"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C9B3C8321B; Thu, 10 Feb 2022 20:51:17 +0100 (CET) Received: from mail-qt1-x82f.google.com (mail-qt1-x82f.google.com [IPv6:2607:f8b0:4864:20::82f]) (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 65F968309D for ; Thu, 10 Feb 2022 20:51:14 +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-x82f.google.com with SMTP id y8so6539695qtn.8 for ; Thu, 10 Feb 2022 11:51:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:cc:from:in-reply-to:content-transfer-encoding; bh=YQW2I1gFG7V8KehVxo/QWc/JX7tJ6BvGON9z61ncj7M=; b=CMu5mDwAuSMI0QGyPFWuT7NqZBq2JEZ0d7weC7IU0wlbfOAGAewJVs42ca75LEp1AD ImBHL3RWCIX7dTrtmzihgIR4WAJho/9tRAz6yJEjWsXszJxMgfJf6e6F5pHbU7xWLeFe 2e7n6YRWMtrw5sYQ3LIZnni6eSZYVT5P6e+JhPQnl1bckT3zKknreftDKSK8sdigMdas F6aZC2wEVmNON/rshrmIl+s0C4EGbOKIcNSZnM3mM14ngg6o/AixeQN5tfe71yMkGaDz CoHV0w7bu5lUPZRw8yGKxvJW9wL99UjhaeQmQ6XkqtYceIL/A4Pycv+BDZu2Z/O6jYGW sYQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:cc:from:in-reply-to :content-transfer-encoding; bh=YQW2I1gFG7V8KehVxo/QWc/JX7tJ6BvGON9z61ncj7M=; b=cn3ehun8//mEf6iQZQfgDuY0A8Q3FXV44CHuTUXYcy1Kj5QK8yXxDmAD3BvFGIcVJD a+/UGBt8cNzlD9Y/tr3i8ohG5RkRG5q71AnQ+BBzozERs4NuGMTgffv6PI9EVDALRRuj sHMcGKRYsjpcauJtJRxABWplAyxje1ZzywF9BEXQ3FdxX4B1zQJmuLWyrJ/2HoNp28z3 t0WkOjY8frIqfK7jIDl+mlV3Luerj6YIdiR5uj5wvSVgwHlQX2r6HPAbmohniA3+FcLd lQT0DuszAyxjWm0D2vopWwSXiTcLMR9YpjKAmlOx3mww7nr/RxMhY8YbH8b3X1QG3aZs xgBQ== X-Gm-Message-State: AOAM531n8n96YGYEjnCsZPFb+IdgaFoPCzhtmDTdsv81dq5YBSTF+QQu EAVktfY7EVMEO3SyJfg7+MQ= X-Google-Smtp-Source: ABdhPJzw6GzZSKwq241rmax37ukCb/YAFBqPnigKQPLoY+aqH11anhfXy+MLMG8tfBReEme1WYFxNw== X-Received: by 2002:ac8:67d5:: with SMTP id r21mr6070177qtp.544.1644522673205; Thu, 10 Feb 2022 11:51:13 -0800 (PST) Received: from [10.4.10.38] (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 l25sm10245155qki.85.2022.02.10.11.51.11 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 10 Feb 2022 11:51:12 -0800 (PST) Message-ID: <67bd2cd2-d531-9413-9974-dbfd67a149d6@gmail.com> Date: Thu, 10 Feb 2022 14:51:11 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.0 Subject: Re: [PATCH v1 1/3] mach-sunxi: Add boot device detection for SUNIV Content-Language: en-US To: Siarhei Siamashka References: <20220210043438.1706939-1-Mr.Bossman075@gmail.com> <20220210043438.1706939-2-Mr.Bossman075@gmail.com> Cc: u-boot@lists.denx.de, jagan@amarulasolutions.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, thirtythreeforty@gmail.com, Andre Przywara From: Jesse Taube In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 On 2/10/22 14:38, Siarhei Siamashka wrote: > On Thu, Feb 10, 2022 at 6:35 AM Jesse Taube wrote: > [...] >> + case SUNIV_BOOTED_FROM_NAND: >> + case SUNIV_BOOTED_FROM_SPI: >> + return BOOT_DEVICE_SPI; > > Is it really okay to lump SPI and NAND together and return > BOOT_DEVICE_SPI for both? Booting from SPI NAND. I can change it to BOOT_DEVICE_NAND. > What's the NAND support story on this device? I thought BOOT_DEVICE_NAND was for parallel NAND but I may be wrong could come one clarify please? Thanks, Jesse Taube