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 A5E79C433F5 for ; Tue, 3 May 2022 03:32:51 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 04AD383F24; Tue, 3 May 2022 05:32:49 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=oss.nxp.com 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=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b="Yqvl3pTM"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id ACD1F83F24; Tue, 3 May 2022 05:32:46 +0200 (CEST) Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on061b.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0c::61b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 9D8E983F48 for ; Tue, 3 May 2022 05:32:43 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=oss.nxp.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=peng.fan@oss.nxp.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=beQvBE5Ut3UXT9RjTB4stSJOaT/ENZEAvqp06VCnCXsSEoDeGAZZZHdnOmPOvuP1A/h64WYKf8YpfrJXsh2zdT5vrPXVAtmIMnyPUaz5QbjI69MMITxbVMmC/t+rFpGcvv5+k77EPGjIumPPDquLOLy3qxX/L6RVvKi2gBt0FXb+2xuF6pxhUdRpUJoRsPTsgGFDO4gG/5r57kqF2kiPBL0YoemsT/mHDp1E8Pw0XRr8at2IfjBRi39AnsOHo+ViHEkE9gQcGqt++D3z1DjBmztWDkJwtv5wURCNdyD/rWQb3ksYXSltBV9Y1UZAsEsEfWsZ3IPMrs0AGA9ZQtNPeA== 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=8nRSplRD1Us4Qm8YQGJH4jY6x7KMwXgmuflcqEz7gao=; b=LQ4bgnmHfOvqT6Dsi8hgQmpcm0soxHZcpSmLq1fixGCd0QQX7tfb66WdnpS0yep8/jn6n7uwruHfbVNJ7scKm+s1620qw1nSvnGLuzxRLQ9bpv27zCdtDH+mPaFig6LDsu9KDRiWg4FWagwrrPm1of4vWG7OyjWs/IuWTL2sFWOPCDeECInPyZK+LpeNqqLWsx1G+o1LJQ7vsgpnvWW7xGzv6jF5VFFjULGGa2CgL+hfuR2LmImAktqgVu2yFJnso7vMymr5l+UjMt1w9tehmVc30uX/wCMixE3rhUgM1vAhKujC44uguwSdnel//S5EJ4cxBOb/XadKL9k+1HKiUw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=8nRSplRD1Us4Qm8YQGJH4jY6x7KMwXgmuflcqEz7gao=; b=Yqvl3pTMM/AhdvhuxsfimlFGg/1Ps1UvUtkoR4YnMc6YfMyauUBY3yxIXWzNRlydGXoXTNFtowAlSaNa9m3EO68J24XoipbXOaw9KQgmY/0HvR4teLor0+tASTDtyaDirfVGeZWESWa5wYMkaEhc8SfXPezTsRmejTOaEZumdF4= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by AM6PR0402MB3574.eurprd04.prod.outlook.com (2603:10a6:209:9::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5186.28; Tue, 3 May 2022 03:32:40 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::fc66:662f:2a82:1420]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::fc66:662f:2a82:1420%5]) with mapi id 15.20.5206.014; Tue, 3 May 2022 03:32:40 +0000 From: "Peng Fan (OSS)" To: sbabic@denx.de, festevam@gmail.com, Heiko Schocher , Peng Fan , "Ariel D'Alessandro" , Michael Trimarchi , Adrian Alonso , Arkadiusz Karas , Soeren Moch , Marcel Ziswiler Cc: u-boot@lists.denx.de, Fabio Estevam Subject: [PATCH V2] imx: drop CONFIG_MXC_UART_BASE Date: Tue, 3 May 2022 12:14:29 +0800 Message-Id: <20220503041429.30969-1-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.36.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SG2P153CA0005.APCP153.PROD.OUTLOOK.COM (2603:1096::15) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 2e0a7309-89ba-4df2-7293-08da2cb5934d X-MS-TrafficTypeDiagnostic: AM6PR0402MB3574:EE_ X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-LD-Processed: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635,ExtAddr X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: WIATr8YxSpd8yWPBN2T9SPnIiGpxEzm6QAYvNJwWFCBVCuMuI3Efpo6m/5PS5cZeqqMvkgaV/OKaIMoHmAHiO+2X4Y/gixOcbFG1lDu34s8IzrjoDUSAVwWeGgjzlCon2MEXVlVokdOww54MfyVA69znUp0mY+ME+Gco4B9eP5mv+0tcM6hvP829jbugUrFRyzEUL+EmswtsD4PqhfcRTnteb1vnSllKVk+lbYxFsRduNp53BvPi2jmSH7uo2oFhVJYhtT/KoYPQANUntbzNLt7U7Cznq/B0seA2RHzoojw8kMnk4Eo0VeWw6ngB/3oCjrbITNAfVypiAkqJlpVOmiSJXjbYXur/mZ2DCX/48xsw/zoeL93YvA6hdjng3LFiSQgotlJ5pCzy8bwfZIVt4J2RtxUmtmfb9rFriiwjLUooAReky41QfKqdmEkI66f24zaIt44mrT6dlTslmODd+Ck1PJZhcz8DsF+R9UrqI8HZ2ICeJV9VhEv9CX/Vm42ioBYKc1Q0Dkh0bPvMD3YQB5igJ/w7RP6LJhmtmHxIJoY4iRLHrsbIGtKBDi/XBQKdDIvGIqyveQyMa9Bxt+XgNmF94VwcnrrCCjBnGHOhxGqCA+p2far0XYiA6c0iZFW/Ucb01nWgxZ3JbWfmvIQ1FsQVrt8jgiEdjLPAuC/E7G/ET27IU0VYsBUacMauueRoB9UIFdDi4xz+1IhmFdaKP4Q3b3hq6hHr2he1D/KxHK4= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DU0PR04MB9417.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(2906002)(6486002)(508600001)(6666004)(6506007)(6512007)(83380400001)(26005)(38350700002)(7416002)(38100700002)(8936002)(110136005)(921005)(316002)(186003)(1076003)(5660300002)(52116002)(2616005)(4326008)(66556008)(66476007)(8676002)(66946007)(86362001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?nTr+fUZJz4Ux6B3AyyEsaTLM/PMmP37Uxzv0CiPjOZhpRuKNrQjM+ZXcbXZg?= =?us-ascii?Q?sosF5bkrSAWGnvzvjuGhYXU6gmxeb3jXKLl6E/fPeccRLjZqpp11v+xFh/3a?= =?us-ascii?Q?6ritl0Hwo7ZVsE0YakJEkmDRQT8ZsJ3o0Ahbqgcq79WnNdVfsmK/b5EgjMBt?= =?us-ascii?Q?5mn5hQFqC5uQEUjjWYrq4XRaVq+caWyPwWbKg2nXxG/ygWDAt5xQvMNEsd6J?= =?us-ascii?Q?Bss4EDcCWsemX/crbppZYNvaFhed3xZyGn8zQyx9easi6x6uyWCJR2Jy4Jdn?= =?us-ascii?Q?1cgLmkk6ngyapgy+yz9qQ/jJWyvNZcK5AkQcxvCOKLJNIWc3Nn7GvH2O62ZK?= =?us-ascii?Q?vbG96fNOP9AhIk0kwEQlYZYO/zZky6uKMMDXDM3XKgBuKuXDUn2f3Tzpp3kH?= =?us-ascii?Q?LOMq/s6vKFj5CPy5x1waz21C9wda4xK3mG0K7oXoxFX8zfSxfbfZcaLgwG2v?= =?us-ascii?Q?UMIH1/C77yMUgsemStck+Eotw+7RddtI77jJ1WEgHMroKZko0sts4IjGmr9c?= =?us-ascii?Q?7Sg5jgB82Y15hvSssE8ZVLPqj2Tye8ivBZ54goPdvukCztCGsmszW62uEnN/?= =?us-ascii?Q?Y2oPXL6ymTCZhr7eFMIS0QTOka+b5gpd0FRVsJCvSoFWVm5OD/4cz8siJkT+?= =?us-ascii?Q?r7rBkQUqRV2A0yu1G4SbvyNsT9zj0z5h4ykmAswO4Kk/U+JpcsxgCKjy5FQL?= =?us-ascii?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QRDlcH3?= =?us-ascii?Q?Vd2RTPx01HnpFDMST0P1bPMcFs+lRgYATbp0dKF4WjGnJ8+xnloLrbZIXGnc?= =?us-ascii?Q?J6RWDHUP7Dhnk8qhKopXF5dZq2tKApO1zYPVYqg7CN8/jv7bzW4D/gOmVs1H?= =?us-ascii?Q?DplaKK03tA=3D=3D?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2e0a7309-89ba-4df2-7293-08da2cb5934d X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 May 2022 03:32:40.0719 (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: czfUQLMa6rKoGbKVW9PQPU1q1CSqwXy5wUTv4KEgeLw1FbGF6ddhHx/WVkRGpDsLGAXuu2Z32YCXM/Q9LAvPfQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR0402MB3574 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: Peng Fan Since these boards has CONFIG_DM_SERIAL and/or CONFIG_SPL_DM_SERIAL, the legacy macro no need to be defined. Reviewed-by: Heiko Schocher Reviewed-by: Fabio Estevam Signed-off-by: Peng Fan --- V2: Add R-b Drop comments add imx8mn_bsh_smm_s2_common.h include/configs/aristainetos2.h | 2 -- include/configs/imx8mm_evk.h | 1 - include/configs/imx8mn_bsh_smm_s2_common.h | 2 -- include/configs/imx8mn_evk.h | 1 - include/configs/imx8mp_evk.h | 1 - include/configs/mx7dsabresd.h | 1 - include/configs/somlabs_visionsom_6ull.h | 1 - include/configs/tbs2910.h | 3 --- include/configs/verdin-imx8mm.h | 3 --- include/configs/verdin-imx8mp.h | 3 --- 10 files changed, 18 deletions(-) diff --git a/include/configs/aristainetos2.h b/include/configs/aristainetos2.h index 8ee97f1d4e3..27adae5d6bf 100644 --- a/include/configs/aristainetos2.h +++ b/include/configs/aristainetos2.h @@ -14,10 +14,8 @@ #define CONFIG_HOSTNAME "aristainetos2" #if (CONFIG_SYS_BOARD_VERSION == 5) -#define CONFIG_MXC_UART_BASE UART2_BASE #define CONSOLE_DEV "ttymxc1" #elif (CONFIG_SYS_BOARD_VERSION == 6) -#define CONFIG_MXC_UART_BASE UART1_BASE #define CONSOLE_DEV "ttymxc0" #endif diff --git a/include/configs/imx8mm_evk.h b/include/configs/imx8mm_evk.h index 42b78485cfc..7dd66527c3d 100644 --- a/include/configs/imx8mm_evk.h +++ b/include/configs/imx8mm_evk.h @@ -68,7 +68,6 @@ #define PHYS_SDRAM 0x40000000 #define PHYS_SDRAM_SIZE 0x80000000 /* 2GB DDR */ -#define CONFIG_MXC_UART_BASE UART2_BASE_ADDR /* Monitor Command Prompt */ #define CONFIG_SYS_CBSIZE 2048 diff --git a/include/configs/imx8mn_bsh_smm_s2_common.h b/include/configs/imx8mn_bsh_smm_s2_common.h index 6387576c2da..57be38d9433 100644 --- a/include/configs/imx8mn_bsh_smm_s2_common.h +++ b/include/configs/imx8mn_bsh_smm_s2_common.h @@ -45,8 +45,6 @@ #define CONFIG_SYS_SDRAM_BASE 0x40000000 #define PHYS_SDRAM 0x40000000 -#define CONFIG_MXC_UART_BASE UART4_BASE_ADDR - /* Monitor Command Prompt */ #define CONFIG_SYS_CBSIZE SZ_2K #define CONFIG_SYS_MAXARGS 64 diff --git a/include/configs/imx8mn_evk.h b/include/configs/imx8mn_evk.h index 034132225c6..b20e0a5553d 100644 --- a/include/configs/imx8mn_evk.h +++ b/include/configs/imx8mn_evk.h @@ -75,7 +75,6 @@ #define PHYS_SDRAM 0x40000000 #define PHYS_SDRAM_SIZE 0x80000000 /* 2GB DDR */ -#define CONFIG_MXC_UART_BASE UART2_BASE_ADDR /* Monitor Command Prompt */ #define CONFIG_SYS_CBSIZE 2048 diff --git a/include/configs/imx8mp_evk.h b/include/configs/imx8mp_evk.h index cc8d65cb54e..cbdd490a300 100644 --- a/include/configs/imx8mp_evk.h +++ b/include/configs/imx8mp_evk.h @@ -80,7 +80,6 @@ #define PHYS_SDRAM_2 0x100000000 #define PHYS_SDRAM_2_SIZE 0xC0000000 /* 3 GB */ -#define CONFIG_MXC_UART_BASE UART2_BASE_ADDR /* Monitor Command Prompt */ #define CONFIG_SYS_CBSIZE 2048 diff --git a/include/configs/mx7dsabresd.h b/include/configs/mx7dsabresd.h index aaad232f0e4..62e62c6701f 100644 --- a/include/configs/mx7dsabresd.h +++ b/include/configs/mx7dsabresd.h @@ -12,7 +12,6 @@ #define PHYS_SDRAM_SIZE SZ_1G -#define CONFIG_MXC_UART_BASE UART1_IPS_BASE_ADDR #ifdef CONFIG_IMX_BOOTAUX /* Set to QSPI1 A flash at default */ diff --git a/include/configs/somlabs_visionsom_6ull.h b/include/configs/somlabs_visionsom_6ull.h index d4761296c75..e6aad386efe 100644 --- a/include/configs/somlabs_visionsom_6ull.h +++ b/include/configs/somlabs_visionsom_6ull.h @@ -16,7 +16,6 @@ /* SPL options */ #include "imx6_spl.h" -#define CONFIG_MXC_UART_BASE UART1_BASE /* MMC Configs */ #ifdef CONFIG_FSL_USDHC diff --git a/include/configs/tbs2910.h b/include/configs/tbs2910.h index b7a94812f35..5d8cb34ad9a 100644 --- a/include/configs/tbs2910.h +++ b/include/configs/tbs2910.h @@ -24,9 +24,6 @@ #define CONFIG_SYS_BOOTMAPSZ 0x10000000 -/* Serial console */ -#define CONFIG_MXC_UART_BASE UART1_BASE /* select UART1/UART2 */ - /* Framebuffer */ #define CONFIG_IMX_HDMI #define CONFIG_IMX_VIDEO_SKIP diff --git a/include/configs/verdin-imx8mm.h b/include/configs/verdin-imx8mm.h index da3dc95f9ee..e0f0347fcf4 100644 --- a/include/configs/verdin-imx8mm.h +++ b/include/configs/verdin-imx8mm.h @@ -83,9 +83,6 @@ #define PHYS_SDRAM 0x40000000 #define PHYS_SDRAM_SIZE SZ_2G /* 2GB DDR */ -/* UART */ -#define CONFIG_MXC_UART_BASE UART1_BASE_ADDR - /* Monitor Command Prompt */ #define CONFIG_SYS_CBSIZE SZ_2K #define CONFIG_SYS_MAXARGS 64 diff --git a/include/configs/verdin-imx8mp.h b/include/configs/verdin-imx8mp.h index 7b7407752c1..370bcb4e46f 100644 --- a/include/configs/verdin-imx8mp.h +++ b/include/configs/verdin-imx8mp.h @@ -100,9 +100,6 @@ #define PHYS_SDRAM_2 0x100000000 #define PHYS_SDRAM_2_SIZE (SZ_4G + SZ_1G) -/* UART */ -#define CONFIG_MXC_UART_BASE UART3_BASE_ADDR - /* Monitor Command Prompt */ #define CONFIG_SYS_CBSIZE SZ_2K #define CONFIG_SYS_MAXARGS 64 -- 2.36.0