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 84BC2C433EF for ; Sun, 6 Feb 2022 12:21:24 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B417483885; Sun, 6 Feb 2022 13:21:21 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=openbsd.org 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; secure) header.d=kpnmail.nl header.i=@kpnmail.nl header.b="j5AdSbbD"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1819B83B8B; Sun, 6 Feb 2022 13:21:20 +0100 (CET) Received: from ewsoutbound.kpnmail.nl (ewsoutbound.kpnmail.nl [195.121.94.184]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 3C58983095 for ; Sun, 6 Feb 2022 13:21:17 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=openbsd.org Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=kettenis@openbsd.org X-KPN-MessageId: 4825f22e-8747-11ec-944c-005056994fde Received: from smtp.kpnmail.nl (unknown [10.31.155.7]) by ewsoutbound.so.kpn.org (Halon) with ESMTPS id 4825f22e-8747-11ec-944c-005056994fde; Sun, 06 Feb 2022 13:21:16 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kpnmail.nl; s=kpnmail01; h=mime-version:message-id:date:subject:to:from; bh=91avXP8prMYlEW55ElgQ6aRv/1za55Jeab7x4gR2kkY=; b=j5AdSbbDNqbEURh/CwBhGCWJ/+bo2OOoNp4tiN6z3OyM4Vrea2MuWntV7Cmkr1c+FRWV0mXdLU0Bn abidSnSbgYb/ti+AHe13yw1VA1VPyU5jI9vNSDyjsIHDWFnhB+s4WjAor8tU5ps+QqHw+Jjv73afdd qhE7/awZGvS/HInU= X-KPN-VerifiedSender: No X-CMASSUN: 33|0vMMoDgKYea4d/Ra+lWDHrBmRYioU7POwoT6Nf9888gt4BFp0asssBJDzANiiMZ CofEnsMF9ZZ2DqaxpObedmA== X-Originating-IP: 83.163.83.176 Received: from copland.sibelius.xs4all.nl (sibelius.xs4all.nl [83.163.83.176]) by smtp.xs4all.nl (Halon) with ESMTPSA id 48086ed5-8747-11ec-8459-005056998788; Sun, 06 Feb 2022 13:21:16 +0100 (CET) From: Mark Kettenis To: u-boot@lists.denx.de Cc: trini@konsulko.com, sjg@chromium.org, Mark Kettenis Subject: [PATCH v2] apple: Fix debug uart clock rate Date: Sun, 6 Feb 2022 13:21:14 +0100 Message-Id: <20220206122114.32790-1-kettenis@openbsd.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 The clock rate for the serial console on Apple M1 systems is 24 MHz instead of 240 kHz. Signed-off-by: Mark Kettenis --- ChangeLog: v2: - Fix typo in comment configs/apple_m1_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/apple_m1_defconfig b/configs/apple_m1_defconfig index cb235e4e7d..71ffbc6ec4 100644 --- a/configs/apple_m1_defconfig +++ b/configs/apple_m1_defconfig @@ -2,7 +2,7 @@ CONFIG_ARM=y CONFIG_ARCH_APPLE=y CONFIG_DEFAULT_DEVICE_TREE="t8103-j274" CONFIG_DEBUG_UART_BASE=0x235200000 -CONFIG_DEBUG_UART_CLOCK=240000 +CONFIG_DEBUG_UART_CLOCK=24000000 CONFIG_DEBUG_UART=y CONFIG_SYS_LOAD_ADDR=0x880000000 CONFIG_USE_PREBOOT=y -- 2.34.1