diff mbox

[U-Boot,12/97] powerpc: MPC8536DS: Remove macro CONFIG_MPC8536DS

Message ID 1479974118-2912-12-git-send-email-york.sun@nxp.com
State Accepted
Commit 30411e7cfc5a54856536881b893439dc158023a9
Delegated to: York Sun
Headers show

Commit Message

York Sun Nov. 24, 2016, 7:53 a.m. UTC
Use CONFIG_TARGET_MPC8536DS instead.

Signed-off-by: York Sun <york.sun@nxp.com>
---

 board/freescale/common/Makefile | 2 +-
 board/freescale/common/pixis.h  | 2 +-
 include/configs/MPC8536DS.h     | 1 -
 scripts/config_whitelist.txt    | 1 -
 4 files changed, 2 insertions(+), 4 deletions(-)
diff mbox

Patch

diff --git a/board/freescale/common/Makefile b/board/freescale/common/Makefile
index c131ed9..db36e53 100644
--- a/board/freescale/common/Makefile
+++ b/board/freescale/common/Makefile
@@ -49,7 +49,7 @@  obj-$(CONFIG_MPC8541CDS)	+= cds_pci_ft.o
 obj-$(CONFIG_TARGET_MPC8548CDS)	+= cds_pci_ft.o
 obj-$(CONFIG_MPC8555CDS)	+= cds_pci_ft.o
 
-obj-$(CONFIG_MPC8536DS)	+= ics307_clk.o
+obj-$(CONFIG_TARGET_MPC8536DS)	+= ics307_clk.o
 obj-$(CONFIG_MPC8572DS)	+= ics307_clk.o
 obj-$(CONFIG_P1022DS)		+= ics307_clk.o
 obj-$(CONFIG_P2020DS)		+= ics307_clk.o
diff --git a/board/freescale/common/pixis.h b/board/freescale/common/pixis.h
index 29a2eea..3c59157 100644
--- a/board/freescale/common/pixis.h
+++ b/board/freescale/common/pixis.h
@@ -7,7 +7,7 @@ 
 #define __PIXIS_H_	1
 
 /* PIXIS register set. */
-#if defined(CONFIG_MPC8536DS)
+#if defined(CONFIG_TARGET_MPC8536DS)
 typedef struct pixis {
 	u8 id;
 	u8 ver;
diff --git a/include/configs/MPC8536DS.h b/include/configs/MPC8536DS.h
index d6ef67f..446303d 100644
--- a/include/configs/MPC8536DS.h
+++ b/include/configs/MPC8536DS.h
@@ -40,7 +40,6 @@ 
 /* High Level Configuration Options */
 #define CONFIG_BOOKE		1	/* BOOKE */
 #define CONFIG_E500		1	/* BOOKE e500 family */
-#define CONFIG_MPC8536DS	1
 
 #define CONFIG_FSL_ELBC		1	/* Has Enhanced localbus controller */
 #define CONFIG_PCI1		1	/* Enable PCI controller 1 */
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 2dcbb04..142d71d 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_MPC8536DS
 CONFIG_MPC8540
 CONFIG_MPC8540ADS
 CONFIG_MPC8541