Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.3 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A55ACC63793 for ; Thu, 22 Jul 2021 15:38:50 +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 BD2CC6052B for ; Thu, 22 Jul 2021 15:38:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BD2CC6052B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 43E7982BE7; Thu, 22 Jul 2021 17:38:47 +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="cIrCnXJz"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8005B82BC3; Thu, 22 Jul 2021 17:38:45 +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 D67408023C for ; Thu, 22 Jul 2021 17:38:37 +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 z25so4461782qto.12 for ; Thu, 22 Jul 2021 08:38:37 -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=4I3cvTCJ8A2AaBFw4+EVD5mHNgGDTASc7283HH+WJSc=; b=cIrCnXJzJqZlQ4PQ+nysfQZ89KzKZ6MYxBCxcKt+rSZl37KJIzPkj/xBEBAqcRPuFW pTRZfunouuR+cylL8arfE1Mku+ZVYYJfyRSEiLfDXhsSWzFgYOrG4M+7WYICEiLBX2aI LbtT3o8aU/oLJeAqhIATa7gpI+lxR8Ris+6Cg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=4I3cvTCJ8A2AaBFw4+EVD5mHNgGDTASc7283HH+WJSc=; b=cRQCDdVi/xvrjxd9XeX9KSqQRQd9/otKCBgL4YQZqa1rYWjatZtwigihWAUcb8IgGQ 15upU6oYkAxI1a+KxlndVqKM11FnTU5saQvGxHwJPDFOtDLNB1OGGWRULdnoJx3vn4Jw Z1L0BZ3+7uJQUOAs5xnTBz4bABdyCAIaooZWtgWTJ5gJXP3n8MjjSKyF+Bkfmy3sp0XB oLUw6aB/ezKDzGtAcd2DZ6u/YodN6UjrHR7t88v3W9zTD7fBef5uPy1S7Qot8ah6kPm3 Pp4jL6sT6i0S3QsWeG0VMTg+mqsYGYMjBVmZhJ3IMdVdjC69d2Z+eT6u/vleltJ7hFh4 LaQQ== X-Gm-Message-State: AOAM532xSCoPg5iHWHh1DDQp5AT4Bt3u27pwoR/GoRJz1ulqwuJyLftb PA7pPwN0PDtp6OL2Gu0rTzhl9iSx+Ea6RQ== X-Google-Smtp-Source: ABdhPJzB2mvWswQsXjvz3E7H38Lyfxb36q/MSGgGHri3woJDdVS6Vv/FBc0GZypFhzxBsCaWWsYFTg== X-Received: by 2002:ac8:7a98:: with SMTP id x24mr295096qtr.42.1626968316695; Thu, 22 Jul 2021 08:38:36 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-9c9f-331b-6244-0ec0.res6.spectrum.com. [2603:6081:7b01:cbda:9c9f:331b:6244:ec0]) by smtp.gmail.com with ESMTPSA id x5sm12995575qke.92.2021.07.22.08.38.35 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 22 Jul 2021 08:38:36 -0700 (PDT) Date: Thu, 22 Jul 2021 11:38:33 -0400 From: Tom Rini To: Dennis Gilmore Cc: u-boot@lists.denx.de, dgilmore@redhat.com, Simon Glass , Philipp Tomsich , Kever Yang , Aditya Prayoga , Akash Gajjar , Jagan Teki , Fabio Estevam , Andre Przywara , Patrick Delaunay , Peter Robinson , Tim Harvey , Heiko Schocher , Lokesh Vutla , Dave Gerlach , Neil Armstrong , Hugh Cole-Baker , Jonas Smedegaard Subject: Re: [PATCH] rk3399: Add basic support for helios64 Message-ID: <20210722153833.GZ9379@bill-the-cat> References: <20210721231339.297097-1-dennis@ausil.us> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="LHFKOXr+Zo7IHCEX" Content-Disposition: inline In-Reply-To: <20210721231339.297097-1-dennis@ausil.us> 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 --LHFKOXr+Zo7IHCEX Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 21, 2021 at 06:13:37PM -0500, Dennis Gilmore wrote: > From: Dennis Gilmore >=20 > This is a stripped down version of the vendor U-Boot patch by Aditya > Prayoga found in the armbian repository. This patch is enough to have > the 1G ethernet port, the micro SD card, eMMC, PCIe and UART. It sets > uart2 as the default outiput device. the defconfig file has been cleaned > up a lot from the vendor version. >=20 > The device tree file is from the for-next branch of linux-rockchip and > targeted for 5.15 needed for SPI, stdout-path, and tsadc enablement >=20 > Signed-off-by: Dennis Gilmore [snip] > +#if defined(CONFIG_ENV_IS_IN_MMC) > + #define CONFIG_SYS_MMC_ENV_DEV 0 > +#elif defined(CONFIG_ENV_IS_IN_SPI_FLASH) > + #define CONFIG_ENV_SPI_BUS CONFIG_SF_DEFAULT_BUS > + #define CONFIG_ENV_SPI_CS CONFIG_SF_DEFAULT_CS > + #define CONFIG_ENV_SPI_MODE CONFIG_SF_DEFAULT_MODE > + #define CONFIG_ENV_SPI_MAX_HZ CONFIG_SF_DEFAULT_SPEED > +#endif This is all in Kconfig now. --=20 Tom --LHFKOXr+Zo7IHCEX Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmD5kPYACgkQFHw5/5Y0 tyy2agv/eOeg78hp6mCbGp9S9CpGgG+3aSzsL1pGK6aciXhkIooWWlvf8wVMqfbC ZelYMrxPTcyg5xJul6iSk9oMVsFHOKxsJZuRNWwI+8DqzZ63FSdUI6k94EDUOVZy DQOegJpdCkjB57k4etpv0yCbDEkumXxuAc+RdSEdGqnEpFVZQNfQtJMjSHSEfCk6 P4AY2f9hlOX9lEZmFnk9RjesfmH+9l00GKR0rTzLGWWXc36jy1erIW8LFmprufnq oCWKH5Cc4qgHUSL8uVLvwIUqrfQ+dgCMHxjo/Ad/iDmuxv06sicx2gRIW2oSkpTK 1BkGTrKq6kr6mLHEf9/545nZUOKkBYJs7Q5bLzRnRDTH2dZTWpcTQmwfNJm+1i1P eFz95jNlb+7vN6Rx9X50SJt2/t/aSJiJAXZ6MPa0Q0ujGINeZxrRzX7fMJWc7p+c AacDE9tH4ZgFG6EsCdbihJs5Q0icGcABagoxX9/wxzPeqyj94nzwW4GQrM1GeJEO q6HypAcD =rQ/P -----END PGP SIGNATURE----- --LHFKOXr+Zo7IHCEX--