powerpc: mpc86xx: Move CONFIG_FSL_LAW to Kconfig
authorYork Sun <york.sun@nxp.com>
Fri, 2 Dec 2016 18:45:23 +0000 (10:45 -0800)
committerYork Sun <york.sun@nxp.com>
Fri, 2 Dec 2016 20:38:42 +0000 (12:38 -0800)
Clean up existing definitions and drop from white list.

Signed-off-by: York Sun <york.sun@nxp.com>
arch/powerpc/cpu/mpc86xx/Kconfig
include/configs/MPC8610HPCD.h
include/configs/MPC8641HPCN.h
include/configs/sbc8641d.h
include/configs/xpedite517x.h
scripts/config_whitelist.txt

index 57e7476..42b2ed2 100644 (file)
@@ -28,9 +28,16 @@ endchoice
 
 config ARCH_MPC8610
        bool
+       select FSL_LAW
 
 config ARCH_MPC8641
        bool
+       select FSL_LAW
+
+config FSL_LAW
+       bool
+       help
+               Use Freescale common code for Local Access Window
 
 config SYS_CCSRBAR_DEFAULT
        hex "Default CCSRBAR address"
index 4cf9bd6..761032e 100644 (file)
@@ -42,7 +42,6 @@
 #define CONFIG_FSL_PCI_INIT    1       /* Use common FSL init code */
 #define CONFIG_PCI_INDIRECT_BRIDGE 1   /* indirect PCI bridge support */
 #define CONFIG_SYS_PCI_64BIT   1       /* enable 64-bit PCI resources */
-#define CONFIG_FSL_LAW         1       /* Use common FSL init code */
 
 #define CONFIG_ENV_OVERWRITE
 #define CONFIG_INTERRUPTS              /* enable pci, srio, ddr interrupts */
index 06ef0d9..8845ea9 100644 (file)
@@ -44,7 +44,6 @@
 #define CONFIG_PCIE2           1       /* PCIE controller 2 (slot) */
 #define CONFIG_FSL_PCI_INIT    1       /* Use common FSL init code */
 #define CONFIG_SYS_PCI_64BIT   1       /* enable 64-bit PCI resources */
-#define CONFIG_FSL_LAW         1       /* Use common FSL law init code */
 
 #define CONFIG_TSEC_ENET               /* tsec ethernet support */
 #define CONFIG_ENV_OVERWRITE
index 7c8ceb3..87056db 100644 (file)
@@ -46,7 +46,6 @@
 #define CONFIG_PCIE2           1       /* PCIE controller 2 (slot 2) */
 #define CONFIG_FSL_PCI_INIT    1       /* Use common FSL init code */
 #define CONFIG_PCI_INDIRECT_BRIDGE 1   /* indirect PCI bridge support */
-#define CONFIG_FSL_LAW         1       /* Use common FSL init code */
 
 #define CONFIG_TSEC_ENET               /* tsec ethernet support */
 #define CONFIG_ENV_OVERWRITE
index 86bc1cf..df36ad7 100644 (file)
@@ -31,7 +31,6 @@
 #define CONFIG_FSL_PCI_INIT    1       /* Use common FSL init code */
 #define CONFIG_PCI_INDIRECT_BRIDGE 1   /* indirect PCI bridge support */
 #define CONFIG_SYS_PCI_64BIT   1       /* enable 64-bit PCI resources */
-#define CONFIG_FSL_LAW         1       /* Use common FSL init code */
 
 /*
  * DDR config
index 4d5403d..e123f74 100644 (file)
@@ -1276,7 +1276,6 @@ CONFIG_FSL_I2C_CUSTOM_FDR
 CONFIG_FSL_IFC
 CONFIG_FSL_IIM
 CONFIG_FSL_ISBC_KEY_EXT
-CONFIG_FSL_LAW
 CONFIG_FSL_LAYERSCAPE
 CONFIG_FSL_LBC
 CONFIG_FSL_LINFLEXUART