diff --git a/arch/powerpc/cpu/mpc86xx/Kconfig b/arch/powerpc/cpu/mpc86xx/Kconfig index 57e7476ca705bdbaec8f1fbb3ea0dd13594a6571..42b2ed266655b6366672cf5f91b2f7fb0614835e 100644 --- a/arch/powerpc/cpu/mpc86xx/Kconfig +++ b/arch/powerpc/cpu/mpc86xx/Kconfig @@ -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" diff --git a/include/configs/MPC8610HPCD.h b/include/configs/MPC8610HPCD.h index 4cf9bd6e77fa68970eaf6677894efc28ff444a01..761032e923dec510c9be0b740282384b6a41696c 100644 --- a/include/configs/MPC8610HPCD.h +++ b/include/configs/MPC8610HPCD.h @@ -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 */ diff --git a/include/configs/MPC8641HPCN.h b/include/configs/MPC8641HPCN.h index 06ef0d9520859473b9910c5ca2f4237ea4c9c7b7..8845ea917044bb91b843f2670251351462e2c19d 100644 --- a/include/configs/MPC8641HPCN.h +++ b/include/configs/MPC8641HPCN.h @@ -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 diff --git a/include/configs/sbc8641d.h b/include/configs/sbc8641d.h index 7c8ceb30f2fd7c370a7259f0615c2c3b627fb08e..87056dbcaca4b378f50484042f3c9a792dfe7f89 100644 --- a/include/configs/sbc8641d.h +++ b/include/configs/sbc8641d.h @@ -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 diff --git a/include/configs/xpedite517x.h b/include/configs/xpedite517x.h index 86bc1cfdf0d60ee6b93b4ee7fd5c300ba3a8c62c..df36ad7ce9661d4a01e99df59bf627230c105dd7 100644 --- a/include/configs/xpedite517x.h +++ b/include/configs/xpedite517x.h @@ -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 diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index 4d5403d6dff7aec4a2bb9f0168c4d483e78c1aea..e123f7429f08ebe55770ccfe0655d08c4d6cebf2 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -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