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 346F5C38A02 for ; Sat, 29 Oct 2022 00:27:48 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 992BE850F1; Sat, 29 Oct 2022 02:27:31 +0200 (CEST) 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="ow4djmVv"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id CEC1F850D8; Sat, 29 Oct 2022 02:27:23 +0200 (CEST) Received: from mail-qk1-x72e.google.com (mail-qk1-x72e.google.com [IPv6:2607:f8b0:4864:20::72e]) (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 BC4C4850D8 for ; Sat, 29 Oct 2022 02:27:19 +0200 (CEST) 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-qk1-x72e.google.com with SMTP id j21so4525634qkk.9 for ; Fri, 28 Oct 2022 17:27:19 -0700 (PDT) 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=RH56rCCMHDZ2lST5cWtsQWJxWm1Ier6FMqgXFMkg1+U=; b=ow4djmVviQ+YI4DGDi5VwnAbmwIrevnZMd+FlmBAZsFLa4fdOejKkhQwGrV77KbhrK W9ymEahHphvkXFGio4eVdmj/QW4IArLUDkInJotzwLlPrhAfPAqHyXTG6gtRxyX1G6Lr OvvB2GD6jJsPXiXBalTpuVsdD5AazWBejHhLA= 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=RH56rCCMHDZ2lST5cWtsQWJxWm1Ier6FMqgXFMkg1+U=; b=2o6PP3uok93nwE3LfXL3jCvh/lU6rP4tmWKFIQ0uSd8N/BLj72P4DwSG1wvaQa+iGh pXz3vsDJNnovDP16usI1se8//BNjpCgdyuPcF+rs9vn/u24G1X7SyiOVQeo5wJmpNgXe 2LrY79HRVOxp8GVWK3HRMOnkWq/eFa6aB4IJq8pqK5chhvnpeTYEZ9osHM9Db7WpYknT nE1lxubfHUCxXPQ3yMFCQcgdbnl+EFMokqRwxLcnZMNwTZPKk8llrZ9gVke2KThPG4Dv KW6WMNbbhnq2UUk7QJNAZAtWzTizjyt/G3C+/WEzI4VbfO6tyGcUZFN7Vr5xWhHMROum CWKA== X-Gm-Message-State: ACrzQf0fsc+zqw5GjK9y8hebDUurzUPre1ShnAqwQKiOORETWn9E/0Un wm/shfu3YppYVZvRP++/o5gThSIXDOZ32g== X-Google-Smtp-Source: AMsMyM6tDqJivKdK7ZgC85eRiQVH5hwgX8Ei5I7R4sP/oA2zsN426lUHT7cflIBgyHNKNVVFbJBduQ== X-Received: by 2002:a05:620a:2221:b0:6ef:41a:185a with SMTP id n1-20020a05620a222100b006ef041a185amr1476895qkh.597.1667003238380; Fri, 28 Oct 2022 17:27:18 -0700 (PDT) Received: from bill-the-cat.lan (2603-6081-7b00-6400-21a2-cb17-4547-06d4.res6.spectrum.com. [2603:6081:7b00:6400:21a2:cb17:4547:6d4]) by smtp.gmail.com with ESMTPSA id v7-20020a05622a144700b00398313f286dsm65130qtx.40.2022.10.28.17.27.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Oct 2022 17:27:18 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH 05/21] Remove unused symbols CONFIG_SYS_JFFS2_FIRST_BANK et al Date: Fri, 28 Oct 2022 20:26:58 -0400 Message-Id: <20221029002714.1598153-5-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221029002714.1598153-1-trini@konsulko.com> References: <20221029002714.1598153-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 This removes the following symbols: CONFIG_RTC_MCFRRTC CONFIG_SYS_JFFS2_FIRST_BANK CONFIG_SYS_JFFS2_FIRST_SECTOR CONFIG_SYS_JFFS2_NUM_BANKS CONFIG_SYS_LBC_CACHE_BASE CONFIG_SYS_LIME_SIZE CONFIG_SYS_MAMR CONFIG_SYS_MCFRRTC_BASE CONFIG_SYS_MONITOR_SEC Signed-off-by: Tom Rini --- README | 8 -------- doc/README.JFFS2 | 10 ---------- include/configs/astro_mcf5373l.h | 11 ----------- include/configs/at91sam9263ek.h | 1 - include/configs/socrates.h | 3 --- include/configs/stmark2.h | 4 ---- include/configs/tuxx1.h | 4 ---- 7 files changed, 41 deletions(-) diff --git a/README b/README index 92ad191ae76d..0e01176d4f65 100644 --- a/README +++ b/README @@ -762,11 +762,6 @@ The following options need to be configured: entering dfuMANIFEST state. Host waits this timeout, before sending again an USB request to the device. -- Journaling Flash filesystem support: - CONFIG_SYS_JFFS2_FIRST_SECTOR, - CONFIG_SYS_JFFS2_FIRST_BANK, CONFIG_SYS_JFFS2_NUM_BANKS - Define these for a default partition on a NOR device - - Keyboard Support: See Kconfig help for available keyboard drivers. @@ -1814,9 +1809,6 @@ Low Level (hardware related) configuration options: - CONFIG_SYS_OR_TIMING_SDRAM: SDRAM timing -- CONFIG_SYS_MAMR_PTA: - periodic timer for refresh - - CONFIG_SYS_SRIO: Chip has SRIO or not diff --git a/doc/README.JFFS2 b/doc/README.JFFS2 index 0245da0488fb..fddefb174690 100644 --- a/doc/README.JFFS2 +++ b/doc/README.JFFS2 @@ -21,16 +21,6 @@ Sorting is done while inserting into the fragment list, which is more or less a bubble sort. That algorithm is known to be O(n^2), thus you should really consider if you can avoid it! - -There only one way for JFFS2 to find the disk. It uses the flash_info -structure to find the start of a JFFS2 disk (called partition in the code) -and you can change where the partition is with two defines. - -CONFIG_SYS_JFFS2_FIRST_BANK - defined the first flash bank to use - -CONFIG_SYS_JFFS2_FIRST_SECTOR - defines the first sector to use --- TODO. diff --git a/include/configs/astro_mcf5373l.h b/include/configs/astro_mcf5373l.h index adfadd7c6d72..c79f9ca8f0f4 100644 --- a/include/configs/astro_mcf5373l.h +++ b/include/configs/astro_mcf5373l.h @@ -46,9 +46,6 @@ */ #ifdef CONFIG_RAM #define CONFIG_MONITOR_IS_IN_RAM -#define ENABLE_JFFS 0 -#else -#define ENABLE_JFFS 1 #endif /* I2C */ @@ -210,14 +207,6 @@ . = DEFINED(env_offset) ? env_offset : .; \ env/embedded.o(.text*) -#if ENABLE_JFFS -/* JFFS Partition offset set */ -#define CONFIG_SYS_JFFS2_FIRST_BANK 0 -#define CONFIG_SYS_JFFS2_NUM_BANKS 1 -/* 512k reserved for u-boot */ -#define CONFIG_SYS_JFFS2_FIRST_SECTOR 0x40 -#endif - /* Cache Configuration */ #define ICACHE_STATUS (CONFIG_SYS_INIT_RAM_ADDR + \ diff --git a/include/configs/at91sam9263ek.h b/include/configs/at91sam9263ek.h index 8c6d1cd1d9d4..4d32e55c642e 100644 --- a/include/configs/at91sam9263ek.h +++ b/include/configs/at91sam9263ek.h @@ -41,7 +41,6 @@ #define PHYS_FLASH_1 0x10000000 #define CONFIG_SYS_FLASH_BASE PHYS_FLASH_1 -#define CONFIG_SYS_MONITOR_SEC 1:0-3 #define CONFIG_SYS_MONITOR_LEN (256 << 10) /* Address and size of Primary Environment Sector */ diff --git a/include/configs/socrates.h b/include/configs/socrates.h index fc00931e0ae1..c75991badab4 100644 --- a/include/configs/socrates.h +++ b/include/configs/socrates.h @@ -78,8 +78,6 @@ /* * Flash on the LocalBus */ -#define CONFIG_SYS_LBC_CACHE_BASE 0xf0000000 /* Localbus cacheable */ - #define CONFIG_SYS_FLASH0 0xFE000000 #define CONFIG_SYS_FLASH1 0xFC000000 #define CONFIG_SYS_FLASH_BANKS_LIST { CONFIG_SYS_FLASH1, CONFIG_SYS_FLASH0 } @@ -108,7 +106,6 @@ /* LIME GDC */ #define CONFIG_SYS_LIME_BASE 0xc8000000 -#define CONFIG_SYS_LIME_SIZE 0x04000000 /* 64 MB */ /* * General PCI diff --git a/include/configs/stmark2.h b/include/configs/stmark2.h index d8a334868f31..8167d250f27f 100644 --- a/include/configs/stmark2.h +++ b/include/configs/stmark2.h @@ -34,10 +34,6 @@ "sf write ${loadaddr} 0x00800000 ${filesize}\0" \ "" -/* Realtime clock */ -#define CONFIG_RTC_MCFRRTC -#define CONFIG_SYS_MCFRRTC_BASE 0xFC0A8000 - #define CONFIG_SYS_SBFHDR_SIZE 0x7 /* Input, PCI, Flexbus, and VCO */ diff --git a/include/configs/tuxx1.h b/include/configs/tuxx1.h index f5a9f1284a3d..7eed31c35f03 100644 --- a/include/configs/tuxx1.h +++ b/include/configs/tuxx1.h @@ -31,8 +31,4 @@ #include "km/km-mpc83xx.h" #include "km/km-mpc832x.h" -#define CONFIG_SYS_MAMR (MxMR_GPL_x4DIS | \ - 0x0000c000 | \ - MxMR_WLFx_2X) - #endif /* __CONFIG_H */ -- 2.25.1