Skip to contentSkip to conversation

Remove two unused drivers and unused CONFIG options

PATCH New Masahiro Yamada 5 participants 43 messages Oct 26, 2017 – Oct 28, 2017

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

cover Remove two unused drivers and unused CONFIG options

The first two deletes unused i2c drivers.

The rest of the series delete unreferenced CONFIG options.

Today, I volunteered to delete 20 CONFIGs or so,
but probably I will not do this again
since it was time-consuming, painful work...

Buildman passed. No code size change.

Masahiro Yamada (16):
i2c: adi_i2c: remove left-over Blackfin I2C driver
i2c: fti2c010: remove unused/unmaintained driver
IMX: novena: remove CONFIG_I2C_MXC
omap4: sdp4430: remove CONFIG_4430SDP
mpc85xx: freescale: remove CONFIG_ADDR_STREAMING
sh7734: remove CONFIG_553MHZ_MODE
ARC: remove CONFIG_ARC_UART_BASE
SOCFPGA: remove CONFIG_AUTONEG_TIMEOUT
omap4: sdp4430: match the #endif comment to #ifdef
exynos: remove CONFIG_CORE_COUNT
MX28: remove CONFIG_DEFAULT_SPI_CS
AM33XX: etamin: remove CONFIG_DFU_MTD
mpc85xx: xpedite550x: remove CONFIG_FDT_FIXUP_PCI_IRQ
net: remove CONFIG_NET_MULTI
exynos: remove CONFIG_LCD_MENU_BOARD
AT91: remove CONFIG_PMECC_INDEX_TABLE_OFFSET

 board/ti/sdp4430/cmd_bat.c          |   2 +-
 drivers/i2c/Makefile                |   2 -
 drivers/i2c/adi_i2c.c               | 309 --------------------------------
 drivers/i2c/fti2c010.c              | 340 ------------------------------------
 drivers/i2c/fti2c010.h              |  80 ---------
 include/configs/C29XPCIE.h          |   1 -
 include/configs/P1010RDB.h          |   1 -
 include/configs/am335x_shc.h        |   1 -
 include/configs/ap_sh4a_4a.h        |   1 -
 include/configs/at91sam9n12ek.h     |   1 -
 include/configs/bg0900.h            |   1 -
 include/configs/blanche.h           |   1 -
 include/configs/cm_t43.h            |   1 -
 include/configs/cyrus.h             |   1 -
 include/configs/etamin.h            |   1 -
 include/configs/exynos5420-common.h |   5 -
 include/configs/exynos7420-common.h |   3 -
 include/configs/ls1012aqds.h        |   1 -
 include/configs/ls1012ardb.h        |   1 -
 include/configs/ls1043a_common.h    |   1 -
 include/configs/m28evk.h            |   1 -
 include/configs/novena.h            |   1 -
 include/configs/nsa310s.h           |   1 -
 include/configs/nsim.h              |   1 -
 include/configs/omap4_sdp4430.h     |   1 -
 include/configs/pengwyn.h           |   3 -
 include/configs/r0p7734.h           |   1 -
 include/configs/s5pc210_universal.h |   1 -
 include/configs/salvator-x.h        |   1 -
 include/configs/socfpga_common.h    |   1 -
 include/configs/trats.h             |   1 -
 include/configs/trats2.h            |   1 -
 include/configs/ulcb.h              |   1 -
 include/configs/xilinx_zynqmp.h     |   1 -
 include/configs/xpedite550x.h       |   1 -
 35 files changed, 1 insertion(+), 770 deletions(-)
 delete mode 100644 drivers/i2c/adi_i2c.c
 delete mode 100644 drivers/i2c/fti2c010.c
 delete mode 100644 drivers/i2c/fti2c010.h
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/16 i2c: adi_i2c: remove left-over Blackfin I2C driver

This driver was used by Blackfin boards, but Blackfin support is gone. There is no user of this driver.

---

 drivers/i2c/Makefile  |   1 -
 drivers/i2c/adi_i2c.c | 309 --------------------------------------------------
 2 files changed, 310 deletions(-)
 delete mode 100644 drivers/i2c/adi_i2c.c
drivers/i2c/Makefile +0 -1
index e7ade94..121e4e2 100644
@@ -10,7 +10,6 @@ obj-$(CONFIG_DM_I2C_GPIO) += i2c-gpio.o
 obj-$(CONFIG_$(SPL_)I2C_CROS_EC_TUNNEL) += cros_ec_tunnel.o
 obj-$(CONFIG_$(SPL_)I2C_CROS_EC_LDO) += cros_ec_ldo.o
 
-obj-$(CONFIG_SYS_I2C_ADI) += adi_i2c.o
 obj-$(CONFIG_I2C_MV) += mv_i2c.o
 obj-$(CONFIG_TSI108_I2C) += tsi108_i2c.o
 obj-$(CONFIG_SH_SH7734_I2C) += sh_sh7734_i2c.o
drivers/i2c/adi_i2c.c deleted +0 -309

309 lines not on this page · raw message

Signature · 1 line
2.7.4
#2 lore raw

PATCH 1/16 i2c: adi_i2c: remove left-over Blackfin I2C driver

Hello Masahiro,

Am 26.10.2017 um 14:24 schrieb Masahiro Yamada:

Quoted 10 lines

