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 A5641C433F5 for ; Mon, 25 Apr 2022 13:39:52 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 6F6CB83B5C; Mon, 25 Apr 2022 15:39:49 +0200 (CEST) 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="Tjr1JBmm"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2553083A96; Mon, 25 Apr 2022 15:39:46 +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 0421583535 for ; Mon, 25 Apr 2022 15:39:43 +0200 (CEST) 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-qt1-x82e.google.com with SMTP id v2so3602064qto.6 for ; Mon, 25 Apr 2022 06:39:42 -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=dCMkYvCQtRwqTfPIcyyxZQBu6qSRaRRtGbpAsVNX3Co=; b=Tjr1JBmmnFDIKTdlLk+gdqWTMPjl5Q8e4L4Xc7tHaOfWUo+2ARZePjJWHNNRO5raeS nvmf7A+cHuF34GGApl9DJFF9v+ZwcXYOyIa5JlQLy01VJF5bTeelKLE345vd7Tv4DIgr 4I1cMsHbCkyS9vEtjpYGyOM+R//7QhdV7xUNU= 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=dCMkYvCQtRwqTfPIcyyxZQBu6qSRaRRtGbpAsVNX3Co=; b=TmR3ZGaSykKckqlhWDsAAmmGtMcazVHV3a4/ZDspdAlr7iqwGAeOppfZIzuL6bZH5g bPh2ZXEcY9fhYxn7+xUfUFk1hi99n+N4055saJz2GalEzbDOqiJnZJtsVPobU3TOVDwT zxdJmKnB1eKeOoc9Nkf6tRHZnexW89hOz3u25z0LvrvyItJMsJ6Hi83yFOiGzpxgD30T 4WOIsvfdrrwWkU8PwazFavYQPZChjh3I5DpDuZ3SwM/CERjNxP1qLErQ2s5JGYrT3apX ofDVIAJmFXUFFZ9egcPp5mHWWnuuu9hCM9lErTRXY9z48cPibeq4iHGvnJi5eCFTaCAU l1qw== X-Gm-Message-State: AOAM5338aOHuw/FXVwkyGdcUG0d9oGDS/nGk3d500ssQgRskNP1jfRCU LNMbB8nPMp3XCOiHCHw0N1zkyQ== X-Google-Smtp-Source: ABdhPJzy/7bv4FKGgNqtlYGfVILVCCkSEqKPb7dd2U3kvsWh2pHEFqpLKooLy5RDeDVqTG0QXspSVw== X-Received: by 2002:ac8:5894:0:b0:2f3:7266:e378 with SMTP id t20-20020ac85894000000b002f37266e378mr561281qta.631.1650893981618; Mon, 25 Apr 2022 06:39:41 -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 h11-20020ac8584b000000b002f3586f0efcsm6103807qth.88.2022.04.25.06.39.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Apr 2022 06:39:40 -0700 (PDT) Date: Mon, 25 Apr 2022 09:39:38 -0400 From: Tom Rini To: Marek Vasut Cc: Fabio Estevam , u-boot@lists.denx.de, Peng Fan , Stefano Babic Subject: Re: [PATCH 1/4] ARM: imx: imx8m: Introduce and use UART_BASE_ADDR(n) Message-ID: <20220425133938.GE6921@bill-the-cat> References: <20220424214406.52658-1-marex@denx.de> <8c8da72e95a3b2d3084ced28605ae5e4@denx.de> <20220425130549.GD6921@bill-the-cat> <087d1896-8080-1321-fe1e-007da297d501@denx.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="m51xatjYGsM+13rf" Content-Disposition: inline In-Reply-To: <087d1896-8080-1321-fe1e-007da297d501@denx.de> 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 --m51xatjYGsM+13rf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 25, 2022 at 03:13:53PM +0200, Marek Vasut wrote: > On 4/25/22 15:05, Tom Rini wrote: > > On Mon, Apr 25, 2022 at 03:02:29PM +0200, Marek Vasut wrote: > > > On 4/25/22 14:46, Fabio Estevam wrote: > > > > Hi Marek, > > > >=20 > > > > On 24/04/2022 18:44, Marek Vasut wrote: > > > > > Introduce helper macro UART_BASE_ADDR(n), which returns Nth UART = base > > > > > address. Convert all board configurations to this new macro. This= is the > > > > > first step toward switching CONFIG_MXC_UART_BASE to Kconfig. This= is a > > > > > clean up, no functional change. > > > >=20 > > > > As DM_SERIAL is mandatory now, we should get rid of CONFIG_MXC_UART= _BASE. > > > >=20 > > > > I would prefer a patch that removes CONFIG_MXC_UART_BASE instead. > > >=20 > > > DM is mandatory in SPL too ? I doubt it. > >=20 > > It is strongly encouraged, but not mandatory. It is not used on I guess > > imx27/31/5, but is for all of the imx8 families. So > > CONFIG_MXC_UART_BASE still needs to be moved out of board.h files (and > > perhaps out of CONFIG namespace since it's not configurable, it's part > > of the SoC) and perhaps the path for imx8* is to drop the references > > since it's all DM? >=20 > MX8M SPL is not DM serial either. But I think I will just postpone this > cleanup until I have time to finish it. Right, sorry, I meant DM enabled in SPL to start with. --=20 Tom --m51xatjYGsM+13rf Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmJmpJcACgkQFHw5/5Y0 tyzcDQv+NacvtbEpASM4dnHGk8z4fGSplhbSOgQq9hosodWKgzLC1KR2BvTbogHk r2II8tgDl4qxJk7LXgG/9iKNvx1EAr5lEYHwJiYo0MU/3LA3VFHrvHwUawsCuadR s1m2W1FVICx5ASZEM3YmBZg5DknmpLzwFN7TLiPlrIJa5epQbMrTw/+zHBkhdzIR 4kvMy/rrIbmYrUokgf7KGBKDt0+UEVMp6viV1SGrWZtvKI0Xn7jUvU7Un5hsxTxG pPQjJIMly/0Fc+33UAfN4H/IVyzx/2a8en9Js7UQsS1HznxcWBYmNp8WkcM28iYi Ylb9NVLJY2kKU1xdC0XRNashAsskDWRuC+/7ADHAEUAKsAJM6uIXIrlh9Wyg+j+r cUoix/lMJSMP+5f6HBP79ssFmmK9LMc2rY5i04wycFt1m0MZRRY6CFh34wIB7Hsr vLuslGw/Q6uC8lKzzcUesZc4xi4HZqs1bgco6qb8almkF/+IRPO4gVPmDdIbOiWV LfXzJLM5 =K52V -----END PGP SIGNATURE----- --m51xatjYGsM+13rf--