Skip to content

Commit

Permalink
m68k: Drop unreferenced CONFIG_* defines
Browse files Browse the repository at this point in the history
The following config symbols are only defined once and never referenced
anywhere else:

CONFIG_AMCORE
CONFIG_ASTRO5373L
CONFIG_M52277EVB
CONFIG_M5253DEMO
CONFIG_M5253EVBE
CONFIG_M5275EVB
CONFIG_M54418TWR
CONFIG_STMARK2

Most of them are config symbols named after the respective boards which
seems to have been a standard practice at some point.

Signed-off-by: Tuomas Tynkkynen <[email protected]>
  • Loading branch information
dezgeg authored and trini committed Jan 19, 2018
1 parent 5570173 commit e6e5ecc
Show file tree
Hide file tree
Showing 12 changed files with 0 additions and 22 deletions.
1 change: 0 additions & 1 deletion board/freescale/m52277evb/README
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ Changed files:
1.2 Configuration settings for M52277EVB Development Board
CONFIG_MCF5227x -- define for all MCF5227x CPUs
CONFIG_M52277 -- define for all Freescale MCF52277 CPUs
CONFIG_M52277EVB -- define for M52277EVB board

CONFIG_MCFUART -- define to use common CF Uart driver
CONFIG_SYS_UART_PORT -- define UART port number, start with 0, 1 and 2
Expand Down
1 change: 0 additions & 1 deletion board/freescale/m5253evbe/README
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ Created 06/05/2007
3.1 Explanation on NEW definitions in include/configs/M5253EVBE.h
CONFIG_MCF52x2 Processor family
CONFIG_MCF5253 MCF5253 specific
CONFIG_M5253EVBE Amadeus Plus board specific
CONFIG_SYS_CLK Define Amadeus Plus CPU Clock
CONFIG_SYS_MBAR MBAR base address
CONFIG_SYS_MBAR2 MBAR2 base address
Expand Down
1 change: 0 additions & 1 deletion doc/README.m54418twr
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ Changed files:
1.2 Configuration settings for M54418TWR Development Board
CONFIG_MCF5441x -- define for all MCF5441x CPUs
CONFIG_M54418 -- define for all Freescale MCF54418 CPUs
CONFIG_M54418TWR -- define for M54418TWR board

CONFIG_MCFUART -- define to use common CF Uart driver
CONFIG_SYS_UART_PORT -- define UART port number, start with 0, 1 and 2
Expand Down
1 change: 0 additions & 1 deletion include/configs/M52277EVB.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
* High Level Configuration Options
* (easy to change)
*/
#define CONFIG_M52277EVB /* M52277EVB board */

#define CONFIG_MCFUART
#define CONFIG_SYS_UART_PORT (0)
Expand Down
2 changes: 0 additions & 2 deletions include/configs/M5253DEMO.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
#ifndef _M5253DEMO_H
#define _M5253DEMO_H

#define CONFIG_M5253DEMO /* define board type */

#define CONFIG_MCFTMR

#define CONFIG_MCFUART
Expand Down
2 changes: 0 additions & 2 deletions include/configs/M5253EVBE.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
#ifndef _M5253EVBE_H
#define _M5253EVBE_H

#define CONFIG_M5253EVBE /* define board type */

#define CONFIG_MCFTMR

#define CONFIG_MCFUART
Expand Down
1 change: 0 additions & 1 deletion include/configs/M5275EVB.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
* High Level Configuration Options
* (easy to change)
*/
#define CONFIG_M5275EVB /* define board type */

#define CONFIG_MCFTMR

Expand Down
1 change: 0 additions & 1 deletion include/configs/M54418TWR.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
* High Level Configuration Options
* (easy to change)
*/
#define CONFIG_M54418TWR /* M54418TWR board */

#define CONFIG_MCFUART
#define CONFIG_SYS_UART_PORT (0)
Expand Down
1 change: 0 additions & 1 deletion include/configs/amcore.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#ifndef __AMCORE_CONFIG_H
#define __AMCORE_CONFIG_H

#define CONFIG_AMCORE
#define CONFIG_HOSTNAME AMCORE

#define CONFIG_MCFTMR
Expand Down
2 changes: 0 additions & 2 deletions include/configs/astro_mcf5373l.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@
#error No card type defined!
#endif

#define CONFIG_ASTRO5373L /* define board type */

/* Command line configuration */
/*
* CONFIG_RAM defines if u-boot is loaded via BDM (or started from
Expand Down
1 change: 0 additions & 1 deletion include/configs/stmark2.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#ifndef __STMARK2_CONFIG_H
#define __STMARK2_CONFIG_H

#define CONFIG_STMARK2
#define CONFIG_HOSTNAME stmark2

#define CONFIG_MCFUART
Expand Down
8 changes: 0 additions & 8 deletions scripts/config_whitelist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ CONFIG_AM335X_USB0_MODE
CONFIG_AM335X_USB1
CONFIG_AM335X_USB1_MODE
CONFIG_AM437X_USB2PHY2_HOST
CONFIG_AMCORE
CONFIG_ANDES_PCU
CONFIG_ANDES_PCU_BASE
CONFIG_APBH_DMA
Expand Down Expand Up @@ -72,7 +71,6 @@ CONFIG_ARM_PL180_MMCI_BASE
CONFIG_ARM_PL180_MMCI_CLOCK_FREQ
CONFIG_ARM_THUMB
CONFIG_ARP_TIMEOUT
CONFIG_ASTRO5373L
CONFIG_ASTRO_COFDMDUOS2
CONFIG_ASTRO_TWIN7S2
CONFIG_ASTRO_V512
Expand Down Expand Up @@ -1275,12 +1273,7 @@ CONFIG_LSXHL
CONFIG_LYNXKDI
CONFIG_M41T94_SPI_CS
CONFIG_M520x
CONFIG_M52277EVB
CONFIG_M5253DEMO
CONFIG_M5253EVBE
CONFIG_M5275EVB
CONFIG_M5301x
CONFIG_M54418TWR
CONFIG_M54451EVB
CONFIG_M54455EVB
CONFIG_MACB0_PHY
Expand Down Expand Up @@ -2165,7 +2158,6 @@ CONFIG_STM32_GPIO
CONFIG_STM32_HSE_HZ
CONFIG_STM32_HZ
CONFIG_STM32_SERIAL
CONFIG_STMARK2
CONFIG_STRIDER
CONFIG_STRIDER_CON
CONFIG_STRIDER_CON_DP
Expand Down

0 comments on commit e6e5ecc

Please sign in to comment.