This driver was used by Blackfin boards, but Blackfin support is gone. There is no user of this driver.

---

  drivers/i2c/Makefile  |   1 -
  drivers/i2c/adi_i2c.c | 309 --------------------------------------------------
  2 files changed, 310 deletions(-)

delete mode 100644 drivers/i2c/adi_i2c.c

Thanks!

bye,
Heiko

Signature · 3 lines
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: hs at denx.de
#3 lore raw

PATCH 1/16 i2c: adi_i2c: remove left-over Blackfin I2C driver

In reply to Masahiro Yamada
Quoted 5 lines · Masahiro Yamada

This driver was used by Blackfin boards, but Blackfin support is gone. There is no user of this driver.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20171027/a797cddc/attachment.sig>
#4 lore raw

PATCH 2/16 i2c: fti2c010: remove unused/unmaintained driver

In reply to Masahiro Yamada

CONFIG_SYS_I2C_FTI2C010 is not enabled by anyone.

Commit 2852709676c8 ("dm: i2c: Add a note to I2C drivers which need conversion") prompted to convert this driver to DM before June 2017, but not converted yet.

---

 drivers/i2c/Makefile   |   1 -
 drivers/i2c/fti2c010.c | 340 -------------------------------------------------
 drivers/i2c/fti2c010.h |  80 ------------
 3 files changed, 421 deletions(-)
 delete mode 100644 drivers/i2c/fti2c010.c
 delete mode 100644 drivers/i2c/fti2c010.h
drivers/i2c/Makefile +0 -1
index 121e4e2..3a8c61b 100644
@@ -20,7 +20,6 @@ obj-$(CONFIG_SYS_I2C_CADENCE) += i2c-cdns.o
 obj-$(CONFIG_SYS_I2C_DAVINCI) += davinci_i2c.o
 obj-$(CONFIG_SYS_I2C_DW) += designware_i2c.o
 obj-$(CONFIG_SYS_I2C_FSL) += fsl_i2c.o
-obj-$(CONFIG_SYS_I2C_FTI2C010) += fti2c010.o
 obj-$(CONFIG_SYS_I2C_IHS) += ihs_i2c.o
 obj-$(CONFIG_SYS_I2C_INTEL) += intel_i2c.o
 obj-$(CONFIG_SYS_I2C_IMX_LPI2C) += imx_lpi2c.o
drivers/i2c/fti2c010.c deleted +0 -340

340 lines not on this page · raw message

drivers/i2c/fti2c010.h deleted +0 -80

80 lines not on this page · raw message

Signature · 1 line
2.7.4
#5 lore raw

PATCH 2/16 i2c: fti2c010: remove unused/unmaintained driver

Hello Masahiro,

Am 26.10.2017 um 14:24 schrieb Masahiro Yamada:

Quoted 7 lines

CONFIG_SYS_I2C_FTI2C010 is not enabled by anyone.

Commit 2852709676c8 ("dm: i2c: Add a note to I2C drivers which need conversion") prompted to convert this driver to DM before June 2017, but not converted yet.

Quoted 8 lines

---

  drivers/i2c/Makefile   |   1 -
  drivers/i2c/fti2c010.c | 340 -------------------------------------------------
  drivers/i2c/fti2c010.h |  80 ------------
  3 files changed, 421 deletions(-)

delete mode 100644 drivers/i2c/fti2c010.c
delete mode 100644 drivers/i2c/fti2c010.h

Thanks!

bye,
Heiko

Signature · 3 lines
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: hs at denx.de
#6 lore raw

PATCH 2/16 i2c: fti2c010: remove unused/unmaintained driver

In reply to Masahiro Yamada
Quoted 8 lines · Masahiro Yamada

CONFIG_SYS_I2C_FTI2C010 is not enabled by anyone.

Commit 2852709676c8 ("dm: i2c: Add a note to I2C drivers which need conversion") prompted to convert this driver to DM before June 2017, but not converted yet.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20171027/b1b3ae71/attachment.sig>
#7 lore raw

PATCH 3/16 IMX: novena: remove CONFIG_I2C_MXC

In reply to Masahiro Yamada

This macro is defined, but not referenced by anyone.

I did not touch config_whitelist.txt - the CONFIG will be dropped by the next re-sync.

---

 include/configs/novena.h | 1 -
 1 file changed, 1 deletion(-)
include/configs/novena.h +0 -1
index ac00975..3acc8c6 100644
@@ -80,7 +80,6 @@
 #define CONFIG_SYS_I2C_MXC_I2C2		/* enable I2C bus 2 */
 #define CONFIG_SYS_I2C_MXC_I2C3		/* enable I2C bus 3 */
 #define CONFIG_I2C_MULTI_BUS
-#define CONFIG_I2C_MXC
 #define CONFIG_SYS_I2C_SPEED		100000
 #define CONFIG_SYS_SPD_BUS_NUM		0
 
Signature · 1 line
2.7.4
#8 lore raw

PATCH 3/16 IMX: novena: remove CONFIG_I2C_MXC

Hello Masahiro,

Am 26.10.2017 um 14:24 schrieb Masahiro Yamada:

Quoted 10 lines

This macro is defined, but not referenced by anyone.

I did not touch config_whitelist.txt - the CONFIG will be dropped by the next re-sync.

---

  include/configs/novena.h | 1 -
  1 file changed, 1 deletion(-)

