]> git.baikalelectronics.ru Git - uboot.git/commitdiff
Remove unused symbols
authorTom Rini <trini@konsulko.com>
Sat, 12 Nov 2022 22:36:43 +0000 (17:36 -0500)
committerTom Rini <trini@konsulko.com>
Mon, 5 Dec 2022 21:05:38 +0000 (16:05 -0500)
This commit removes the following unused symbols:
   CONFIG_SYS_NAND_DDR_LAW
   CONFIG_SYS_NAND_ECCSTEPS
   CONFIG_SYS_NAND_ECCTOTAL
   CONFIG_SYS_NAND_ENABLE_PIN_SPL
   CONFIG_SYS_NAND_MX7_GPMI_62_ECC_BYTES
   CONFIG_SYS_NAND_U_BOOT_RELOC_SP

Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
12 files changed:
include/configs/P1010RDB.h
include/configs/T102xRDB.h
include/configs/T104xRDB.h
include/configs/T208xQDS.h
include/configs/T208xRDB.h
include/configs/T4240RDB.h
include/configs/colibri_imx7.h
include/configs/da850evm.h
include/configs/omapl138_lcdk.h
include/configs/siemens-am33x-common.h
include/configs/smartweb.h
include/configs/taurus.h

index addb306d57fc5af55277f882506d45bacf8f4c0e..3448766d8e5da7bd3f3c450d3d527136769ca059 100644 (file)
@@ -235,8 +235,6 @@ extern unsigned long get_sdram_size(void);
 #define CONFIG_SYS_NAND_FTIM3  0x0
 #endif
 
-#define CONFIG_SYS_NAND_DDR_LAW                11
-
 /* Set up IFC registers for boot location NOR/NAND */
 #if defined(CONFIG_MTD_RAW_NAND) || defined(CONFIG_NAND_SECBOOT)
 #define CONFIG_SYS_CSPR0               CONFIG_SYS_NAND_CSPR
index 62c4177f30931d3499356bb51e8e9ed84275d769..4b2327d32329e76de32188f4246c5a61e0ac6461 100644 (file)
                                        FTIM2_NAND_TWHRE(0x1e))
 #define CONFIG_SYS_NAND_FTIM3          0x0
 
-#define CONFIG_SYS_NAND_DDR_LAW                11
 #define CONFIG_SYS_NAND_BASE_LIST      { CONFIG_SYS_NAND_BASE }
 
 #if defined(CONFIG_MTD_RAW_NAND)
index ad8037e7a8c765586bd85f8ac56f58f0af5ecb26..e7d82bf4118e5171e7a659d13469b7bbbbea0270 100644 (file)
                                        FTIM2_NAND_TWHRE(0x1e))
 #define CONFIG_SYS_NAND_FTIM3          0x0
 
-#define CONFIG_SYS_NAND_DDR_LAW                11
 #define CONFIG_SYS_NAND_BASE_LIST      { CONFIG_SYS_NAND_BASE }
 
 #if defined(CONFIG_MTD_RAW_NAND)
index 2dcaeda78b8d315172a13d659331f8997a925908..08195505b1dc187a2c26e97e88763538d1ca16ce 100644 (file)
                                        FTIM2_NAND_TWHRE(0x1e))
 #define CONFIG_SYS_NAND_FTIM3          0x0
 
-#define CONFIG_SYS_NAND_DDR_LAW                11
 #define CONFIG_SYS_NAND_BASE_LIST      { CONFIG_SYS_NAND_BASE }
 
 #if defined(CONFIG_MTD_RAW_NAND)
index 223c856751715c4bdf66be185de53f245bb7bbfb..75d9200d568c99397ae5d71cd4f07df16c9c7270 100644 (file)
                                        FTIM2_NAND_TWHRE(0x1e))
 #define CONFIG_SYS_NAND_FTIM3          0x0
 
-#define CONFIG_SYS_NAND_DDR_LAW                11
 #define CONFIG_SYS_NAND_BASE_LIST      { CONFIG_SYS_NAND_BASE }
 
 #if defined(CONFIG_MTD_RAW_NAND)
index 12edfdd68db0ca0f6129b0749caa00300d1a2bd5..d79789af0e1ae565b0a7d5e7100ff6d5d5115edc 100644 (file)
                                        FTIM2_NAND_TWHRE(0x1e))
 #define CONFIG_SYS_NAND_FTIM3          0x0
 
-#define CONFIG_SYS_NAND_DDR_LAW                11
 #define CONFIG_SYS_NAND_BASE_LIST      { CONFIG_SYS_NAND_BASE }
 
 #if defined(CONFIG_MTD_RAW_NAND)
