From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 53ED7C433EF for ; Wed, 15 Sep 2021 02:07:45 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id BB52860FA0 for ; Wed, 15 Sep 2021 02:07:44 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org BB52860FA0 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=oss.nxp.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id CD04180796; Wed, 15 Sep 2021 04:07:41 +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="JA/+kTwY"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B6DFC80C68; Wed, 15 Sep 2021 04:07:39 +0200 (CEST) Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-ve1eur02on0631.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe06::631]) (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 6079E80735 for ; Wed, 15 Sep 2021 04:07:35 +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=ntWUZm6Cb5W/+CIIlNb9zTodfBGPnzZcqfLtWxj8rTusBvd/FmRMXbcxMj8HP6IITpe6bX/qozClCqhjxQ+hRuKwzPUgM1EiDil8OFUDUictI0E22gq33vsyyy5fNO+nqki9obWTjNf4RTonPrObhj9VpDJ2wDqMv+FpyD/egxS7rNyPXVoENjRbuCk3K7wXP7OEVw/v/6zAhXwAgUXED2Y6yQ6/rTPGKamP/owUL6LUPm/d66Byc54f/kVT74eT/MIyyQq0Zv/hInMEJIG0Wv/fiFwbrTXpnwOxfiHZWfQGk4zY8cstj0INh+t6vLOCYviNF4iK43JfX0mO2rEUoA== 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; bh=ovW0fxdnmfPEgZNJM1q8QgCSKHVoC5einLf8GC4CSVU=; b=ibp7MMujFGQgJThSAHnVF61tBQAE15Sum+y4DdLEGbhpeEfxUR86YIoEJBBP/EuKWUvaqyqtzY2BxOjvDa/tkj9Lfn0h1Euzq+BZ0BOlb7xMbPILYNjnxqke32/VW115of8yKfkgakhUvkgPgiVAp6kVtujHqR9VUq3MgTeQQd6ep1U4cSVQa5McoCr4KMAl3jhB0635KbTE1jCAxYlxwMW9YBrmQOvuGk+UQygY/pWcnzNeY+6RCrQj3qnxMnvUEnwnP5L4Pn94AmtgNXOtDtonG4ul4SfijHHMBAPj4S4DOMAJZ0Y4Q1824G6I8LMxM9JXBhMpI44M1u1hBvIYtw== 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=ovW0fxdnmfPEgZNJM1q8QgCSKHVoC5einLf8GC4CSVU=; b=JA/+kTwYBO9xpwNM8HqVWrv9UXxNVepHGe9iYKGbgU6fA5Nvy+MFuepJk+QoKPl5OX6lsyGVecTanag3duKmR+KmnW5mo/l5tOuUBicHqgwC12rqMiu6+cT7PNZRKb4BOtgGzLCA6tF6WtiGrxFLafC8MTKDGcv61NC/PkVJppU= Authentication-Results: lists.denx.de; dkim=none (message not signed) header.d=none;lists.denx.de; dmarc=none action=none header.from=oss.nxp.com; Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) by DB6PR0401MB2374.eurprd04.prod.outlook.com (2603:10a6:4:4c::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.14; Wed, 15 Sep 2021 02:07:33 +0000 Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::4868:6843:a39f:aa53]) by DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::4868:6843:a39f:aa53%4]) with mapi id 15.20.4500.018; Wed, 15 Sep 2021 02:07:33 +0000 Subject: Re: [PATCH 1/5] kgdb: Remove unused serial related options To: Tom Rini , u-boot@lists.denx.de References: <20210913212455.29165-1-trini@konsulko.com> From: "Peng Fan (OSS)" Message-ID: <42148ee4-6a4e-5be1-2cb1-927c6bdd1762@oss.nxp.com> Date: Wed, 15 Sep 2021 10:07:23 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 In-Reply-To: <20210913212455.29165-1-trini@konsulko.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-ClientProxiedBy: SG2PR02CA0105.apcprd02.prod.outlook.com (2603:1096:4:92::21) To DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [10.193.99.168] (119.31.174.71) by SG2PR02CA0105.apcprd02.prod.outlook.com (2603:1096:4:92::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4523.14 via Frontend Transport; Wed, 15 Sep 2021 02:07:31 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 9de85079-c33a-4709-49d7-08d977ed9441 X-MS-TrafficTypeDiagnostic: DB6PR0401MB2374: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8273; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 8q3eAToAXdGZvqRotjFG6Nb3srKSGgtF9JzUobykE41kdyVuA1t+3D9Qqpgyqz3Eqee97gJuQZjNjyxH2taEo24RVLw8yQP4zAW6G5tH/Jh0NlIbLECHG2Fj62A3YLJMrQMX/OKXOSv9F3/ytsKZvmP67NaaD/7Z4jlCJs1/qMrB1FP5kSVgHmRkk71Nxb7bF6pve+D1oulWUYm2yBqdvEtGX3cf3Ussc6DY6Io750bUjcV7nmXQVIrxURP93E3ydTd8YWxl2VD69LLgfxPzvw+HiSNI3jzSn0D4A2pwCjlqv2k5Whv05ptT1w40D9Y371FJj59uE3TnXFxqR6yFtpI6XwnYi78o6fcAO8D84nQpZ53LPV4smTjimK1nPy8+WaUvBQYTu7ZkxAHnif3D03WpsJokEk+mMBptQVb3dit67mnzgYJgcDR6RWSgUHv/Ppo4H4vOreOJvFV4EBAB10Sjg6wZBkUdYP/dRxnOGui8RmhROYk9zYLg++st2WJsEZxnh7R4L0Gp204JyxWAnzefyB/si5TYqFzbKlfVZUbiQ25KUdpcJKZFZnTICg/rhRBkvVwrcwVIwLamhZjJXKjIrah3nUzGDG9oMBtzhKbYVCBdaI4ihiHjU9W6ZDI81HklEd8qrQNlp8tFc2vQDQc32xEu9sAtPhRNJVtjxQRzsH2rrLSJsiETTUz8uVeW9zMIMzrLJBVtz7eygOmCALt37j6uNkuG2iuJxPquItcFdeU9KITwCZO3UKOaGq8nR9YycI4DtZed48ogM5PkUA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB6PR0402MB2760.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(376002)(396003)(39860400002)(366004)(136003)(26005)(186003)(52116002)(66556008)(53546011)(2906002)(31696002)(8676002)(66476007)(83380400001)(478600001)(86362001)(8936002)(6666004)(38350700002)(31686004)(38100700002)(6486002)(30864003)(19627235002)(16576012)(66946007)(5660300002)(956004)(316002)(2616005)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?M2NQSWRRS3RSLzF3akJPWS9XeWhXYTB6TXVLaE5DbU41RjU0dVRPaENtaGtp?= =?utf-8?B?TWFJcWRmVnhmdEVwWTkreS9IYXZNS083RlBCRzA3MFlYN0VCbHlKTWFZV2hS?= =?utf-8?B?Z21qV1U3TnhaWmtrNmF1VlQrY0lYbFdWTjlTOUsrR280RXBENG1SR1ZJNEYx?= =?utf-8?B?bUN6Q1d2TExzL0thM3NOSzNMUHg5ck9Xc3phb0txNnRndXhnTnVzamVaalRu?= =?utf-8?B?OUE1ajdScEtRTkhidjA1ejVIWlFkSlFpbks1TUFLNFNjWHBhdXZicXo4NWlv?= =?utf-8?B?aURWVyt6SzhkUHJJNDRhdEFvamkwQ0JnNThXUm1pb2RWbU1ZZGhhRGRpcFBm?= =?utf-8?B?SGlsUTRCNUdvZFBSUkpzaUhuRFJkeFBVeHB1UmFwVHBhbmNyaGJLOEE1eUFV?= =?utf-8?B?N3JQVFZ5em9oV0ErcjhnTE9TWkpmeFdlVkdEb2Y5YVZqVUJsRVlLMm5Pc0hx?= =?utf-8?B?dVdFOG1FM01DWmJ0dnljUHNYZ0ZyVHpMTjlOTDlVaFlNZ2tIWC9rRlA4ZjhL?= =?utf-8?B?ckZUdXM0c1p2QjhiYlhvd0xuNFdxS2xTcFJaQVRJeHpibFhVditKdExvNmpH?= =?utf-8?B?djE5TWcrRGhWMW9aTW9iSm96RmRFdXJEdThXUCs3OWpVQ2lyRnNSTWR1N01X?= =?utf-8?B?d0ttU0tRWkFUUEZKZzc2a3ZxdWFMSkNBNEMyY0Q1TlgrZnRMejhUZUMwSU4y?= =?utf-8?B?aTBGTUJ6cEhuY3BSa3FjOHVGZDJ5NnVpNDhWanZWWXd0a2ZuNS92WXArRmk1?= =?utf-8?B?elZaUDZQdGk4eHFuNG9NRHVuUUI1bVREZkdONnZHYTMzLzlyV1JvR2VzcldQ?= =?utf-8?B?ZXdIcnNucHFNSWdNWm1tdFpOc01XVW5kQ0NhbXd0Y1FvQktISFhnR2doRXhW?= =?utf-8?B?cVRBK0ZRQ3NKSjVaMlFmdzVVMmpERll4OXdHSnJDK0xRMFo1bjc1SWdCK1NU?= =?utf-8?B?THRGcVlkWmprSkJQSTBTVlhOZnVQM2h4VEVBRUVzczFLbGUvY2lSa2licm93?= =?utf-8?B?UVRUaUxpR0pnQVMvRC84blJ3U0NoVEM1Y2NleWNES0s0Z3QvTEw5VXpLYmVE?= =?utf-8?B?NldSSDVMUlh6cVBuTVdOWjQ2NFRadXFsTXF1SC9UclR0bCtaR09zb3d2akpD?= =?utf-8?B?d3NWdXpBa1RCL0xwdm95RUl4NkFyZEh5ZUVNODZxVitaSFBYNmJPSUdNR3hT?= =?utf-8?B?ZTk5UjVJRCtlZDV5T1lkcDQvcFFZcWl5YlFmUkVWUmZYTkNvbWNTOXRMdjlP?= =?utf-8?B?NUYvOWNVSUdJcktweTZNZkZ5eEozUW4ySWFyUFp0bkZqN0VwZUlGcDFXSlFv?= =?utf-8?B?TFFRWDN4RXN6bVlSYnBCNkhZL29tUFZOOVdpaVlNNXZkMW5CUlJjZVRnMWVD?= =?utf-8?B?dGw0VU9JbDRldmNaaSt3MW1QaEpGTmtRNkJoV01pZ2JQbHRVM1BONDB5VWVv?= =?utf-8?B?QUJDTW5BT3dzR2dUYjR1UGwrdnJJNERtSDBnOGIzeFRTZ1NMWjJoWlYraHda?= =?utf-8?B?TjluWWp5TjcwdVZnOSsxK1VnbHZEdWFtVUxBazh6OEdjTnBEZ1pxVkdZQ0gv?= =?utf-8?B?aklIRUVzOFBiQjRGaW50Z2JrbHFFUWFLUlgvSmUzSi9tQWJEaWxSZ0VWbWQ0?= =?utf-8?B?Q1hLdEVjbzFBMGx4MXRIS3QyN1UxNjQwSWhITkNYK1IwVStHYXFvN25IemtW?= =?utf-8?B?eld2eUdHRE1RYkk5aTJKcGpXTzVXUHJzZjZ0WkpSOGNnQ1hBRmVGWTBEYkcw?= =?utf-8?Q?B2vBnMsgZrXITFthGd9pcBX7dcEwTgjK+Syjwya?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9de85079-c33a-4709-49d7-08d977ed9441 X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Sep 2021 02:07:33.2874 (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: q6gX8X4hGOXAEe6HsL+iqv24RnYS04vUAtjU1yD8WI/ZKmuTYpKKsxCBPw60pNB5dxHg1fod3oFCRtclXab/9w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0401MB2374 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.2 at phobos.denx.de X-Virus-Status: Clean Just wonder anyone using kgdb in U-Boot? And sharing the same uart with normal output? Thanks, Peng On 2021/9/14 5:24, Tom Rini wrote: > We have a few CONFIG options for KGDB that are not referenced, remove > them. > > Signed-off-by: Tom Rini > --- > README | 5 ----- > include/configs/MPC8349EMDS.h | 4 ---- > include/configs/MPC8349EMDS_SDRAM.h | 4 ---- > include/configs/MPC837XERDB.h | 4 ---- > include/configs/MPC8540ADS.h | 4 ---- > include/configs/MPC8548CDS.h | 4 ---- > include/configs/MPC8560ADS.h | 4 ---- > include/configs/P1010RDB.h | 4 ---- > include/configs/P2041RDB.h | 4 ---- > include/configs/T102xRDB.h | 4 ---- > include/configs/T104xRDB.h | 4 ---- > include/configs/T208xQDS.h | 5 ----- > include/configs/T208xRDB.h | 5 ----- > include/configs/T4240RDB.h | 4 ---- > include/configs/UCP1020.h | 5 ----- > include/configs/corenet_ds.h | 4 ---- > include/configs/p1_p2_rdb_pc.h | 4 ---- > include/configs/pxa-common.h | 7 ------- > include/configs/socrates.h | 4 ---- > include/configs/x86-common.h | 4 ---- > 20 files changed, 87 deletions(-) > > diff --git a/README b/README > index 6df06c79bc83..e9a6df4cd1de 100644 > --- a/README > +++ b/README > @@ -648,11 +648,6 @@ The following options need to be configured: > time on others. This setting #define's the initial > value of the "loads_echo" environment variable. > > -- Kgdb Serial Baudrate: (if CONFIG_CMD_KGDB is defined) > - CONFIG_KGDB_BAUDRATE > - Select one of the baudrates listed in > - CONFIG_SYS_BAUDRATE_TABLE, see below. > - > - Removal of commands > If no commands are needed to boot, you can disable > CONFIG_CMDLINE to remove them. In this case, the command line > diff --git a/include/configs/MPC8349EMDS.h b/include/configs/MPC8349EMDS.h > index 2f1fc6a6a2b9..d96d3ce6967b 100644 > --- a/include/configs/MPC8349EMDS.h > +++ b/include/configs/MPC8349EMDS.h > @@ -255,10 +255,6 @@ > #define CONFIG_PCI_INDIRECT_BRIDGE > #endif > > -#if defined(CONFIG_CMD_KGDB) > -#define CONFIG_KGDB_BAUDRATE 230400 /* speed of kgdb serial port */ > -#endif > - > /* > * Environment Configuration > */ > diff --git a/include/configs/MPC8349EMDS_SDRAM.h b/include/configs/MPC8349EMDS_SDRAM.h > index d6a151d20ce6..0f8db35ae90e 100644 > --- a/include/configs/MPC8349EMDS_SDRAM.h > +++ b/include/configs/MPC8349EMDS_SDRAM.h > @@ -312,10 +312,6 @@ > #define CONFIG_PCI_INDIRECT_BRIDGE > #endif > > -#if defined(CONFIG_CMD_KGDB) > -#define CONFIG_KGDB_BAUDRATE 230400 /* speed of kgdb serial port */ > -#endif > - > /* > * Environment Configuration > */ > diff --git a/include/configs/MPC837XERDB.h b/include/configs/MPC837XERDB.h > index 0e2e034dcd9b..ce810e5f2cbe 100644 > --- a/include/configs/MPC837XERDB.h > +++ b/include/configs/MPC837XERDB.h > @@ -323,10 +323,6 @@ > #define CONFIG_SYS_BOOTMAPSZ (256 << 20) /* Initial Memory map for Linux */ > #define CONFIG_SYS_BOOTM_LEN (64 << 20) /* Increase max gunzip size */ > > -#if defined(CONFIG_CMD_KGDB) > -#define CONFIG_KGDB_BAUDRATE 230400 /* speed of kgdb serial port */ > -#endif > - > /* > * Environment Configuration > */ > diff --git a/include/configs/MPC8540ADS.h b/include/configs/MPC8540ADS.h > index 66cf2053f980..b73a7c9ac955 100644 > --- a/include/configs/MPC8540ADS.h > +++ b/include/configs/MPC8540ADS.h > @@ -289,10 +289,6 @@ > #define CONFIG_SYS_BOOTMAPSZ (64 << 20) /* Initial Memory map for Linux*/ > #define CONFIG_SYS_BOOTM_LEN (64 << 20) /* Increase max gunzip size */ > > -#if defined(CONFIG_CMD_KGDB) > -#define CONFIG_KGDB_BAUDRATE 230400 /* speed to run kgdb serial port */ > -#endif > - > /* > * Environment Configuration > */ > diff --git a/include/configs/MPC8548CDS.h b/include/configs/MPC8548CDS.h > index f7d05ffa89a1..5c54bad4964f 100644 > --- a/include/configs/MPC8548CDS.h > +++ b/include/configs/MPC8548CDS.h > @@ -415,10 +415,6 @@ extern unsigned long get_clock_freq(void); > #define CONFIG_SYS_BOOTMAPSZ (64 << 20) /* Initial Memory map for Linux*/ > #define CONFIG_SYS_BOOTM_LEN (64 << 20) /* Increase max gunzip size */ > > -#if defined(CONFIG_CMD_KGDB) > -#define CONFIG_KGDB_BAUDRATE 230400 /* speed to run kgdb serial port */ > -#endif > - > /* > * Environment Configuration > */ > diff --git a/include/configs/MPC8560ADS.h b/include/configs/MPC8560ADS.h > index 224314366439..23ac9f8e6ece 100644 > --- a/include/configs/MPC8560ADS.h > +++ b/include/configs/MPC8560ADS.h > @@ -279,10 +279,6 @@ > #define CONFIG_SYS_BOOTMAPSZ (64 << 20) /* Initial Memory map for Linux*/ > #define CONFIG_SYS_BOOTM_LEN (64 << 20) /* Increase max gunzip size */ > > -#if defined(CONFIG_CMD_KGDB) > -#define CONFIG_KGDB_BAUDRATE 230400 /* speed to run kgdb serial port */ > -#endif > - > /* > * Environment Configuration > */ > diff --git a/include/configs/P1010RDB.h b/include/configs/P1010RDB.h > index 02b0b71ada56..922f0661aba2 100644 > --- a/include/configs/P1010RDB.h > +++ b/include/configs/P1010RDB.h > @@ -619,10 +619,6 @@ extern unsigned long get_sdram_size(void); > #define CONFIG_SYS_BOOTMAPSZ (64 << 20) /* Initial Memory map for Linux */ > #define CONFIG_SYS_BOOTM_LEN (64 << 20) /* Increase max gunzip size */ > > -#if defined(CONFIG_CMD_KGDB) > -#define CONFIG_KGDB_BAUDRATE 230400 /* speed to run kgdb serial port */ > -#endif > - > /* > * Environment Configuration > */ > diff --git a/include/configs/P2041RDB.h b/include/configs/P2041RDB.h > index 6da44e7ab828..1e75066eb1c9 100644 > --- a/include/configs/P2041RDB.h > +++ b/include/configs/P2041RDB.h > @@ -466,10 +466,6 @@ unsigned long get_board_sys_clk(unsigned long dummy); > #define CONFIG_SYS_BOOTMAPSZ (64 << 20) /* Initial Memory for Linux */ > #define CONFIG_SYS_BOOTM_LEN (64 << 20) /* Increase max gunzip size */ > > -#ifdef CONFIG_CMD_KGDB > -#define CONFIG_KGDB_BAUDRATE 230400 /* speed to run kgdb serial port */ > -#endif > - > /* > * Environment Configuration > */ > diff --git a/include/configs/T102xRDB.h b/include/configs/T102xRDB.h > index 3ae8a14c9445..e4629946ddb1 100644 > --- a/include/configs/T102xRDB.h > +++ b/include/configs/T102xRDB.h > @@ -584,10 +584,6 @@ unsigned long get_board_sys_clk(void); > #define CONFIG_SYS_BOOTMAPSZ (64 << 20) /* Initial map for Linux*/ > #define CONFIG_SYS_BOOTM_LEN (64 << 20) /* Increase max gunzip size */ > > -#ifdef CONFIG_CMD_KGDB > -#define CONFIG_KGDB_BAUDRATE 230400 /* speed to run kgdb serial port */ > -#endif > - > /* > * Environment Configuration > */ > diff --git a/include/configs/T104xRDB.h b/include/configs/T104xRDB.h > index 910baef00c47..7c48c3af71fc 100644 > --- a/include/configs/T104xRDB.h > +++ b/include/configs/T104xRDB.h > @@ -592,10 +592,6 @@ > #define CONFIG_SYS_BOOTMAPSZ (64 << 20) /* Initial map for Linux*/ > #define CONFIG_SYS_BOOTM_LEN (64 << 20) /* Increase max gunzip size */ > > -#ifdef CONFIG_CMD_KGDB > -#define CONFIG_KGDB_BAUDRATE 230400 /* speed to run kgdb serial port */ > -#endif > - > /* > * Dynamic MTD Partition support with mtdparts > */ > diff --git a/include/configs/T208xQDS.h b/include/configs/T208xQDS.h > index 315d1f7b01a5..57640acfc90b 100644 > --- a/include/configs/T208xQDS.h > +++ b/include/configs/T208xQDS.h > @@ -585,11 +585,6 @@ unsigned long get_board_sys_clk(void); > #define CONFIG_SYS_BOOTMAPSZ (64 << 20) /* Initial map for Linux*/ > #define CONFIG_SYS_BOOTM_LEN (64 << 20) /* Increase max gunzip size */ > > -#ifdef CONFIG_CMD_KGDB > -#define CONFIG_KGDB_BAUDRATE 230400 /* speed to run kgdb serial port */ > -#define CONFIG_KGDB_SER_INDEX 2 /* which serial port to use */ > -#endif > - > /* > * Environment Configuration > */ > diff --git a/include/configs/T208xRDB.h b/include/configs/T208xRDB.h > index 6824be9e758f..6f27386d2bac 100644 > --- a/include/configs/T208xRDB.h > +++ b/include/configs/T208xRDB.h > @@ -540,11 +540,6 @@ unsigned long get_board_sys_clk(void); > #define CONFIG_SYS_BOOTMAPSZ (64 << 20) /* Initial map for Linux*/ > #define CONFIG_SYS_BOOTM_LEN (64 << 20) /* Increase max gunzip size */ > > -#ifdef CONFIG_CMD_KGDB > -#define CONFIG_KGDB_BAUDRATE 230400 /* speed to run kgdb serial port */ > -#define CONFIG_KGDB_SER_INDEX 2 /* which serial port to use */ > -#endif > - > /* > * Environment Configuration > */ > diff --git a/include/configs/T4240RDB.h b/include/configs/T4240RDB.h > index 54db021ec9ad..b7cbf87d3062 100644 > --- a/include/configs/T4240RDB.h > +++ b/include/configs/T4240RDB.h > @@ -214,10 +214,6 @@ > #define CONFIG_SYS_BOOTMAPSZ (64 << 20) /* Initial map for Linux*/ > #define CONFIG_SYS_BOOTM_LEN (64 << 20) /* Increase max gunzip size */ > > -#ifdef CONFIG_CMD_KGDB > -#define CONFIG_KGDB_BAUDRATE 230400 /* speed to run kgdb serial port */ > -#endif > - > /* > * Environment Configuration > */ > diff --git a/include/configs/UCP1020.h b/include/configs/UCP1020.h > index 22b8c3f4e012..fceccc6d52a6 100644 > --- a/include/configs/UCP1020.h > +++ b/include/configs/UCP1020.h > @@ -386,11 +386,6 @@ > #define CONFIG_SYS_BOOTMAPSZ (64 << 20) /* Initial Memory for Linux*/ > #define CONFIG_SYS_BOOTM_LEN (64 << 20) /* Increase max gunzip size */ > > -#if defined(CONFIG_CMD_KGDB) > -#define CONFIG_KGDB_BAUDRATE 230400 /* speed to run kgdb serial port */ > -#define CONFIG_KGDB_SER_INDEX 2 /* which serial port to use */ > -#endif > - > /* > * Environment Configuration > */ > diff --git a/include/configs/corenet_ds.h b/include/configs/corenet_ds.h > index 2a0a6beaf629..e311ced14bc1 100644 > --- a/include/configs/corenet_ds.h > +++ b/include/configs/corenet_ds.h > @@ -466,10 +466,6 @@ > #define CONFIG_SYS_BOOTMAPSZ (64 << 20) /* Initial Memory map for Linux*/ > #define CONFIG_SYS_BOOTM_LEN (64 << 20) /* Increase max gunzip size */ > > -#ifdef CONFIG_CMD_KGDB > -#define CONFIG_KGDB_BAUDRATE 230400 /* speed to run kgdb serial port */ > -#endif > - > /* > * Environment Configuration > */ > diff --git a/include/configs/p1_p2_rdb_pc.h b/include/configs/p1_p2_rdb_pc.h > index 49dbbf07f889..58336110568c 100644 > --- a/include/configs/p1_p2_rdb_pc.h > +++ b/include/configs/p1_p2_rdb_pc.h > @@ -597,10 +597,6 @@ > #define CONFIG_SYS_BOOTMAPSZ (64 << 20) /* Initial Memory for Linux*/ > #define CONFIG_SYS_BOOTM_LEN (64 << 20) /* Increase max gunzip size */ > > -#if defined(CONFIG_CMD_KGDB) > -#define CONFIG_KGDB_BAUDRATE 230400 /* speed to run kgdb serial port */ > -#endif > - > /* > * Environment Configuration > */ > diff --git a/include/configs/pxa-common.h b/include/configs/pxa-common.h > index 52d77e06acf4..7a78f98eb15f 100644 > --- a/include/configs/pxa-common.h > +++ b/include/configs/pxa-common.h > @@ -8,13 +8,6 @@ > #ifndef __CONFIG_PXA_COMMON_H__ > #define __CONFIG_PXA_COMMON_H__ > > -/* > - * KGDB > - */ > -#ifdef CONFIG_CMD_KGDB > -#define CONFIG_KGDB_BAUDRATE 230400 > -#endif > - > /* > * OHCI USB > */ > diff --git a/include/configs/socrates.h b/include/configs/socrates.h > index 400cea479ef9..018bc6918ce7 100644 > --- a/include/configs/socrates.h > +++ b/include/configs/socrates.h > @@ -203,10 +203,6 @@ > */ > #define CONFIG_SYS_BOOTMAPSZ (8 << 20) /* Initial Memory map for Linux */ > > -#if defined(CONFIG_CMD_KGDB) > -#define CONFIG_KGDB_BAUDRATE 230400 /* speed to run kgdb serial port*/ > -#endif > - > > #define CONFIG_EXTRA_ENV_SETTINGS \ > "netdev=eth0\0" \ > diff --git a/include/configs/x86-common.h b/include/configs/x86-common.h > index 4b39faababd3..486b5ca77658 100644 > --- a/include/configs/x86-common.h > +++ b/include/configs/x86-common.h > @@ -44,10 +44,6 @@ > "ext2load scsi 0:3 01000000 /boot/vmlinuz; zboot 01000000" > #endif > > -#if defined(CONFIG_CMD_KGDB) > -#define CONFIG_KGDB_BAUDRATE 115200 > -#endif > - > /* > * Miscellaneous configurable options > */ >