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 915BAC433F5 for ; Sat, 5 Feb 2022 23:14:26 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8EBB283071; Sun, 6 Feb 2022 00:14:24 +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="HA5weCxd"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id CDDE683B75; Sun, 6 Feb 2022 00:14:23 +0100 (CET) Received: from ewsoutbound.kpnmail.nl (ewsoutbound.kpnmail.nl [195.121.94.167]) (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 02E588306E for ; Sun, 6 Feb 2022 00:14:20 +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: 576cccba-86d9-11ec-9080-005056abbe64 Received: from smtp.kpnmail.nl (unknown [10.31.155.39]) by ewsoutbound.so.kpn.org (Halon) with ESMTPS id 576cccba-86d9-11ec-9080-005056abbe64; Sun, 06 Feb 2022 00:14:17 +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=wI0XJ1hZ5FnCP3FxlghV3CgJ/n6k8p9L597zVkNCsQ8=; b=HA5weCxdPFYxCF3UCUW2/eLsXP6eLvKi1De/hggWidHRd57jj3ZIhV1NGEW7Usl++2jdWqXmQu7NO p30986xHKdXVtoZG1+RKtqSBaZIjdG1zfNxz93nOIg7+xZlgKvYDPSZU9/7mRzGNL+Z4lvi6p73bwF /UnYpcJmQIWQ+W2s= X-KPN-VerifiedSender: No X-CMASSUN: 33|7u977lHHSG4KLRcG1jm7AQtnB12RWR++M27gXA4y9pgeaRuiapk5/JfuptB6b1E DGrxMqIBxQjDuitD27cSbGQ== 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 58b9b7a8-86d9-11ec-a17a-005056ab7447; Sun, 06 Feb 2022 00:14:19 +0100 (CET) From: Mark Kettenis To: u-boot@lists.denx.de Cc: trini@konsulko.com, sjg@chromium.com, Mark Kettenis Subject: [PATCH] apple: Fix debug uart clock rate Date: Sun, 6 Feb 2022 00:14:15 +0100 Message-Id: <20220205231415.82575-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 Hz. 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 -- 2.34.1