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 44BD8C43217 for ; Wed, 20 Apr 2022 17:25:08 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id AAAD283E40; Wed, 20 Apr 2022 19:25:05 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=collabora.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=collabora.com header.i=@collabora.com header.b="fYTmvXQC"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 5C45183E34; Wed, 20 Apr 2022 19:25:03 +0200 (CEST) Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [46.235.227.227]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id C1BC183E40 for ; Wed, 20 Apr 2022 19:24:59 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=collabora.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=ariel.dalessandro@collabora.com Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: adalessandro) with ESMTPSA id 6D1181F4109B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1650475499; bh=4qzHxC2C/+JHplH3NrvvR/o7y7geapzg15F6Agr360Y=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=fYTmvXQC+Wl21hnTuAUrdVMCFspbaADUNoigoevuW98WvlyvmfZ6hws46qQXOaFoF ghuXwcjTKXWgKG3/60CAuF6VBPPOoVwKNzgqPzAtjxj5I26E3c4G4y1tPbkv9wxPvc oVETS4A8NwlVSixKKzlsUd9kCYmDaSjrqRoDQYrHMow3HJNkPddi1tn5wIJDLFIB/c R3CydCV55ZW45ri46DBpndF/9VI3BlsIU9h4X1EthEHEtlqUGKXA/Nj2fC+ygScvXW nQlWabQLgSsmuNm8PkXfkHoEiJnAfCMuTO7ZvwOp2wcne122VtBQ8Zw+gRYkOwlcpP 1KL6JhC0fFt+A== Message-ID: Date: Wed, 20 Apr 2022 14:24:51 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.1 Subject: Re: [PATCH V3] board: bsh: imx8mn_bsh_smm_s2/s2pro: enable DM_SERIAL Content-Language: en-US To: Michael Trimarchi , Stefano Babic Cc: Fabio Estevam , u-boot , Tim Harvey , Fabio Estevam References: <20220418065336.195452-1-michael@amarulasolutions.com> From: Ariel D'Alessandro In-Reply-To: <20220418065336.195452-1-michael@amarulasolutions.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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 Hi Michael, On 4/18/22 03:53, Michael Trimarchi wrote: > Enable DM_SERIAL for both U_Boot and the SPL. The uart4 and its pinmux > are already marked with u-boot,dm-spl but we need to move the call to > preloader_console_init() after spl_init() to avoid a board hang > as dm can't be used until after spl_init(). > > Remove the manual config of the UART pinmux now that it is no longer > needed. > > Signed-off-by: Michael Trimarchi > Cc: Tim Harvey > Reviewed-by: Fabio Estevam Tested-by: Ariel D'Alessandro