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 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 4290DC4321E for ; Sun, 4 Dec 2022 15:07:42 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3727B853DB; Sun, 4 Dec 2022 16:06:22 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.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=konsulko.com header.i=@konsulko.com header.b="GrZPV+Ah"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id BD20D852FD; Sun, 4 Dec 2022 16:06:09 +0100 (CET) Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) (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 1C9E085304 for ; Sun, 4 Dec 2022 16:06:07 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-ed1-x52d.google.com with SMTP id e13so12540887edj.7 for ; Sun, 04 Dec 2022 07:06:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=eRMrkfl8Hmw1DEcXwHsuiHfdhrcqqKrqi1buRWmOing=; b=GrZPV+AhGUUJLVFD3/IvacKuJoIB+cCkP8VprsF1BJGygtua4ftpXUMwomibUIDYpb +GUQ2qcvADESEeoleaCUfE6ZsV4bh1tpRhO7M7d7TCCMsJYHOZEgMhi1bLZxqHeYl1Tz QoB26jhSl1yHZdAPvFL4hNciv2rei94yl+/Ko= 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:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=eRMrkfl8Hmw1DEcXwHsuiHfdhrcqqKrqi1buRWmOing=; b=pfe7RvsgxWzsTv3N2QmPpK9f1Rk2cQzv8lh5GtHhQIEW5sq6cYY0mt0sdAdYKpo2Pc Thop53nlzP6F2DOhW/WVDR+kqa0Cb/ZgNdMQ1Ti2viP5MJGsD0y1/L+gAXUNJSfM6x1K MYdpUow4LC5USwTmqLK2ooaVEfRgI3Bz6DCnnH0O2aksB9duV2Rg5iG+0ASqgHjwJRVV 7D2+U3RD1Q4TOevO1ykHcVisgvMVormpWypjgvuRNbwacC2Qm19TGC7SC0oBbJhLrAR8 5hNv0y8lX0fs5PVio/oDXrDjzWDIXWPfIRSKsZ4F7fwN+I1zxg93KjyuWCslvNn+D1Mx Cy4A== X-Gm-Message-State: ANoB5plAjPDLZufM8+BgfaMSozveOcNK+pDh+a6ZIOS3FiUM1FR6sj8W it5S3uMIHKmwDF6lDqx/GO/YkUmd0rpXMBio X-Google-Smtp-Source: AA0mqf4+u/gF8skqb2mCEFVRmuFnBvr/VDAyxp5SNm3axvAau+ep3WZudOcAN5PAwru+IIqMZ3FF1A== X-Received: by 2002:a05:6402:3c8:b0:46b:9049:936a with SMTP id t8-20020a05640203c800b0046b9049936amr20995036edw.426.1670166366454; Sun, 04 Dec 2022 07:06:06 -0800 (PST) Received: from bill-the-cat.lan (2603-6081-7b00-6400-61c7-2644-b62d-0af3.res6.spectrum.com. [2603:6081:7b00:6400:61c7:2644:b62d:af3]) by smtp.gmail.com with ESMTPSA id g1-20020a17090604c100b0073dc5bb7c32sm5240058eja.64.2022.12.04.07.06.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Dec 2022 07:06:06 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH 009/149] global: Remove undef CONFIG_... for unused values Date: Sun, 4 Dec 2022 10:03:34 -0500 Message-Id: <20221204150554.4165941-9-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221204150554.4165941-1-trini@konsulko.com> References: <20221202214251.3027264-41-trini@konsulko.com> <20221204150554.4165941-1-trini@konsulko.com> 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 We have a number of places that undef CONFIG_... while we never reference CONFIG_... in the first place. Remove these lines. Signed-off-by: Tom Rini --- common/cli_hush.c | 1 - drivers/ddr/marvell/axp/ddr3_axp_config.h | 2 -- include/configs/P1010RDB.h | 1 - include/configs/p1_p2_rdb_pc.h | 1 - include/configs/s5p4418_nanopi2.h | 2 -- 5 files changed, 7 deletions(-) diff --git a/common/cli_hush.c b/common/cli_hush.c index 1467ff81b35b..a80b84756bbe 100644 --- a/common/cli_hush.c +++ b/common/cli_hush.c @@ -112,7 +112,6 @@ #define applet_name "hush" #include "standalone.h" #define hush_main main -#undef CONFIG_FEATURE_SH_FANCY_PROMPT #define BB_BANNER #endif #endif diff --git a/drivers/ddr/marvell/axp/ddr3_axp_config.h b/drivers/ddr/marvell/axp/ddr3_axp_config.h index ab09e72623a0..04bb4ed8f344 100644 --- a/drivers/ddr/marvell/axp/ddr3_axp_config.h +++ b/drivers/ddr/marvell/axp/ddr3_axp_config.h @@ -59,12 +59,10 @@ /* Marvell boards specific configurations */ #if defined(DB_78X60_PCAC) -#undef CONFIG_SPD_EEPROM #define STATIC_TRAINING #endif #if defined(DB_78X60_AMC) -#undef CONFIG_SPD_EEPROM #undef DRAM_ECC #define DRAM_ECC 1 #endif diff --git a/include/configs/P1010RDB.h b/include/configs/P1010RDB.h index 2267a7a9c8b8..afb602c5bce9 100644 --- a/include/configs/P1010RDB.h +++ b/include/configs/P1010RDB.h @@ -309,7 +309,6 @@ extern unsigned long get_sdram_size(void); #endif /* Serial Port */ -#undef CONFIG_SERIAL_SOFTWARE_FIFO #define CFG_SYS_NS16550_CLK get_bus_freq(0) #define CFG_SYS_BAUDRATE_TABLE \ diff --git a/include/configs/p1_p2_rdb_pc.h b/include/configs/p1_p2_rdb_pc.h index c05904a813d0..74627b2e6302 100644 --- a/include/configs/p1_p2_rdb_pc.h +++ b/include/configs/p1_p2_rdb_pc.h @@ -302,7 +302,6 @@ * open - index 2 * shorted - index 1 */ -#undef CONFIG_SERIAL_SOFTWARE_FIFO #define CFG_SYS_NS16550_CLK get_bus_freq(0) #define CFG_SYS_BAUDRATE_TABLE \ diff --git a/include/configs/s5p4418_nanopi2.h b/include/configs/s5p4418_nanopi2.h index e071d4da5e86..b4b2dbd03867 100644 --- a/include/configs/s5p4418_nanopi2.h +++ b/include/configs/s5p4418_nanopi2.h @@ -66,8 +66,6 @@ /*----------------------------------------------------------------------- * High Level System Configuration */ -/* Not used: not need IRQ/FIQ stuff */ -#undef CONFIG_USE_IRQ /* decrementer freq: 1ms ticks */ /*----------------------------------------------------------------------- -- 2.25.1