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 B7369C4332F for ; Fri, 23 Dec 2022 15:01:15 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4947C854AC; Fri, 23 Dec 2022 16:00:49 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (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="Cd/M0xCH"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A463585499; Fri, 23 Dec 2022 16:00:45 +0100 (CET) Received: from mail-qv1-xf34.google.com (mail-qv1-xf34.google.com [IPv6:2607:f8b0:4864:20::f34]) (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 E617A8537A for ; Fri, 23 Dec 2022 16:00:40 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qv1-xf34.google.com with SMTP id c14so3368147qvq.0 for ; Fri, 23 Dec 2022 07:00:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=uXCp7Kg+UdhoK0Pq4wGwYnqP+ehZal4pvnAMVtWwTZo=; b=Cd/M0xCH5OVjocW8JdWuWZp1g+BHIrv42ylorSF2X1d9SOt6B1zWhhZgrBX7DWnPYi BuqWPlH9SJBVwNzihNe2qsQg0xRnluzLIVLkbShWLO3GO5R1NQpvILtgyQjQI/erTpIU 0K0u+fIkou/uFxhHp3ILOFKmrcRsTM1EgVP1g= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=uXCp7Kg+UdhoK0Pq4wGwYnqP+ehZal4pvnAMVtWwTZo=; b=6TROqsxt4VoPwrdXYAK34SxJ5d/0AeKh6DDWjsD7MbJX0V/l15dnFBbTl2kMiDc+Ka YOr1mSf/YyIHg+MmoQDb89vhaS0riTuLvTr58CNhfBCek/c/TiuaBWK/AtwC0l6OQZat JLGTr+KnGCa0cjLwPfFQyEnLXxzSqKkdXNcBW3v3MPko9ty4d1lPqG5FTyhZ9yUKgbuy 9Ah+/NTYN7RYY4GFQVGTu/DsGa7MrWcZzeFgnWdaNsVGp0EKMZ3/Ibqt7Ga2M3ceRqRs 42HJeWMvdZfplDsWJFEaQn7+U61Yzt6DBDW98yChphBXM9cl4colmZ7AtexH7n8UeRxX GA2w== X-Gm-Message-State: AFqh2koTKAFahG971JjanxnAzy46lj80zpBDllyPc3v12/LcdVgo73QY yTQc1vKMDa1/dYgLETqh1/YJaQ== X-Google-Smtp-Source: AMrXdXv0qWZ44ATs0ChNQOn7dTNxU32bdAjHQEI/gz7LPkfXpoN3Ii3RPoRcYAY+7ADeRXME9wJAeQ== X-Received: by 2002:a05:6214:5bc2:b0:4c7:364c:60f3 with SMTP id lr2-20020a0562145bc200b004c7364c60f3mr14162752qvb.12.1671807637778; Fri, 23 Dec 2022 07:00:37 -0800 (PST) Received: from bill-the-cat (2603-6081-7b00-6400-b833-6031-e380-0fb4.res6.spectrum.com. [2603:6081:7b00:6400:b833:6031:e380:fb4]) by smtp.gmail.com with ESMTPSA id c5-20020a05620a268500b006fb11eee465sm2416304qkp.64.2022.12.23.07.00.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Dec 2022 07:00:37 -0800 (PST) Date: Fri, 23 Dec 2022 10:00:35 -0500 From: Tom Rini To: Sinthu Raja Cc: u-boot@lists.denx.de, Marcel Ziswiler , Marek Vasut , Vignesh Raghavendra , Sinthu Raja Subject: Re: [PATCH V2 08/12] board: ti: j721s2: Add board_init and support for selecting DT based on EEPROM Message-ID: <20221223150035.GV3787616@bill-the-cat> References: <20221221135219.24702-1-sinthu.raja@ti.com> <20221221135219.24702-9-sinthu.raja@ti.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="/nn7Eaj7HwcVg1i5" Content-Disposition: inline In-Reply-To: <20221221135219.24702-9-sinthu.raja@ti.com> X-Clacks-Overhead: GNU Terry Pratchett 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.6 at phobos.denx.de X-Virus-Status: Clean --/nn7Eaj7HwcVg1i5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 21, 2022 at 07:22:15PM +0530, Sinthu Raja wrote: > From: Sinthu Raja >=20 > Add the board_init_f API for SPL and run the platform-required SoC initia= lization. >=20 > Add the functionality for board name-based DTB selection from FIT within = SPL. This > will make it easier to utilise one defconfig for both the EVM and the SK. >=20 > Signed-off-by: Sinthu Raja [snip] > +#ifdef CONFIG_SPL_OF_LIST > +void do_dt_magic(void) > +{ > + int ret, rescan, mmc_dev =3D -1; > + static struct mmc *mmc; > + > + if (IS_ENABLED(CONFIG_TI_I2C_BOARD_DETECT)) > + do_board_detect(); I think we should rework this slightly for clarity about mini-U-Boot vs EVM and family support to be: /* Support for the various EVM / SK families */ #if defined(CONFIG_SPL_OF_LIST) && defined(CONFIG_TI_I2C_BOARD_DETECT) void do_dt_magic(void) { =2E.. Instead. Or does that not work because of how we handle the R5 support here? If we so, then please just add the comment. --=20 Tom --/nn7Eaj7HwcVg1i5 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmOlwpMACgkQFHw5/5Y0 tyzBDgv+PsTbGE/3Z5q95TmbBnSfiteDCekpLZMP5KChHSjbyY/Xr9q3AQs65MZN IMUT310A6vRH1cOy+mn81vh0VC7IM2Mt6RY1Rrj4ZCEoWhEDph9RD+waI6BmZM+k T+lLpqHAkk0ZI8m/5bhHgZ1jnq3c7ss+3chiFpDCTKmQWuwWDJh5eHmjA/TK53JP wi8BJvRbhR1gyLeI/gB3Cyx/LI1Qo+PKCPcGY9qtpVb6pJQpP12tHGSrgB1fYfKw BXMP0/7Ks6ZX4lXorej6EensyB5Yveu21tOxW0ATFxpUYdPz1AE9qNMhaxYAXDUX CrB5wNTQ2H7WAqLJ+x33veWnkCRhxw1DCYodYHCCQdLwckPWU1zR1wCTTSdff9R7 9pAQopPKAKUWVWG9pheHOEaLXbOn9ofJyffVCA9Ga6k3BuuaoiFyQCeZscxjScIt 8Qjhlq18W+OWiD2lLBELlMhwuUz64V4Cz4bfrUhdL0KG5wehykqSfNDK3DAuelHz r4PmJcwy =M27E -----END PGP SIGNATURE----- --/nn7Eaj7HwcVg1i5--