From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-188.mta0.migadu.com (out-188.mta0.migadu.com [91.218.175.188]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 183CE3B6BE3 for ; Fri, 31 Jul 2026 09:44:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.188 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785491081; cv=none; b=WiqfB84ucbh3mKkNq+HBky2HOdqzmIlZztdvM9LJTxpQh5dLkZA5VKJ3MfJtoFDLJKpe57ZN20XyNVh7zNMVCel+r3rBrU+QRnC1C00A7k25nG05L6C+TIQwWyjNedt1w23ZocDtaWgxiAdhd6fY/y435IPdREGr2RR6GROcJAs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785491081; c=relaxed/simple; bh=izNGDiObYmWQYaDCCL26mHeBsTBRhTSqSA48xbXznmc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=SSLNoRqo4CVAGL33Ok1Nu0z7td19UxbvuF+EFr48TMYbtVPOeG1A9ccK/0e61sQZ/yd6YOBvGg6SKOre6hBrIBo4kDnZnd/BpUx8v7lt5o0rm9H9jtn0ODlWGVm3UceQA+qsOOCVkmw7A22PnivXWFsZiNamexpog44xJJn3G6A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=RNz+XWIj; arc=none smtp.client-ip=91.218.175.188 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="RNz+XWIj" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1785491068; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=gpMu4RNb2kjI8UxUymbZX5KkVz3zQvsUUOv48i+J2MM=; b=RNz+XWIjD8/2SPnfdtvEGqTDiBRZ/MbyjEWKUi32ODxY9LoWTncWB2OqiWEfa6KgHQeESB SumBAGwRoTrzvNzOeDKZsDk+tH+VD+qORiywgsmbfBFd5oQjm+XZgQCTnPzlTGQjUBY5sg zKky4ziiBvWBzo8U5QKY7rnl0A5nNsY= From: Thorsten Blum To: Geert Uytterhoeven Cc: Thorsten Blum , linux-m68k@lists.linux-m68k.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] m68k/serial: Use generic BASE_BAUD in asm/serial.h Date: Fri, 31 Jul 2026 11:44:00 +0200 Message-ID: <20260731094402.741645-3-thorsten.blum@linux.dev> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=951; i=thorsten.blum@linux.dev; h=from:subject; bh=izNGDiObYmWQYaDCCL26mHeBsTBRhTSqSA48xbXznmc=; b=owGbwMvMwCUWt7pQ4caZUj3G02pJDFk5eUlhR07rhpdatUxbYan7vyx+u5NhzD9bj0Qbyf/tj Hximw51lLIwiHExyIopsjyY9WOGb2lN5SaTiJ0wc1iZQIYwcHEKwERieBkZbs/216nZZPzFWSX+ rb/2tBuLP7AkVK4x0Vv+WinpDMMdJkaGmff/PLiua5bR5xAa6O9slcG2Z3X+ojf7NT+WbAhc8C+ OHwA= X-Developer-Key: i=thorsten.blum@linux.dev; a=openpgp; fpr=1D60735E8AEF3BE473B69D84733678FD8DFEEAD4 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT Include asm-generic/serial.h and use the generic BASE_BAUD definition instead of redefining it. Signed-off-by: Thorsten Blum --- arch/m68k/include/asm/serial.h | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/arch/m68k/include/asm/serial.h b/arch/m68k/include/asm/serial.h index 3f76bc7b9edb..e215b48975d5 100644 --- a/arch/m68k/include/asm/serial.h +++ b/arch/m68k/include/asm/serial.h @@ -7,15 +7,7 @@ * */ - -/* - * This assumes you have a 1.8432 MHz clock for your UART. - * - * It'd be nice if someone built a serial card with a 24.576 MHz - * clock, since the 16550A is capable of handling a top speed of 1.5 - * megabits/second; but this requires the faster clock. - */ -#define BASE_BAUD ( 1843200 / 16 ) +#include /* Standard COM flags (except for COM4, because of the 8514 problem) */ #ifdef CONFIG_SERIAL_8250_DETECT_IRQ