From patchwork Tue Aug 2 10:16:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sherry Sun X-Patchwork-Id: 595061 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7B6B1C00140 for ; Tue, 2 Aug 2022 10:17:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234848AbiHBKRx (ORCPT ); Tue, 2 Aug 2022 06:17:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59244 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233594AbiHBKRw (ORCPT ); Tue, 2 Aug 2022 06:17:52 -0400 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2052.outbound.protection.outlook.com [40.107.20.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3FF36237F5; Tue, 2 Aug 2022 03:17:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DyOVJdBRSsvFYyrrWbsyNQf/3gibixUrrjNxYNme/doUZFfHyJSflGAIJ+IgXgJVj5OQsKjfIT0OPLrCjRjJta7qTVLjFfxVXWHbm7av5/mczSJKT63+D4IsnjoVjFeuipLF2nfJHqJ1+dXkVr4GtrgeLm32VUZh665VP/4VIEG3JGQXNFG8+3x0Kwi/zlSTnAtBDUdgMdLBEIC7/6C639TRGi+SmHk3lDSfIZxTa8AYFAvRXcFSbEokG1LxLjkVZw8eoCHz3DKsKpvMT69CGqUDccwK+RGRlPcnJU0yh68nrcbiHMuMYpDtwgUYtqe4XEfu72jmoBkDUkbaSm68YQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=CXLCMiMuDgzVCGxCpdq5X7/6Rjrh+M3MH67j0V+/Hv0=; b=HalcjVvb5QNWRZks8V/Jm9PeOEYSCbXQy2WHUYijg/boRI0LbSn8Lg3St9FOFGmWpzfeTs3e6JxE7rvDu6acV0BhaTxbtrBysnSnamVlu6HL40wRg2B1+SANm9qyaX3BwnCNYLxTMuE7h2CbFaXSi844RMNedUolD3HhlafyeUzl4lGwLExslp0FlJTXLUJsIrAOwQfGdszxJQwTQuxqsnn/Rl6Hjbqox81X7sgCF4Jf6AQDAaojwOyF1gjFuzmRB0mqlR7Hrfsrgp2jfjRWJc9/aqqiyG+YaAf0CyhBFVESss13zOWpcVAR1NfhnkbRJi3dTOvITpX4095+3EOzSA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=CXLCMiMuDgzVCGxCpdq5X7/6Rjrh+M3MH67j0V+/Hv0=; b=Ji+xPLnTO33k2H2PTqmwEYGTgusjdwGVoGFH9HqUUBH9HlT2CzLbB4IbeEIrN0yIvsnQs0PnZovgvParePGL1K2UG7EvXBPLVxJJBOA3HyQgu6Wq2OaLJ42UT4TN4Y1np00Cift3iEzMC3+WaiKNcNd7yWjvYzlW6EfkjbSb4FI= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AS8PR04MB8404.eurprd04.prod.outlook.com (2603:10a6:20b:3f8::7) by AM5PR0402MB2722.eurprd04.prod.outlook.com (2603:10a6:203:9a::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5482.16; Tue, 2 Aug 2022 10:17:49 +0000 Received: from AS8PR04MB8404.eurprd04.prod.outlook.com ([fe80::d547:3040:284e:580c]) by AS8PR04MB8404.eurprd04.prod.outlook.com ([fe80::d547:3040:284e:580c%7]) with mapi id 15.20.5482.016; Tue, 2 Aug 2022 10:17:48 +0000 From: Sherry Sun To: gregkh@linuxfoundation.org, jirislaby@kernel.org Cc: linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, linux-imx@nxp.com, jindong.yue@nxp.com Subject: [PATCH] tty: serial: fsl_lpuart: adjust SERIAL_FSL_LPUART_CONSOLE config dependency Date: Tue, 2 Aug 2022 18:16:13 +0800 Message-Id: <20220802101613.30879-1-sherry.sun@nxp.com> X-Mailer: git-send-email 2.17.1 X-ClientProxiedBy: SG2PR02CA0085.apcprd02.prod.outlook.com (2603:1096:4:90::25) To AS8PR04MB8404.eurprd04.prod.outlook.com (2603:10a6:20b:3f8::7) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 0210a02e-1ef0-4c61-8fb0-08da74703fe3 X-MS-TrafficTypeDiagnostic: AM5PR0402MB2722:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Mb1G8c1aYyBnwq4En5ZY+Dw7+WesvlNVMyH7Q8QDFtVktX/0U9HRgv12DEfh9cVu1eA2NO9tb+EpADS++BMqtIIHurblEDpMcNLnpu1RVuI6X52BtOFHhHQ9V+o3YF7p2qCnWWcxWk3iIZY8sUrdndLRUgRrsVceVI7aNd2h76YtcPcnarO5lmAzG7KoKFFxsFneSq4HUyC/DWUAUiOvvMSVvnP8dolONfFdu6Ha6WORxqMMU8DENtVuHdAgp6Te4bu2VT21JDb85lCka0oacsUeXXWwEUuVAwLBy2lNaZrsZJ/YxokWRAI381SAZzTqqgWxAm0cr8lFLUntscMaoJ1jy5IF6hz3xxNAnPUCHg3qc8Ysh1Zi07swg6PYifTxuhdOVZlaY5JelI3VWJkch/wFz7LxMJKwSQ+EErvygR16I9U32RzkkEP4Gzlw2xVvl0e6rUYU4ew54K1IfyXvGlZIS7wmxWcdOPvJP4PV/FjwBkoikn2ZR7t8s0nCMX5+DSSV1dEW4IxYRdWxntv1YyXnKhTwud5rl/oR4N/AImxm2J8rk2adJVS6uB49McI/l69oz/tl4WW8KzK52GoqCPiLBXGRNtux0pWAqGZkPo2fwn6bcVXNoJqTJKy2boB1/IwaGJJOA5n7Tshk87EvGG3j4i0Fn/I6CZtU3eQvi5KoAjHjmjt7NgNrdH16rEGCVgizgHUOplX4BnirqAhXHqvTdcqh6x+qwXkHHnjl/ekEtTsUYooB1Br+LcaURB0KY9ZvU6QvWi4/Z/mf4kIIf+sTlinrUFXE7AbIlLKkVciLiNBK/KZYZfpw+ZkiIUxs X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AS8PR04MB8404.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(4636009)(136003)(396003)(376002)(366004)(346002)(39860400002)(186003)(1076003)(2616005)(6506007)(52116002)(86362001)(41300700001)(2906002)(6666004)(6512007)(26005)(38350700002)(38100700002)(83380400001)(5660300002)(316002)(478600001)(6486002)(8676002)(44832011)(66946007)(66556008)(66476007)(4326008)(36756003)(4744005)(8936002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 0COfCTe+az2JzQMpIvoeNKQqUL3C+iNT1P+DfeL+9p/6KU7V05hcHRX3qALVL3ONvM5mPLfiLXI7TejrKTFE666XIFIPtoAg/w4LZHVv+wKVaTk/JjJZwCZWDrqeDtDPHTlr6bQ5DYTuvIUX0sUjH8ESOP9VW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pbqcCorhHefHoO2TKwjWr7sow+sufF5Qgw2o+k3vUJ4tInfpxLL2qSVrknTx67io41oI8hqt8e1q1iQjaHzZIoBOJ9Vu97hBc0N4jrc11G2jBYno/pLX6W4zcW/8dMGsZWXp11ixAkn8noNzMBt2xqz2Dq0k196AsAeN1HSzibCmA8G6dl34gZRH8woXOgOZGgxzJw//Ayvon47rc5yz2AFovlnN123tjxn1Oayvmc8xm6FBQLU+64X6IeW1xNEBr0zAKUFS1sOzLiOp5DXo1LdSAa2hqU2fHLWc/FDYBBY0L4aOuCL/AIJ/F9NZhMDk2dFwu3lzT2FBQEF5Hrtqw5SosWzjOvG1K+XvMUlQcMzTHq X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0210a02e-1ef0-4c61-8fb0-08da74703fe3 X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8404.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Aug 2022 10:17:48.7614 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 6yMTsiU6B9WUdrCpdO1O8s7iPkwvvZBYGTABfzOnGaTsV4mk993Ob+r3rJ5xkdQSuTpZQhUQOGNQdliSIBFYMA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0402MB2722 Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org From: Jindong Yue Remove the limitation of SERIAL_FSL_LPUART=y, as we may need enable this console while SERIAL_FSL_LPUART=m. Signed-off-by: Jindong Yue Signed-off-by: Sherry Sun --- drivers/tty/serial/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig index 877173907c53..a18dd525e42b 100644 --- a/drivers/tty/serial/Kconfig +++ b/drivers/tty/serial/Kconfig @@ -1325,7 +1325,7 @@ config SERIAL_FSL_LPUART config SERIAL_FSL_LPUART_CONSOLE bool "Console on Freescale lpuart serial port" - depends on SERIAL_FSL_LPUART=y + depends on SERIAL_FSL_LPUART select SERIAL_CORE_CONSOLE select SERIAL_EARLYCON help