Thanks!

bye,
Heiko

Signature · 3 lines
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: hs at denx.de
#9 lore raw

PATCH 3/16 IMX: novena: remove CONFIG_I2C_MXC

In reply to Masahiro Yamada
Quoted 7 lines · Masahiro Yamada

This macro is defined, but not referenced by anyone.

I did not touch config_whitelist.txt - the CONFIG will be dropped by the next re-sync.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20171027/15f1cfca/attachment.sig>
#10 lore raw

PATCH 4/16 omap4: sdp4430: remove CONFIG_4430SDP

In reply to Masahiro Yamada

This macro is defined, but not referenced by anyone.

I did not touch config_whitelist.txt - the CONFIG will be dropped by the next re-sync.

---

 include/configs/omap4_sdp4430.h | 1 -
 1 file changed, 1 deletion(-)
include/configs/omap4_sdp4430.h +0 -1
index c89bd13..c7f7131 100644
@@ -16,7 +16,6 @@
 /*
  * High Level Configuration Options
  */
-#define CONFIG_4430SDP		1	/* working with SDP */
 #define CONFIG_MACH_TYPE	MACH_TYPE_OMAP_4430SDP
 
 #include <configs/ti_omap4_common.h>
Signature · 1 line
2.7.4
#11 lore raw

PATCH 4/16 omap4: sdp4430: remove CONFIG_4430SDP

Quoted 6 lines · Masahiro Yamada

This macro is defined, but not referenced by anyone.

I did not touch config_whitelist.txt - the CONFIG will be dropped by the next re-sync.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20171027/7e19e8ee/attachment.sig>
#12 lore raw

PATCH 5/16 mpc85xx: freescale: remove CONFIG_ADDR_STREAMING

In reply to Masahiro Yamada

This macro is defined, but not referenced by anyone.

I did not touch config_whitelist.txt - the CONFIG will be dropped by the next re-sync.

---

 include/configs/C29XPCIE.h | 1 -
 include/configs/P1010RDB.h | 1 -
 2 files changed, 2 deletions(-)
include/configs/C29XPCIE.h +0 -1
index d6982d3..7e805ec 100644
@@ -109,7 +109,6 @@
 #define CONFIG_L2_CACHE			/* toggle L2 cache */
 #define CONFIG_BTB			/* toggle branch predition */
 
-#define CONFIG_ADDR_STREAMING		/* toggle addr streaming */
 
 #define CONFIG_ENABLE_36BIT_PHYS
 
include/configs/P1010RDB.h +0 -1
index 13edd0a..adb4a18 100644
@@ -205,7 +205,6 @@
 #define CONFIG_L2_CACHE			/* toggle L2 cache */
 #define CONFIG_BTB			/* toggle branch predition */
 
-#define CONFIG_ADDR_STREAMING		/* toggle addr streaming */
 
 #define CONFIG_ENABLE_36BIT_PHYS
 
Signature · 1 line
2.7.4
#13 lore raw

PATCH 5/16 mpc85xx: freescale: remove CONFIG_ADDR_STREAMING

Quoted 30 lines · Masahiro Yamada

This macro is defined, but not referenced by anyone.

I did not touch config_whitelist.txt - the CONFIG will be dropped by the next re-sync.

---

 include/configs/C29XPCIE.h | 1 -
 include/configs/P1010RDB.h | 1 -
 2 files changed, 2 deletions(-)
include/configs/C29XPCIE.h +0 -1
index d6982d3..7e805ec 100644
@@ -109,7 +109,6 @@
 #define CONFIG_L2_CACHE			/* toggle L2 cache */
 #define CONFIG_BTB			/* toggle branch predition */
 
-#define CONFIG_ADDR_STREAMING		/* toggle addr streaming */
 
 #define CONFIG_ENABLE_36BIT_PHYS
 
include/configs/P1010RDB.h +0 -0
index 13edd0a..adb4a18 100644

include/configs/P1010RDB.h line 210

Quoted 7 lines
include/configs/P1010RDB.h +0 -1
@@ -205,7 +205,6 @@
 #define CONFIG_L2_CACHE			/* toggle L2 cache */
 #define CONFIG_BTB			/* toggle branch predition */
 
-#define CONFIG_ADDR_STREAMING		/* toggle addr streaming */
 
 #define CONFIG_ENABLE_36BIT_PHYS
 
#14 lore raw

PATCH 5/16 mpc85xx: freescale: remove CONFIG_ADDR_STREAMING

In reply to Masahiro Yamada
Quoted 7 lines · Masahiro Yamada

This macro is defined, but not referenced by anyone.

I did not touch config_whitelist.txt - the CONFIG will be dropped by the next re-sync.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20171027/4720e6ad/attachment.sig>
#15 lore raw

PATCH 6/16 sh7734: remove CONFIG_553MHZ_MODE

In reply to Masahiro Yamada

This macro only appears in commented-out lines. It is not referenced by anyone.

I did not touch config_whitelist.txt - the CONFIG will be dropped by the next re-sync.

---

 include/configs/ap_sh4a_4a.h | 1 -
 include/configs/r0p7734.h    | 1 -
 2 files changed, 2 deletions(-)
include/configs/ap_sh4a_4a.h +0 -1
index ab3d40c..717ec80 100644
@@ -12,7 +12,6 @@
 #define CONFIG_CPU_SH7734	1
 #define CONFIG_AP_SH4A_4A	1
 #define CONFIG_400MHZ_MODE	1
