From 1ac8e0709e8da3277b6c49bcaf7282422d1eac60 Mon Sep 17 00:00:00 2001
From: York Sun <york.sun@nxp.com>
Date: Wed, 16 Nov 2016 11:15:39 -0800
Subject: [PATCH] powerpc: MPC8540ADS: Remove macro CONFIG_MPC8540ADS

This macro is no longer used.

Signed-off-by: York Sun <york.sun@nxp.com>
---
 doc/README.mpc85xxads        | 1 -
 include/configs/MPC8540ADS.h | 1 -
 scripts/config_whitelist.txt | 1 -
 3 files changed, 3 deletions(-)

diff --git a/doc/README.mpc85xxads b/doc/README.mpc85xxads
index 4a9aeb3deb..d584b60bbd 100644
--- a/doc/README.mpc85xxads
+++ b/doc/README.mpc85xxads
@@ -137,7 +137,6 @@ Updated 13-July-2004 Jon Loeliger
     CONFIG_E500		    BOOKE e500 family(Motorola)
     CONFIG_MPC85xx	    MPC8540,MPC8560 and their derivatives
     CONFIG_ARCH_MPC8540	    MPC8540 specific
-    CONFIG_MPC8540ADS	    MPC8540ADS board specific
     CONFIG_MPC8560ADS	    MPC8560ADS board specific
     CONFIG_TSEC_ENET	    Use on-chip 10/100/1000 ethernet for networking
     CONFIG_SPD_EEPROM	    Use SPD EEPROM for DDR auto configuration, you can
diff --git a/include/configs/MPC8540ADS.h b/include/configs/MPC8540ADS.h
index fab5a493c8..54932fd622 100644
--- a/include/configs/MPC8540ADS.h
+++ b/include/configs/MPC8540ADS.h
@@ -21,7 +21,6 @@
 /* High Level Configuration Options */
 #define CONFIG_BOOKE		1	/* BOOKE */
 #define CONFIG_E500		1	/* BOOKE e500 family */
-#define CONFIG_MPC8540ADS	1	/* MPC8540ADS board specific */
 
 /*
  * default CCARBAR is at 0xff700000
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 8e744518b8..2fa1383a33 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -3140,7 +3140,6 @@ CONFIG_MPC83XX_GPIO_1_INIT_OPEN_DRAIN
 CONFIG_MPC83XX_GPIO_1_INIT_VALUE
 CONFIG_MPC83XX_PCI2
 CONFIG_MPC850
-CONFIG_MPC8540ADS
 CONFIG_MPC8541
 CONFIG_MPC8541CDS
 CONFIG_MPC855
-- 
2.39.5