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 D99BBC433F5 for ; Mon, 14 Mar 2022 18:28:40 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E777E83B67; Mon, 14 Mar 2022 19:28:38 +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="hXWPIrDm"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1D48C83BBF; Mon, 14 Mar 2022 19:28:37 +0100 (CET) Received: from mail-qk1-x72b.google.com (mail-qk1-x72b.google.com [IPv6:2607:f8b0:4864:20::72b]) (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 5841E83B67 for ; Mon, 14 Mar 2022 19:28:33 +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-qk1-x72b.google.com with SMTP id 1so12937842qke.1 for ; Mon, 14 Mar 2022 11:28:33 -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; bh=GPuSRYbT0oL91ctnqjM9yeqg3WNZjpiUefrIU/V3Y+8=; b=hXWPIrDmuqY/AvIY64n/oqQOiVmihBkJZ8MQ9ZlmscgUeDzhUqCNStOJUk9Zj2RL1t hZHeJJlEwT5npzqMBUhQ2OFN9OHuLlHEa1IVLOQ7yCXiPisupVhce/qUOlVmR3cvatpM 0vJ04BAGh4jVYXtVk66OeRLSDS3tjqaSPBLKA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=GPuSRYbT0oL91ctnqjM9yeqg3WNZjpiUefrIU/V3Y+8=; b=6X7tac9rAkGZgzKr1tGZN1uVbgmamGOIZNEYcRnheygHT8uTd6GLv71LQ7KJe+nCb/ cDI6MBausudIYxCboxCJUD/ODzJCmlWQ4xRD7ws1ioUTp9IUF4sDGLZh2V6pMRTHOOuz 91BNHH63jDrt7sH1HmXUtTKrDk8sxmwLB/50YFFe609bGsOLTyydddSv40fw58Jz2JxX 0Mepd81hHrJphnhdCc0Mf6eh3UHMVd5am31vNfdjYxiGiymZRwX0MZ10dgfOU1TbIW4c IMs//US29YtiSECZbD/9mSJW4DOW0C8WdJRziOjEC8cMWTuO8Ok152C0CfYjRNI/vfSJ wvZg== X-Gm-Message-State: AOAM530/9bPs9er4S9Kg8ZCN1f1O1wxqqou3EC3FVJQl/piUrXFJHI+D 808rajgswR0df+vKzcL3j8Y+eQ== X-Google-Smtp-Source: ABdhPJwVonIUoSPJ3+88cz35yynikuRqhUsHVHg3k/SVpQ48LZ2JgE0zyKSmroo5rTR+NFGHbv3E1Q== X-Received: by 2002:a05:620a:4543:b0:67d:bb26:9a84 with SMTP id u3-20020a05620a454300b0067dbb269a84mr5187292qkp.526.1647282512109; Mon, 14 Mar 2022 11:28:32 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-2ef0-5dff-fedb-a8ba.res6.spectrum.com. [2603:6081:7b01:cbda:2ef0:5dff:fedb:a8ba]) by smtp.gmail.com with ESMTPSA id a10-20020a05622a02ca00b002e1ce9c91d1sm3008398qtx.23.2022.03.14.11.28.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Mar 2022 11:28:31 -0700 (PDT) Date: Mon, 14 Mar 2022 14:28:29 -0400 From: Tom Rini To: Simon Glass Cc: Soeren Moch , Stefano Babic , Fabio Estevam , U-Boot Mailing List Subject: Re: [PATCH 2/2] board: tbs2910: Convert to DM_SERIAL Message-ID: <20220314182829.GK9986@bill-the-cat> References: <20220314082626.96395-1-smoch@web.de> <20220314082626.96395-2-smoch@web.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="4VcSvkf+hAuPXtVJ" Content-Disposition: inline In-Reply-To: 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.5 at phobos.denx.de X-Virus-Status: Clean --4VcSvkf+hAuPXtVJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 14, 2022 at 12:24:36PM -0600, Simon Glass wrote: > Hi Soeren, >=20 > On Mon, 14 Mar 2022 at 02:26, Soeren Moch wrote: > > > > ... to get rid of the build warning. > > Unfortunately we still need the board specific serial pin init code. > > Otherwise the first boot messages over the serial console are lost. > > > > Signed-off-by: Soeren Moch > > --- > > Cc: Stefano Babic > > Cc: Fabio Estevam > > Cc: Tom Rini > > Cc: Simon Glass > > Cc: u-boot@lists.denx.de > > > > The whole purpose of DM is somewhat defeated when we still need board > > specific initializations. Any ideas how we can get all boot messages > > without board specific inits? 'u-boot,dm-pre-reloc;' in the uart device > > tree node did not help. >=20 > You can put that in your serial driver, perhaps? Or in the initial SoC > init code? >=20 > Another recent way (in -next) is to use events to monitor the > EVT_DM_PRE_PROBE event for the serial driver. It's just the same thing every single imx platform is doing. --=20 Tom --4VcSvkf+hAuPXtVJ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmIviUoACgkQFHw5/5Y0 tyzFkgv/XwRu9qaFTPK7WK1uPShU7W5xVI7U7HXmlOUq0/dlnDue27yM9j6rqQpU C12ylMhpveaYSwvjrpIKKrwqOxKTuRe5XlYOHqAcK1Qr3jZqDOxbKuT2/S1Fjl8K uR2PV345Z8HAnmEDZYmr1q2SM0d7zihvmTEVOrFVC53LQ2AjPojBVaV7hqA6b6fH BdR8341LZljCWZKJqXl8pyLb0x/pdE2GGQ4JiMvTeMgAE4X++w4O4RZckGfKwgfM k1Pq0oEmi50ktA2L6x/+Wg6A/AFM1r/p0JDfw4eKD4L3FRSR7eVQGs+KgIjcR8q0 lEN4w6pCJWh0alidvmfE6UyvVePpF9XwulwHr3heL26AuGznqRaIv8NeGdn5EQUm Z+SBSM8IQSgfRGyPVE9VDYElyjwH87xwSST3CzkVBauKhQMzBIn40tn8+qVLrac7 WTB34EZ63yANP8aYSzuUIdguEjMKyKDiB+6wlcZkekCK3hY3MaHiFtsUzpRDWasp NdKoQrf6 =K5KB -----END PGP SIGNATURE----- --4VcSvkf+hAuPXtVJ--