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 72CEEC433F5 for ; Sun, 6 Feb 2022 12:23:06 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A3F038319C; Sun, 6 Feb 2022 13:23:04 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=xs4all.nl Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 0A89D83B9E; Sun, 6 Feb 2022 13:23:03 +0100 (CET) Received: from sibelius.xs4all.nl (sibelius.xs4all.nl [83.163.83.176]) (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 D359C80D1C for ; Sun, 6 Feb 2022 13:22:59 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=xs4all.nl Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=mark.kettenis@xs4all.nl Received: from localhost (bloch.sibelius.xs4all.nl [local]) by bloch.sibelius.xs4all.nl (OpenSMTPD) with ESMTPA id 92dcf01e; Sun, 6 Feb 2022 13:22:58 +0100 (CET) Date: Sun, 6 Feb 2022 13:22:58 +0100 (CET) From: Mark Kettenis To: Sean Anderson Cc: kettenis@openbsd.org, u-boot@lists.denx.de, trini@konsulko.com, sjg@chromium.org In-Reply-To: <2a91f5a1-72a0-8c23-b271-4e98cec0bfee@gmail.com> (message from Sean Anderson on Sat, 5 Feb 2022 23:04:07 -0500) Subject: Re: [PATCH] apple: Fix debug uart clock rate References: <20220205231415.82575-1-kettenis@openbsd.org> <2a91f5a1-72a0-8c23-b271-4e98cec0bfee@gmail.com> Message-ID: 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 > From: Sean Anderson > Date: Sat, 5 Feb 2022 23:04:07 -0500 > > On 2/5/22 6:14 PM, Mark Kettenis wrote: > > The clock rate for the serial console on Apple M1 systems is 24 MHz > > instead of 240 Hz. > > nit: kHz? Ah yes. Brain slightly misfired when writing that commit message. Thanks! I've sent a v2 with that fixed. And also fixed Simon's email address on the CC. > > Signed-off-by: Mark Kettenis > > --- > > 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 > > > >