-/* #define CONFIG_533MHZ_MODE	1 */
 
 #define CONFIG_SYS_TEXT_BASE 0x8BFC0000
 
include/configs/r0p7734.h +0 -1
index a31c6e2..1fef8b5 100644
@@ -12,7 +12,6 @@
 #define CONFIG_CPU_SH7734	1
 #define CONFIG_R0P7734		1
 #define CONFIG_400MHZ_MODE	1
-/* #define CONFIG_533MHZ_MODE	1 */
 
 #define CONFIG_SYS_TEXT_BASE 0x8FFC0000
 
Signature · 1 line
2.7.4
#16 lore raw

PATCH 6/16 sh7734: remove CONFIG_553MHZ_MODE

Quoted 7 lines · Masahiro Yamada

This macro only appears in commented-out lines. It is not referenced by anyone.

I did not touch config_whitelist.txt - the CONFIG will be dropped by the next re-sync.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20171027/ba5f9588/attachment.sig>
#17 lore raw

PATCH 7/16 ARC: remove CONFIG_ARC_UART_BASE

In reply to Masahiro Yamada

This macro is defined, but not referenced by anyone.

I did not touch config_whitelist.txt - the CONFIG will be dropped by the next re-sync.

---

 include/configs/nsim.h | 1 -
 1 file changed, 1 deletion(-)
include/configs/nsim.h +0 -1
index c086de6..c4775e5 100644
@@ -30,7 +30,6 @@
  *
  */
 #define CONFIG_ARC_SERIAL
-#define CONFIG_ARC_UART_BASE		0xC0FC1000
 
 /*
  * Command line configuration
Signature · 1 line
2.7.4
#18 lore raw

PATCH 7/16 ARC: remove CONFIG_ARC_UART_BASE

Quoted 6 lines · Masahiro Yamada

This macro is defined, but not referenced by anyone.

I did not touch config_whitelist.txt - the CONFIG will be dropped by the next re-sync.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20171027/f3c02c56/attachment.sig>
#19 lore raw

PATCH 8/16 SOCFPGA: remove CONFIG_AUTONEG_TIMEOUT

In reply to Masahiro Yamada

This macro is defined, but not referenced by anyone.

I did not touch config_whitelist.txt - the CONFIG will be dropped by the next re-sync.

---

 include/configs/socfpga_common.h | 1 -
 1 file changed, 1 deletion(-)
include/configs/socfpga_common.h +0 -1
index 7b5417a..7281bda 100644
@@ -94,7 +94,6 @@
 #if defined(CONFIG_CMD_NET) && !defined(CONFIG_SOCFPGA_VIRTUAL_TARGET)
 #define CONFIG_DW_ALTDESCRIPTOR
 #define CONFIG_MII
-#define CONFIG_AUTONEG_TIMEOUT		(15 * CONFIG_SYS_HZ)
 #endif
 
 /*
Signature · 1 line
2.7.4
#20 lore raw

PATCH 8/16 SOCFPGA: remove CONFIG_AUTONEG_TIMEOUT

Quoted 6 lines · Masahiro Yamada

This macro is defined, but not referenced by anyone.

I did not touch config_whitelist.txt - the CONFIG will be dropped by the next re-sync.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20171027/926c1646/attachment.sig>
#21 lore raw

PATCH 9/16 omap4: sdp4430: match the #endif comment to #ifdef

In reply to Masahiro Yamada

This comment creates a wrong entry in config_whitelist.txt.

I did not touch config_whitelist.txt - the CONFIG will be dropped by the next re-sync.

---

 board/ti/sdp4430/cmd_bat.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
board/ti/sdp4430/cmd_bat.c +1 -1
index 7e8dbb1..4c7beeb 100644
@@ -39,4 +39,4 @@ U_BOOT_CMD(
 	"bat startcharge - start charging via USB\n"
 	"bat stopcharge - stop charging\n"
 );
-#endif /* CONFIG_BAT_CMD */
+#endif /* CONFIG_CMD_BAT */
Signature · 1 line
2.7.4
#22 lore raw

PATCH 9/16 omap4: sdp4430: match the #endif comment to #ifdef

Quoted 6 lines · Masahiro Yamada

This comment creates a wrong entry in config_whitelist.txt.

I did not touch config_whitelist.txt - the CONFIG will be dropped by the next re-sync.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20171027/b7bf30b5/attachment.sig>
#23 lore raw

PATCH 10/16 exynos: remove CONFIG_CORE_COUNT

In reply to Masahiro Yamada

This macro is defined, but not referenced by anyone.

I did not touch config_whitelist.txt - the CONFIG will be dropped by the next re-sync.

---

 include/configs/exynos5420-common.h | 5 -----
 include/configs/exynos7420-common.h | 3 ---
 2 files changed, 8 deletions(-)
include/configs/exynos5420-common.h +0 -5
index 79e6d13..ae9ead5 100644
@@ -43,11 +43,6 @@
 #define CONFIG_LOWPOWER_FLAG		0x02020028
 #define CONFIG_LOWPOWER_ADDR		0x0202002C
 
-/*
- * Number of CPUs available
- */
-#define CONFIG_CORE_COUNT		0x8
-
 #define CONFIG_USB_XHCI_EXYNOS
 
 #endif	/* __CONFIG_EXYNOS5420_H */
