]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Convert CONFIG_83XX_PCICLK to Kconfig
authorTom Rini <trini@konsulko.com>
Fri, 17 Dec 2021 23:08:36 +0000 (18:08 -0500)
committerTom Rini <trini@konsulko.com>
Mon, 27 Dec 2021 21:20:18 +0000 (16:20 -0500)
This converts the following to Kconfig:
   CONFIG_83XX_PCICLK

Signed-off-by: Tom Rini <trini@konsulko.com>
12 files changed:
arch/powerpc/cpu/mpc83xx/Kconfig
configs/kmcoge5ne_defconfig
configs/kmopti2_defconfig
configs/kmsupx5_defconfig
configs/kmtegr1_defconfig
configs/kmtepr2_defconfig
configs/tuge1_defconfig
configs/tuxx1_defconfig
include/configs/km/km-mpc8309.h
include/configs/km/km-mpc832x.h
include/configs/kmcoge5ne.h
scripts/config_whitelist.txt

index d58d278c6da807159a638d8e581b5780e73ef695..bcd8375087897d0fff80196918565500cff32c23 100644 (file)
@@ -188,6 +188,13 @@ source "arch/powerpc/cpu/mpc83xx/sysio/Kconfig"
 source "arch/powerpc/cpu/mpc83xx/arbiter/Kconfig"
 source "arch/powerpc/cpu/mpc83xx/initreg/Kconfig"
 
+config 83XX_PCICLK
+       hex "PCI clock frequency"
+       default 0xDEADBEEF
+       help
+         If required, the PCI clock frequency to use when configuring
+         the host bridge.
+
 config FSL_ELBC
        bool
 
index 461f2e3812242c3a7191260e429046a5b09f0653..53f7abc3fd098f379854a31108704aeaf3268a3c 100644 (file)
@@ -156,6 +156,7 @@ CONFIG_ACR_PARKM_USB_I2C1_BOOT=y
 CONFIG_LCRR_DBYP_PLL_BYPASSED=y
 CONFIG_LCRR_EADC_2=y
 CONFIG_LCRR_CLKDIV_4=y
+CONFIG_83XX_PCICLK=0x3ef1480
 CONFIG_SYS_LOAD_ADDR=0x100000
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_OF_STDOUT_VIA_ALIAS=y
index 01709052c1a25d304ee3cbb68aa382432c65bc05..d230638548b89b17118f8d9412f6ca522e7cd7cd 100644 (file)
@@ -139,6 +139,7 @@ CONFIG_ACR_APARK_MASTER=y
 CONFIG_ACR_PARKM_USB_I2C1_BOOT=y
 CONFIG_LCRR_EADC_1=y
 CONFIG_LCRR_CLKDIV_2=y
+CONFIG_83XX_PCICLK=0x3ef1480
 CONFIG_SYS_LOAD_ADDR=0x100000
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_OF_STDOUT_VIA_ALIAS=y
index 7802be8af4c8fbc290078338dca9fc9b8ac51111..b0b59262dec34f87c90cacd25868c31a5db86d2e 100644 (file)
@@ -119,6 +119,7 @@ CONFIG_ACR_APARK_MASTER=y
 CONFIG_ACR_PARKM_USB_I2C1_BOOT=y
 CONFIG_LCRR_EADC_1=y
 CONFIG_LCRR_CLKDIV_2=y
+CONFIG_83XX_PCICLK=0x3ef1480
 CONFIG_SYS_LOAD_ADDR=0x100000
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_OF_STDOUT_VIA_ALIAS=y
index e2bf945bc3dcef4a6688c14548ca363515600532..53aaf6caa25c8e7f9b449d909fa5e1d4174db07d 100644 (file)
@@ -118,6 +118,7 @@ CONFIG_ACR_APARK_MASTER=y
 CONFIG_ACR_PARKM_USB_I2C1_BOOT=y
 CONFIG_LCRR_EADC_1=y
 CONFIG_LCRR_CLKDIV_2=y
