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 36DF9C636D6 for ; Wed, 22 Feb 2023 16:47:56 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0D43085BD3; Wed, 22 Feb 2023 17:38:15 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.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; unprotected) header.d=chromium.org header.i=@chromium.org header.b="MBFKco0e"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 7F14585B19; Wed, 22 Feb 2023 17:36:20 +0100 (CET) Received: from mail-io1-xd2e.google.com (mail-io1-xd2e.google.com [IPv6:2607:f8b0:4864:20::d2e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 08AC385B37 for ; Wed, 22 Feb 2023 17:35:15 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-io1-xd2e.google.com with SMTP id f9so4219241iox.2 for ; Wed, 22 Feb 2023 08:35:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=4p0wgjhoatQM/Fu+NAuzfm9l7ryKhE6s+jGjBFopHwU=; b=MBFKco0eVuUK0mBj3skmiIKcc4Jt1Uz3qH6HgyTYpbbDLpybiVAICRHugUZbqUeEBY VL+he4uiYosWinlTFkrKtY34UpD4doga2+erHgAVvdmqCpVeMqsksD+iSWlBHl6Sg6jU p8+nLrrb79sUty5433KpQknbzPMoKtGsOXQp4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4p0wgjhoatQM/Fu+NAuzfm9l7ryKhE6s+jGjBFopHwU=; b=0LAsRhRFlwWm5E7thy2UO0XWEgwrY9EVi++gem7FOLhqfZmr5rlqpxa8QF0wpl+9ch qiUVkz9S/3vWa6micKzN5+1IVoky6Umpd7dfIr/Rb+7QGoJ2ycR7CiewsCD+Cg3Prjof Jg1IRW8IQfdTund779U/+zYWQ+T1FIrsvIQjFwSvwwb/gOxWQOoofcYWRzw47qbk4lQw zfM9jPkSk/lMfoRi5opsTMTiwi/hrnVh8KQujtpUkzyJcbpPmlXpDQE85CbnPU4FLZPn wLyZpkhc1pD1YihgoGA1bhiWOBMI/Y3nMjzxCmw8HAjRzvmctCAYPncGhn4JKdVASyk6 u7tw== X-Gm-Message-State: AO0yUKWU+6TSUHaGEOaJv8ttOVgheOiVMfLxO2PXu0gCInkUGIadZPg3 5c2bD/RdKSJHbxexC28Ph4F3EwnziRN4hagG X-Google-Smtp-Source: AK7set9koW71vMZJUKHsP+ZD8AOUZSA25L/BSwPKayRSVCojAfKRnCvIc27iMok8ZMMm3FlpS6IjGw== X-Received: by 2002:a5d:9306:0:b0:71a:1b72:5afc with SMTP id l6-20020a5d9306000000b0071a1b725afcmr1020691ion.19.1677083715154; Wed, 22 Feb 2023 08:35:15 -0800 (PST) Received: from sjg1.roam.corp.google.com (c-73-14-173-85.hsd1.co.comcast.net. [73.14.173.85]) by smtp.gmail.com with ESMTPSA id z26-20020a056602005a00b00716eb44b97esm2164541ioz.27.2023.02.22.08.35.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Feb 2023 08:35:14 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Simon Glass , Jim Liu , Johan Jonker , Kever Yang , =?UTF-8?q?Pali=20Roh=C3=A1r?= , Samuel Holland , Sean Anderson , Stefan Roese Subject: [PATCH v5 39/44] serial: Support ns16550 driver in TPL Date: Wed, 22 Feb 2023 09:34:20 -0700 Message-Id: <20230222163425.2043934-40-sjg@chromium.org> X-Mailer: git-send-email 2.39.2.637.g21b0678d19-goog In-Reply-To: <20230222163425.2043934-1-sjg@chromium.org> References: <20230222163425.2043934-1-sjg@chromium.org> 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.6 at phobos.denx.de X-Virus-Status: Clean Add options for this since they are needed by P1020RDB-PC_NAND. Signed-off-by: Simon Glass --- (no changes since v1) drivers/serial/Kconfig | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig index bb5083201b3..6f40c051604 100644 --- a/drivers/serial/Kconfig +++ b/drivers/serial/Kconfig @@ -731,6 +731,12 @@ config SPL_SYS_NS16550_SERIAL default y if SYS_NS16550_SERIAL || ARCH_SUNXI || ARCH_OMAP2PLUS select SYS_NS16550 +config TPL_SYS_NS16550_SERIAL + bool "NS16550 UART or compatible legacy driver in TPL" + depends on TPL && !TPL_DM_SERIAL + default y if SYS_NS16550_SERIAL || ARCH_SUNXI || ARCH_OMAP2PLUS + select SYS_NS16550 + config SYS_NS16550 bool "NS16550 UART or compatible" help -- 2.39.2.637.g21b0678d19-goog