include/configs/exynos7420-common.h +0 -3
index 0aeec39..4e10471 100644
@@ -43,9 +43,6 @@
 #define CONFIG_IRAM_END			(CONFIG_IRAM_BASE + CONFIG_IRAM_SIZE)
 #define CPU_RELEASE_ADDR		secondary_boot_addr
 
-/* Number of CPUs available */
-#define CONFIG_CORE_COUNT		0x8
-
 /* select serial console configuration */
 
 #define CONFIG_SYS_LOAD_ADDR		(CONFIG_SYS_SDRAM_BASE + 0x3E00000)
Signature · 1 line
2.7.4
#24 lore raw

PATCH 10/16 exynos: remove CONFIG_CORE_COUNT

Quoted 34 lines · Masahiro Yamada

This macro is defined, but not referenced by anyone.

I did not touch config_whitelist.txt - the CONFIG will be dropped by the next re-sync.

---

 include/configs/exynos5420-common.h | 5 -----
 include/configs/exynos7420-common.h | 3 ---
 2 files changed, 8 deletions(-)
include/configs/exynos5420-common.h +0 -5
index 79e6d13..ae9ead5 100644
@@ -43,11 +43,6 @@
 #define CONFIG_LOWPOWER_FLAG		0x02020028
 #define CONFIG_LOWPOWER_ADDR		0x0202002C
 
-/*
- * Number of CPUs available
- */
-#define CONFIG_CORE_COUNT		0x8
-
 #define CONFIG_USB_XHCI_EXYNOS
 
 #endif	/* __CONFIG_EXYNOS5420_H */
include/configs/exynos7420-common.h +0 -0
index 0aeec39..4e10471 100644

include/configs/exynos7420-common.h line 48

Quoted 9 lines
include/configs/exynos7420-common.h +0 -3
@@ -43,9 +43,6 @@
 #define CONFIG_IRAM_END			(CONFIG_IRAM_BASE + CONFIG_IRAM_SIZE)
 #define CPU_RELEASE_ADDR		secondary_boot_addr
 
-/* Number of CPUs available */
-#define CONFIG_CORE_COUNT		0x8
-
 /* select serial console configuration */
 
 #define CONFIG_SYS_LOAD_ADDR		(CONFIG_SYS_SDRAM_BASE + 0x3E00000)

Thanks,
Minkyu Kang.

#25 lore raw

PATCH 10/16 exynos: remove CONFIG_CORE_COUNT

In reply to Masahiro Yamada
Quoted 7 lines · Masahiro Yamada

This macro is defined, but not referenced by anyone.

I did not touch config_whitelist.txt - the CONFIG will be dropped by the next re-sync.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20171027/3514d7f5/attachment.sig>
#26 lore raw

PATCH 11/16 MX28: remove CONFIG_DEFAULT_SPI_CS

In reply to Masahiro Yamada

This macro is defined, but not referenced by anyone.

I did not touch config_whitelist.txt - the CONFIG will be dropped by the next re-sync.

---

 include/configs/bg0900.h | 1 -
 include/configs/m28evk.h | 1 -
 2 files changed, 2 deletions(-)
include/configs/bg0900.h +0 -1
index 3b65416..03700b0 100644
@@ -27,7 +27,6 @@
 /* SPI */
 #ifdef CONFIG_CMD_SPI
 #define CONFIG_DEFAULT_SPI_BUS		2
-#define CONFIG_DEFAULT_SPI_CS		0
 #define CONFIG_DEFAULT_SPI_MODE		SPI_MODE_0
 
 /* SPI FLASH */
include/configs/m28evk.h +0 -1
index 4fcf480..b5ba6b4 100644
@@ -72,7 +72,6 @@
 /* SPI */
 #ifdef CONFIG_CMD_SPI
 #define CONFIG_DEFAULT_SPI_BUS		2
-#define CONFIG_DEFAULT_SPI_CS		0
 #define CONFIG_DEFAULT_SPI_MODE		SPI_MODE_0
 
 /* SPI FLASH */
Signature · 1 line
2.7.4
#27 lore raw

PATCH 11/16 MX28: remove CONFIG_DEFAULT_SPI_CS

Quoted 6 lines · Masahiro Yamada

This macro is defined, but not referenced by anyone.

I did not touch config_whitelist.txt - the CONFIG will be dropped by the next re-sync.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20171027/b700a0ed/attachment.sig>
#28 lore raw

PATCH 12/16 AM33XX: etamin: remove CONFIG_DFU_MTD

In reply to Masahiro Yamada

This macro is defined, but not referenced by anyone.

I did not touch config_whitelist.txt - the CONFIG will be dropped by the next re-sync.

---

 include/configs/etamin.h | 1 -
 1 file changed, 1 deletion(-)
include/configs/etamin.h +0 -1
index c9584ad..7bd2c4a 100644
@@ -120,7 +120,6 @@
 
 
 
-#define CONFIG_DFU_MTD
 #undef COMMON_ENV_DFU_ARGS
 #define COMMON_ENV_DFU_ARGS	"dfu_args=run bootargs_defaults;" \
 				"setenv bootargs ${bootargs};" \
Signature · 1 line
2.7.4
#29 lore raw