+CONFIG_83XX_PCICLK=0x3ef1480
 CONFIG_SYS_LOAD_ADDR=0x100000
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_OF_STDOUT_VIA_ALIAS=y
index 98f613ce16e33ede1942efff2c5bb47f41fb5d11..b333769dc4f540913abe7d98b2a9ea9970546470 100644 (file)
@@ -139,6 +139,7 @@ CONFIG_ACR_APARK_MASTER=y
 CONFIG_ACR_PARKM_USB_I2C1_BOOT=y
 CONFIG_LCRR_EADC_1=y
 CONFIG_LCRR_CLKDIV_2=y
+CONFIG_83XX_PCICLK=0x3ef1480
 CONFIG_SYS_LOAD_ADDR=0x100000
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_OF_STDOUT_VIA_ALIAS=y
index 9272a0cb421441e5e7f31f768a4b51007a7aed61..6078b46410af57951f247315aad23be93fe98c51 100644 (file)
@@ -119,6 +119,7 @@ CONFIG_ACR_APARK_MASTER=y
 CONFIG_ACR_PARKM_USB_I2C1_BOOT=y
 CONFIG_LCRR_EADC_1=y
 CONFIG_LCRR_CLKDIV_2=y
+CONFIG_83XX_PCICLK=0x3ef1480
 CONFIG_SYS_LOAD_ADDR=0x100000
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_OF_STDOUT_VIA_ALIAS=y
index 38875b39c12f3942cc90a73803f26bbd5397f54d..cc9bbab8c6bbc336476bb0fdc9c0f944dc448967 100644 (file)
@@ -141,6 +141,7 @@ CONFIG_ACR_APARK_MASTER=y
 CONFIG_ACR_PARKM_USB_I2C1_BOOT=y
 CONFIG_LCRR_EADC_1=y
 CONFIG_LCRR_CLKDIV_2=y
+CONFIG_83XX_PCICLK=0x3ef1480
 CONFIG_SYS_LOAD_ADDR=0x100000
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_OF_STDOUT_VIA_ALIAS=y
index 47a335bcf8ff0a338bfafd99a0a5bb3d03f0d73f..98204bd3c692e5d67d5c4d9d8bc26cea37021f99 100644 (file)
@@ -5,11 +5,6 @@
 
 #define CONFIG_KM_DEF_ARCH     "arch=ppc_82xx\0"
 
-/*
- * System Clock Setup
- */
-#define CONFIG_83XX_PCICLK             66000000
-
 /* QE microcode/firmware address */
 /* between the u-boot partition and env */
 
index d985ab7a65a913558956563c24fe731ae4f87acb..54018daa68e682e4cb9c168a7cf945d51bdf5988 100644 (file)
@@ -3,11 +3,6 @@
  */
 #define CONFIG_KM8321  /* Keymile PBEC8321 board specific */
 
-/*
- * System Clock Setup
- */
-#define CONFIG_83XX_PCICLK             66000000
-
 /*
  * System IO Config
  */
index 9e1f802e4e575131af70239fa91501ee016a8bd6..8f4685c271c61ef5f8fab63a43ca60d143a9a299 100644 (file)
 #include "km/km-mpc83xx.h"
 #include "km/km-mpc8360.h"
 
-/*
- * System Clock Setup
- */
-#define CONFIG_83XX_PCICLK             66000000
-
 /**
  * KMCOGE5NE has 512 MB RAM
  */
index 438856bea4753589cbb38f95e8f471fff4c34fa4..5353e84ab48eaffb35a717719b46f2d6eb87ea8e 100644 (file)
@@ -1,6 +1,5 @@
 CONFIG_64BIT_PHYS_ADDR
 CONFIG_83XX
-CONFIG_83XX_PCICLK
 CONFIG_88F5182
 CONFIG_A003399_NOR_WORKAROUND
 CONFIG_A008044_WORKAROUND