From patchwork Fri May 19 10:43:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Majewski X-Patchwork-Id: 1783723 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=denx.de header.i=@denx.de header.a=rsa-sha256 header.s=phobos-20191101 header.b=JSTgRZns; dkim=pass (2048-bit key) header.d=denx.de header.i=@denx.de header.a=rsa-sha256 header.s=phobos-20191101 header.b=l6bcaE2o; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4QN3SX3ZHvz20dX for ; Fri, 19 May 2023 20:47:08 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0E1AB86339; Fri, 19 May 2023 12:45:01 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (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=1684493101; bh=pIF8ISploeZOR3MN8Lv1Csp5RCKidxNi5yfACWtv9Sg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=JSTgRZnsL451XxD2YvdQ3fGUJwcGNU80hk/xPAZa4W2bxiDrVtHr+Kj9X7Ujhhled nLHLtz+Dv56klGX+AlWgZVD3H41Ej5AFq6BPvL23f9/kaHEE9inKad7ccAoRveZ44w A4nVORI4xZg3JlsWJvJbyhPT95hVZoG8uu+DAVy5IPMP12lJdqQL7VFWmFG5yQwjkk dJBZKjfgdpMh4826bOhfybVzsupn1tyKriBZLAU1O6z7rJk2FX8QlkLPSJrZVD0SNl hL8WMX+ZmtcSXYh4OG5lh2NPWGv3/Sbt66DMVwgmlTw92waLW0LdVPdzbXy3jqXtXv E5XcvgByCQNcw== Received: from localhost.localdomain (85-222-111-42.dynamic.chello.pl [85.222.111.42]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: lukma@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id D70FA85AFF; Fri, 19 May 2023 12:44:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1684493074; bh=pIF8ISploeZOR3MN8Lv1Csp5RCKidxNi5yfACWtv9Sg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=l6bcaE2oOj3/330VrHqBMZU6x+HlCFDPNAr1/6/hDnnsUagtQzuIREc4tbiuOSAZ9 GDFFg49C91+ZmElwLMeXUYcvLBT6rkzqmSiSDWiE7N/uTB8yPxxmfQpL4KALlSRhu/ 2v842lCxgXjF3Fs4HSJhpS6q5luD+uf8EnevcB9q5Us/09KX3fkv2+M7mPaCUUgMWL hwxf6ETl/lolSBmynGkapk8RkAQs3lsxcJ+aW9v9Mzb/Ob9698Eiwq0/vhreLc+/Ln FPByOUs7A0aPilpGfSHnL7w+1DFnVy/gsRCUcCxQvN+wzzGods31LocFSlrc8TNoE9 oOsi51DmPWSoA== From: Lukasz Majewski To: Stefano Babic , Fabio Estevam , Tom Rini , u-boot@lists.denx.de, Marek Vasut , NXP u-boot Cc: Lukasz Majewski Subject: [PATCH v1 13/16] arm: xea: Call spl_early_init() before DM serial console is enabled in SPL Date: Fri, 19 May 2023 12:43:55 +0200 Message-Id: <20230519104359.2048821-14-lukma@denx.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230519104359.2048821-1-lukma@denx.de> References: <20230519104359.2048821-1-lukma@denx.de> MIME-Version: 1.0 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.8 at phobos.denx.de X-Virus-Status: Clean The in-spl enabled DM serial console requires the board setup to be able to parse SPL_OF_PLATDATA based serial driver (pl01x) for the imx28 based XEA board. Signed-off-by: Lukasz Majewski --- board/liebherr/xea/xea.c | 1 + 1 file changed, 1 insertion(+) diff --git a/board/liebherr/xea/xea.c b/board/liebherr/xea/xea.c index ed2b39f70e..e4d2eb65cc 100644 --- a/board/liebherr/xea/xea.c +++ b/board/liebherr/xea/xea.c @@ -62,6 +62,7 @@ static void init_clocks(void) void board_init_f(ulong arg) { init_clocks(); + spl_early_init(); preloader_console_init(); }