PATCH 12/16 AM33XX: etamin: remove CONFIG_DFU_MTD

Quoted 6 lines · Masahiro Yamada

This macro is defined, but not referenced by anyone.

I did not touch config_whitelist.txt - the CONFIG will be dropped by the next re-sync.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20171027/f53c155a/attachment.sig>
#30 lore raw

PATCH 13/16 mpc85xx: xpedite550x: remove CONFIG_FDT_FIXUP_PCI_IRQ

In reply to Masahiro Yamada

This macro is defined, but not referenced by anyone.

I did not touch config_whitelist.txt - the CONFIG will be dropped by the next re-sync.

---

 include/configs/xpedite550x.h | 1 -
 1 file changed, 1 deletion(-)
include/configs/xpedite550x.h +0 -1
index b433224..6c0981b 100644
@@ -204,7 +204,6 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
 #define CONFIG_LOADS_ECHO		1	/* echo on for serial download */
 #define CONFIG_SYS_LOADS_BAUD_CHANGE	1	/* allow baudrate change */
 
-#define CONFIG_FDT_FIXUP_PCI_IRQ	1
 
 /*
  * I2C
Signature · 1 line
2.7.4
#31 lore raw

PATCH 13/16 mpc85xx: xpedite550x: remove CONFIG_FDT_FIXUP_PCI_IRQ

Quoted 6 lines · Masahiro Yamada

This macro is defined, but not referenced by anyone.

I did not touch config_whitelist.txt - the CONFIG will be dropped by the next re-sync.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20171027/0e6eec36/attachment.sig>
#32 lore raw

PATCH 14/16 net: remove CONFIG_NET_MULTI

In reply to Masahiro Yamada

This macro is defined, but not referenced by anyone.

I did not touch config_whitelist.txt - the CONFIG will be dropped by the next re-sync.

---

 include/configs/am335x_shc.h     | 1 -
 include/configs/blanche.h        | 1 -
 include/configs/cm_t43.h         | 1 -
 include/configs/cyrus.h          | 1 -
 include/configs/ls1012aqds.h     | 1 -
 include/configs/ls1012ardb.h     | 1 -
 include/configs/ls1043a_common.h | 1 -
 include/configs/nsa310s.h        | 1 -
 include/configs/pengwyn.h        | 3 ---
 include/configs/salvator-x.h     | 1 -
 include/configs/ulcb.h           | 1 -
 include/configs/xilinx_zynqmp.h  | 1 -
 12 files changed, 14 deletions(-)
include/configs/am335x_shc.h +0 -1
index 2eeb3d1..32439f5 100644
@@ -266,7 +266,6 @@
 #define CONFIG_BOOTP_GATEWAY
 #define CONFIG_BOOTP_SUBNETMASK
 #define CONFIG_NET_RETRY_COUNT         10
-#define CONFIG_NET_MULTI
 #define CONFIG_PHY_ADDR			0
 #define CONFIG_PHY_SMSC
 
include/configs/blanche.h +0 -1
index 2b18033..ce7c716 100755
@@ -65,7 +65,6 @@
 #undef  CONFIG_CMD_SPI
 #endif
 
-#define CONFIG_NET_MULTI
 
 /* Board Clock */
 #define RMOBILE_XTAL_CLK	20000000u
include/configs/cm_t43.h +0 -1
index 7012a95..a222491 100644
@@ -50,7 +50,6 @@
 #define CONFIG_BOOTP_DEFAULT
 #define CONFIG_BOOTP_SEND_HOSTNAME
 #define CONFIG_BOOTP_GATEWAY
-#define CONFIG_NET_MULTI
 #define CONFIG_PHY_ATHEROS
 #define CONFIG_SYS_RX_ETH_BUFFER	64
 
include/configs/cyrus.h +0 -1
index 13e7c71..1b20d85 100644
@@ -370,7 +370,6 @@
 
 #ifdef CONFIG_PCI
 #define CONFIG_PCI_INDIRECT_BRIDGE
-#define CONFIG_NET_MULTI
 
 #define CONFIG_PCI_SCAN_SHOW		/* show pci devices on startup */
 #endif	/* CONFIG_PCI */
include/configs/ls1012aqds.h +0 -1
index b3121d2..2899ff1 100644
@@ -146,7 +146,6 @@
 
 #define CONFIG_PCIE1		/* PCIE controller 1 */
 
-#define CONFIG_NET_MULTI
 #define CONFIG_PCI_SCAN_SHOW
 
 #define CONFIG_CMD_MEMINFO
include/configs/ls1012ardb.h +0 -1
index e9edcd2..c720a8d 100644
@@ -62,7 +62,6 @@
 
 #define CONFIG_PCIE1		/* PCIE controller 1 */
 
-#define CONFIG_NET_MULTI
 #define CONFIG_PCI_SCAN_SHOW
 
 #define CONFIG_CMD_MEMINFO
include/configs/ls1043a_common.h +0 -1
index a297134..a24d006 100644
@@ -165,7 +165,6 @@
 #define CONFIG_PCIE3		/* PCIE controller 3 */
 
 #ifdef CONFIG_PCI
-#define CONFIG_NET_MULTI
 #define CONFIG_PCI_SCAN_SHOW
 #endif
 #endif
