]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
configs: fsl: move via specific defines to Kconfig
authorRajesh Bhagat <rajesh.bhagat@nxp.com>
Mon, 15 Feb 2021 08:46:14 +0000 (09:46 +0100)
committerPriyanka Jain <priyanka.jain@nxp.com>
Fri, 5 Mar 2021 04:55:41 +0000 (10:25 +0530)
Moves below via specific defines to Kconfig:

CONFIG_FSL_VIA

Signed-off-by: Rajesh Bhagat <rajesh.bhagat@nxp.com>
[Rebased]
Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
arch/powerpc/cpu/mpc85xx/Kconfig
include/configs/MPC8541CDS.h
include/configs/MPC8548CDS.h
include/configs/MPC8555CDS.h
scripts/config_whitelist.txt

index 6f90518927737a5e598d780820c9c083dbd0f57f..1a4e0b93a647ff0c4ab9d21ceea6ba0e810bebd1 100644 (file)
@@ -51,14 +51,17 @@ config TARGET_P5040DS
 config TARGET_MPC8541CDS
        bool "Support MPC8541CDS"
        select ARCH_MPC8541
+       select FSL_VIA
 
 config TARGET_MPC8548CDS
        bool "Support MPC8548CDS"
        select ARCH_MPC8548
+       select FSL_VIA
 
 config TARGET_MPC8555CDS
        bool "Support MPC8555CDS"
        select ARCH_MPC8555
+       select FSL_VIA
 
 config TARGET_MPC8568MDS
        bool "Support MPC8568MDS"
@@ -1409,6 +1412,9 @@ config SYS_FSL_LBC_CLK_DIV
                Defines divider of platform clock(clock input to
                eLBC controller).
 
+config FSL_VIA
+       bool
+
 source "board/freescale/corenet_ds/Kconfig"
 source "board/freescale/mpc8541cds/Kconfig"
 source "board/freescale/mpc8548cds/Kconfig"
index b1c8917f216b0f0b40f8f6c0e346d688f8cd995f..ea4da6a5fe418cee89beb110d94e1244d12e65a0 100644 (file)
@@ -18,8 +18,6 @@
 #define CONFIG_PCI_INDIRECT_BRIDGE
 #define CONFIG_SYS_PCI_64BIT   1       /* enable 64-bit PCI resources */
 
-#define CONFIG_FSL_VIA
-
 #ifndef __ASSEMBLY__
 extern unsigned long get_clock_freq(void);
 #endif
index 0605f70ffcbaf652671ee54239a32cbb67fb2cc9..9f83931bed54c9d6d458179aa8275dcf0bf0978f 100644 (file)
@@ -23,8 +23,6 @@
 
 #define CONFIG_INTERRUPTS              /* enable pci, srio, ddr interrupts */
 
-#define CONFIG_FSL_VIA
-
 #ifndef __ASSEMBLY__
 #include <linux/stringify.h>
 extern unsigned long get_clock_freq(void);
index 88999ef2b850e432c3e58e9656c91125fb56718b..79e309c95c1345bb28535455026ef3f169f59c26 100644 (file)
@@ -18,8 +18,6 @@
 #define CONFIG_PCI_INDIRECT_BRIDGE
 #define CONFIG_SYS_PCI_64BIT   1       /* enable 64-bit PCI resources */
 
-#define CONFIG_FSL_VIA
-
 #ifndef __ASSEMBLY__
 extern unsigned long get_clock_freq(void);
 #endif
index 3ba2781e5a39f426c80cb660f17e2953baad1137..e793cd1169f032999b49930a4918a6b7d4b99741 100644 (file)
@@ -551,7 +551,6 @@ CONFIG_FSL_SERDES2
 CONFIG_FSL_SGMII_RISER
 CONFIG_FSL_TBCLK_EXTRA_DIV
 CONFIG_FSL_TRUST_ARCH_v1
-CONFIG_FSL_VIA
 CONFIG_FSMC_NAND_BASE
 CONFIG_FSMTDBLK
 CONFIG_FSNOTIFY