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 A99F1C433EF for ; Mon, 25 Apr 2022 13:15:53 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 98D5483B5C; Mon, 25 Apr 2022 15:15:51 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1650892552; bh=3Qlh5N0ha3haOV0dXHGjnkbQkqCxAwudU8zOxMG8lEk=; h=Date:From:To:Cc:Subject:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=Qah4tY0WIxUqkLJX7apHeEOjWdIBdueSA5ruBDa4fSiM8E+L40Bbdh6xOJn3ij9EB LEIr6outaJZfNhpcrTbFrj7nMXRSXdTb6+xMZVbPeM2lXnspH4CuasjPoIVOkPUraS Dag8fRwP0OKlBYpjVqqVp+ZrT2n1G2JMHrHhd8fH89mBZkkCPhKNkPTi2tAORaod09 5ssj89iQLq+MN6quXqsID/4ZIIQHM1/FpS8HmzwmZzkFaqXWyQyJtCPOhFiciqjmG+ csYUxIwpAEhZrJPqan1yI2ZpHIZirgCfpsOcgBh+YJmtaA9VRx4UQHiLOUuFRjgHVn CqECf7/20xrZA== Received: from mail.denx.de (unknown [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: festevam@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 6096383C62; Mon, 25 Apr 2022 15:15:48 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1650892548; bh=3Qlh5N0ha3haOV0dXHGjnkbQkqCxAwudU8zOxMG8lEk=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=BKBeo5x8cWtQLStddBHMuEpzs1IPIdFMZLx7047WZgN2PVW5YoJZfqZD31t8Da6ZD 1c/W+soAiTrXEPGSO2xQ58f07QFCq/R6Faj1OPUm3xrFkdPTqU22dE9Q9TNBxFVZG+ W7GhkC7Wazb9QRZb8E+9zSGBLdGLnyh9Vjqy+OKHjrryDI6h5Jixpl8kVZH6ESmwHj Wpnnf4ihlNRpf4jOONn66fA+fkkfMXZAeM5nlR06eKVkWuJ3b56C9GC7150vEzeK+6 xZFrMe9bFMsujDmVNMWsAx1QbQPDsHfVM7ytMeF20jXWGWCpBxh3z0xjcKLG2aoYOy s5ycd7V+ExyOQ== MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 25 Apr 2022 10:15:48 -0300 From: Fabio Estevam To: Tom Rini Cc: Marek Vasut , u-boot@lists.denx.de, Peng Fan , Stefano Babic Subject: Re: [PATCH 1/4] ARM: imx: imx8m: Introduce and use UART_BASE_ADDR(n) In-Reply-To: <20220425130549.GD6921@bill-the-cat> References: <20220424214406.52658-1-marex@denx.de> <8c8da72e95a3b2d3084ced28605ae5e4@denx.de> <20220425130549.GD6921@bill-the-cat> Message-ID: <08699f08655eea28638d0a83e7537866@denx.de> X-Sender: festevam@denx.de User-Agent: Roundcube Webmail/1.3.6 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 25/04/2022 10:05, Tom Rini wrote: >> DM is mandatory in SPL too ? I doubt it. > > 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? Correct. In the defconfigs where CONFIG_DM_SERIAL=y and CONFIG_SPL_DM=y are selected the CONFIG_MXC_UART_BASE can be safely dropped. Regards, Fabio Estevam