include/configs/nsa310s.h +0 -1
index 896c329..9c84acc 100644
@@ -67,7 +67,6 @@
 /* Ethernet driver configuration */
 #ifdef CONFIG_CMD_NET
 #define CONFIG_NETCONSOLE
-#define CONFIG_NET_MULTI
 #define CONFIG_MVGBE_PORTS	{1, 0}	/* enable port 0 only */
 #define CONFIG_PHY_BASE_ADR	1
 #define CONFIG_RESET_PHY_R
include/configs/pengwyn.h +0 -3
index 570c375..2fa280e 100644
@@ -182,9 +182,6 @@
 /* Disable CPSW SPL support so we fit within the 101KiB limit. */
 #endif
 
-/* CPSW ethernet */
-#define CONFIG_NET_MULTI
-
 /* Network */
 #define CONFIG_PHY_RESET	1
 #define CONFIG_PHY_NATSEMI
include/configs/salvator-x.h +0 -1
index 5bf5731..77a12de 100644
@@ -25,7 +25,6 @@
 /* use to RPC(SPI Multi I/O Bus Controller) */
 
 /* Ethernet RAVB */
-#define CONFIG_NET_MULTI
 #define CONFIG_BITBANGMII
 #define CONFIG_BITBANGMII_MULTI
 
include/configs/ulcb.h +0 -1
index cce2456..b54e63c 100644
@@ -33,7 +33,6 @@
 /* use to RPC(SPI Multi I/O Bus Controller) */
 
 /* Ethernet RAVB */
-#define CONFIG_NET_MULTI
 #define CONFIG_PHY_MICREL
 #define CONFIG_BITBANGMII
 #define CONFIG_BITBANGMII_MULTI
include/configs/xilinx_zynqmp.h +0 -1
index 1399dfd..8526ba0 100644
@@ -131,7 +131,6 @@
 
 /* Ethernet driver */
 #if defined(CONFIG_ZYNQ_GEM)
-# define CONFIG_NET_MULTI
 # define CONFIG_MII
 # define CONFIG_SYS_FAULT_ECHO_LINK_DOWN
 # define CONFIG_PHY_MARVELL
Signature · 1 line
2.7.4
#33 lore raw

PATCH 14/16 net: remove CONFIG_NET_MULTI

Quoted 8 lines · Masahiro Yamada

This macro is defined, but not referenced by anyone.

I did not touch config_whitelist.txt - the CONFIG will be dropped by the next re-sync.

---

Quoted 14 lines
 include/configs/am335x_shc.h     | 1 -
 include/configs/blanche.h        | 1 -
 include/configs/cm_t43.h         | 1 -
 include/configs/cyrus.h          | 1 -
 include/configs/ls1012aqds.h     | 1 -
 include/configs/ls1012ardb.h     | 1 -
 include/configs/ls1043a_common.h | 1 -
 include/configs/nsa310s.h        | 1 -
 include/configs/pengwyn.h        | 3 ---
 include/configs/salvator-x.h     | 1 -
 include/configs/ulcb.h           | 1 -
 include/configs/xilinx_zynqmp.h  | 1 -
 12 files changed, 14 deletions(-)
#34 lore raw

PATCH 14/16 net: remove CONFIG_NET_MULTI

In reply to Masahiro Yamada
Quoted 7 lines · Masahiro Yamada

This macro is defined, but not referenced by anyone.

I did not touch config_whitelist.txt - the CONFIG will be dropped by the next re-sync.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20171027/c72577b4/attachment.sig>
#35 lore raw

PATCH 15/16 exynos: remove CONFIG_LCD_MENU_BOARD

In reply to Masahiro Yamada

This macro is defined, but not referenced by anyone.

I did not touch config_whitelist.txt - the CONFIG will be dropped by the next re-sync.

---

 include/configs/s5pc210_universal.h | 1 -
 include/configs/trats.h             | 1 -
 include/configs/trats2.h            | 1 -
 3 files changed, 3 deletions(-)
include/configs/s5pc210_universal.h +0 -1
index 9859f30..7ecaefb 100644
@@ -170,7 +170,6 @@ int universal_spi_read(void);
 
 /* Download menu - Samsung common */
 #define CONFIG_LCD_MENU
-#define CONFIG_LCD_MENU_BOARD
 
 /* Download menu - definitions for check keys */
 #ifndef __ASSEMBLY__
include/configs/trats.h +0 -1
index 5b33a3b..a34c349 100644
@@ -180,7 +180,6 @@
 
 /* Download menu - Samsung common */
 #define CONFIG_LCD_MENU
-#define CONFIG_LCD_MENU_BOARD
 
 /* Download menu - definitions for check keys */
 #ifndef __ASSEMBLY__
include/configs/trats2.h +0 -1
index 95c011f..6b371f4 100644
@@ -162,7 +162,6 @@
 
 /* Download menu - Samsung common */
 #define CONFIG_LCD_MENU
-#define CONFIG_LCD_MENU_BOARD
 
 /* Download menu - definitions for check keys */
 #ifndef __ASSEMBLY__
Signature · 1 line
2.7.4
#36 lore raw

PATCH 15/16 exynos: remove CONFIG_LCD_MENU_BOARD

Quoted 43 lines · Masahiro Yamada

This macro is defined, but not referenced by anyone.

I did not touch config_whitelist.txt - the CONFIG will be dropped by the next re-sync.