index 7380440ae7aa67ab3ad9efb1685c8c3e91952b1e..5c7a9f2e69f2972b2e7d316f415a169da4bc68b5 100644 (file)
 #ifdef CONFIG_TARGET_COLIBRI_IMX7_NAND
 /* NAND stuff */
 #define CONFIG_SYS_NAND_BASE           0x40000000
-#define CONFIG_SYS_NAND_MX7_GPMI_62_ECC_BYTES
 #endif
 
 /* USB Configs */
index 281cbe37f9d9acb278edbb437ed35859ad7b6d10..262a79be015c4d77f1656e678f81525e35d5fe4c 100644 (file)
 #define CONFIG_SYS_NAND_U_BOOT_SIZE    0x40000
 #define CONFIG_SYS_NAND_U_BOOT_DST     0xc1080000
 #define CONFIG_SYS_NAND_U_BOOT_START   CONFIG_SYS_NAND_U_BOOT_DST
-#define CONFIG_SYS_NAND_U_BOOT_RELOC_SP        (CONFIG_SYS_NAND_U_BOOT_DST - \
-                                       CONFIG_SYS_NAND_U_BOOT_SIZE - \
-                                       CONFIG_SYS_MALLOC_LEN -       \
-                                       GENERATED_GBL_DATA_SIZE)
 #define CONFIG_SYS_NAND_ECCPOS         {                               \
                                24, 25, 26, 27, 28, \
                                29, 30, 31, 32, 33, 34, 35, 36, 37, 38, \
index 410393024158398f98bafb7d8537dee8ace358a6..4b24d614e1ad1055ad3c3936b92bcdd90a129536 100644 (file)
 #define CONFIG_SYS_NAND_U_BOOT_SIZE    SZ_512K
 #define CONFIG_SYS_NAND_U_BOOT_DST     0xc1080000
 #define CONFIG_SYS_NAND_U_BOOT_START   CONFIG_SYS_NAND_U_BOOT_DST
-#define CONFIG_SYS_NAND_U_BOOT_RELOC_SP        (CONFIG_SYS_NAND_U_BOOT_DST - \
-                                       CONFIG_SYS_NAND_U_BOOT_SIZE - \
-                                       CONFIG_SYS_MALLOC_LEN -       \
-                                       GENERATED_GBL_DATA_SIZE)
 #define CONFIG_SYS_NAND_ECCPOS         {                               \
                                6, 7, 8, 9, 10, 11, 12, 13, 14, 15,     \
                                22, 23, 24, 25, 26, 27, 28, 29, 30, 31, \
index 87da5e4232c272fb5020203506ad89a3ea9a95d8..dd247d2fd9811770d4282486c1b8cc42dc057a14 100644 (file)
 #define CONFIG_SYS_NAND_ECCSIZE                512
 #define CONFIG_SYS_NAND_ECCBYTES       14
 
-#define CONFIG_SYS_NAND_ECCSTEPS       4
-#define        CONFIG_SYS_NAND_ECCTOTAL        (CONFIG_SYS_NAND_ECCBYTES * \
-                                               CONFIG_SYS_NAND_ECCSTEPS)
-
 #define        CONFIG_SYS_NAND_U_BOOT_START    CONFIG_TEXT_BASE
 
 /*
index c8f5816fed99c61d7cb88ea05d57c3ba57522b73..538aad9a7bbbbd71a89912dd5434909313d1f113 100644 (file)
@@ -92,7 +92,6 @@
 
 /* Defines for SPL */
 
-#define CONFIG_SYS_NAND_ENABLE_PIN_SPL (2*32 + 14)
 #define CONFIG_SYS_NAND_U_BOOT_SIZE    SZ_512K
 #define        CONFIG_SYS_NAND_U_BOOT_START    CONFIG_TEXT_BASE
 #define CONFIG_SYS_NAND_U_BOOT_DST     CONFIG_TEXT_BASE
index ca9616d8af5aa9ec09456808fd7c7c4d59d9743e..5ab087da8bd017921d476e40963e6bcc723bc0e0 100644 (file)
 
 /* Defines for SPL */
 
-#define CONFIG_SYS_NAND_ENABLE_PIN_SPL (2*32 + 14)
 #define CONFIG_SYS_NAND_U_BOOT_SIZE    SZ_512K
 #define        CONFIG_SYS_NAND_U_BOOT_START    CONFIG_TEXT_BASE
 #define CONFIG_SYS_NAND_U_BOOT_DST     CONFIG_TEXT_BASE