---

 include/configs/s5pc210_universal.h | 1 -
 include/configs/trats.h             | 1 -
 include/configs/trats2.h            | 1 -
 3 files changed, 3 deletions(-)
include/configs/s5pc210_universal.h +0 -1
index 9859f30..7ecaefb 100644
@@ -170,7 +170,6 @@ int universal_spi_read(void);
 
 /* Download menu - Samsung common */
 #define CONFIG_LCD_MENU
-#define CONFIG_LCD_MENU_BOARD
 
 /* Download menu - definitions for check keys */
 #ifndef __ASSEMBLY__
include/configs/trats.h +0 -1
index 5b33a3b..a34c349 100644
@@ -180,7 +180,6 @@
 
 /* Download menu - Samsung common */
 #define CONFIG_LCD_MENU
-#define CONFIG_LCD_MENU_BOARD
 
 /* Download menu - definitions for check keys */
 #ifndef __ASSEMBLY__
include/configs/trats2.h +0 -0
index 95c011f..6b371f4 100644

include/configs/trats2.h line 167

Quoted 7 lines
include/configs/trats2.h +0 -1
@@ -162,7 +162,6 @@
 
 /* Download menu - Samsung common */
 #define CONFIG_LCD_MENU
-#define CONFIG_LCD_MENU_BOARD
 
 /* Download menu - definitions for check keys */
 #ifndef __ASSEMBLY__

Thanks,
Minkyu Kang.

#37 lore raw

PATCH 15/16 exynos: remove CONFIG_LCD_MENU_BOARD

In reply to Masahiro Yamada
Quoted 7 lines · Masahiro Yamada

This macro is defined, but not referenced by anyone.

I did not touch config_whitelist.txt - the CONFIG will be dropped by the next re-sync.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20171027/46470339/attachment.sig>
#38 lore raw

PATCH 16/16 AT91: remove CONFIG_PMECC_INDEX_TABLE_OFFSET

In reply to Masahiro Yamada

This macro is defined, but not referenced by anyone.

I did not touch config_whitelist.txt - the CONFIG will be dropped by the next re-sync.

---

 include/configs/at91sam9n12ek.h | 1 -
 1 file changed, 1 deletion(-)
include/configs/at91sam9n12ek.h +0 -1
index 111a7dc..67115f9 100644
@@ -72,7 +72,6 @@
 #define CONFIG_ATMEL_NAND_HW_PMECC
 #define CONFIG_PMECC_CAP		2
 #define CONFIG_PMECC_SECTOR_SIZE	512
-#define CONFIG_PMECC_INDEX_TABLE_OFFSET	0x8000
 
 #define CONFIG_MTD_PARTITIONS
 #define CONFIG_MTD_DEVICE
Signature · 1 line
2.7.4
#39 lore raw

PATCH 16/16 AT91: remove CONFIG_PMECC_INDEX_TABLE_OFFSET

Quoted 6 lines · Masahiro Yamada

This macro is defined, but not referenced by anyone.

I did not touch config_whitelist.txt - the CONFIG will be dropped by the next re-sync.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20171027/8a7833c0/attachment.sig>
#40 lore raw

cover Remove two unused drivers and unused CONFIG options

In reply to Masahiro Yamada
Quoted 7 lines · Masahiro Yamada

The first two deletes unused i2c drivers.

The rest of the series delete unreferenced CONFIG options.

Today, I volunteered to delete 20 CONFIGs or so,
but probably I will not do this again
since it was time-consuming, painful work...

It is hard work, thanks for doing it!

Heiko, do you want to take the first 3 or just ack them and I'll take the series? Thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20171026/0185b3e0/attachment.sig>
#41 lore raw

cover Remove two unused drivers and unused CONFIG options

Hello Tom,

Am 26.10.2017 um 16:20 schrieb Tom Rini:

Quoted 6 lines · Masahiro Yamada
Quoted 5 lines

The first two deletes unused i2c drivers.

The rest of the series delete unreferenced CONFIG options.

Quoted 8 lines
Quoted 3 lines

Today, I volunteered to delete 20 CONFIGs or so,
but probably I will not do this again
since it was time-consuming, painful work...

It is hard work, thanks for doing it!

Heiko, do you want to take the first 3 or just ack them and I'll take the series? Thanks!

I acked them, so please pick them up when you pick up the hole series, thanks!

bye,
Heiko

Signature · 3 lines
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: hs at denx.de
#42 lore raw

cover Remove two unused drivers and unused CONFIG options

In reply to Tom Rini

2017-10-26 23:20 GMT+09:00 Tom Rini <[email protected]>:

Quoted 6 lines · Masahiro Yamada
Quoted 5 lines

The first two deletes unused i2c drivers.

The rest of the series delete unreferenced CONFIG options.

Quoted 9 lines
Quoted 3 lines

Today, I volunteered to delete 20 CONFIGs or so,
but probably I will not do this again
since it was time-consuming, painful work...

It is hard work, thanks for doing it!

Heiko, do you want to take the first 3 or just ack them and I'll take the series? Thanks!

Probably it will be possible to write a script
to generate a list of unreferenced CONFIGs.

I tried to do that today, but
I ended up with a crappy scripts that produces various false positives.
(at least, I see hundreds of _suspicious_ options.)

Finally, I double-checked with my eyes and buildman.

Signature · 2 lines
Best Regards
Masahiro Yamada