common/board_f.c: modify the macro to use get_clocks() more common
authorGong Qianyu <Qianyu.Gong@freescale.com>
Wed, 9 Sep 2015 08:44:16 +0000 (16:44 +0800)
committerTom Rini <trini@konsulko.com>
Sat, 24 Oct 2015 17:50:38 +0000 (13:50 -0400)
get_clocks() should not be limited by ESDHC.

Signed-off-by: Gong Qianyu <Qianyu.Gong@freescale.com>
41 files changed:
common/board_f.c
include/configs/BSC9132QDS.h
include/configs/MPC8308RDB.h
include/configs/MPC837XEMDS.h
include/configs/MPC837XERDB.h
include/configs/MPC8536DS.h
include/configs/MPC8569MDS.h
include/configs/P1010RDB.h
include/configs/P1022DS.h
include/configs/P2041RDB.h
include/configs/T102xQDS.h
include/configs/T102xRDB.h
include/configs/T1040QDS.h
include/configs/T104xRDB.h
include/configs/T208xQDS.h
include/configs/T208xRDB.h
include/configs/T4240QDS.h
include/configs/T4240RDB.h
include/configs/UCP1020.h
include/configs/colibri_vf.h
include/configs/controlcenterd.h
include/configs/corenet_ds.h
include/configs/hrcon.h
include/configs/ls1021aqds.h
include/configs/ls1021atwr.h
include/configs/ls2085aqds.h
include/configs/ls2085ardb.h
include/configs/m53evk.h
include/configs/mx25pdk.h
include/configs/mx35pdk.h
include/configs/mx51evk.h
include/configs/mx53ard.h
include/configs/mx53evk.h
include/configs/mx53loco.h
include/configs/mx53smd.h
include/configs/mx6_common.h
include/configs/p1_p2_rdb_pc.h
include/configs/p1_twr.h
include/configs/usbarmory.h
include/configs/vf610twr.h
include/configs/woodburn_common.h

index 62570ab6d8dbab6ce60b59424a03eae7ac18627f..486e828fe8a740e73fd32fce05b3d7ad26c522b9 100644 (file)
@@ -806,7 +806,7 @@ static init_fnc_t init_sequence_f[] = {
 #if defined(CONFIG_BOARD_POSTCLK_INIT)
        board_postclk_init,
 #endif
-#ifdef CONFIG_FSL_ESDHC
+#ifdef CONFIG_FSL_CLK
        get_clocks,
 #endif
 #ifdef CONFIG_M68K
index 54dcf3b9548de2086ef5aa597218ce313b0e587c..a006dcebaaa83985079d04ab1ad87b64cf9312b4 100644 (file)
@@ -17,6 +17,7 @@
 #define CONFIG_BSC9132
 #endif
 
+#define CONFIG_FSL_CLK
 #define CONFIG_MISC_INIT_R
 
 #ifdef CONFIG_SDCARD
index 551b72d15309cff788da6bfeb19d3776209f9ce5..cfa59313111a98368f18cedd8120810c734725e8 100644 (file)
@@ -10,6 +10,7 @@
 #define __CONFIG_H
 
 #define CONFIG_DISPLAY_BOARDINFO
+#define CONFIG_FSL_CLK
 
 /*
  * High Level Configuration Options
index 7d1262d510c1f8672c6ab527674df002a21f1006..990fc04e870a613ecc57746e7e4f084f4111edb4 100644 (file)
@@ -9,6 +9,7 @@
 #define __CONFIG_H
 
 #define CONFIG_DISPLAY_BOARDINFO
+#define CONFIG_FSL_CLK
 
 /*
  * High Level Configuration Options
index ab68e63881badbcb1f48ba9de7233f84cb9ec4be..fcc531b600108cc05477110fa42c5f74a8582224 100644 (file)
@@ -16,6 +16,7 @@
 #define CONFIG_MPC837x         1 /* MPC837x CPU specific */
 #define CONFIG_MPC837XERDB     1
 #define CONFIG_DISPLAY_BOARDINFO
+#define CONFIG_FSL_CLK
 
 #define        CONFIG_SYS_TEXT_BASE    0xFE000000
 
index 29c27fa9a75f2a8ca214fa4282b570a7e18c4226..af8eb8c0d2e1436e57e25c96db90088c04a017cc 100644 (file)
@@ -12,6 +12,7 @@
 #define __CONFIG_H
 
 #define CONFIG_DISPLAY_BOARDINFO
+#define CONFIG_FSL_CLK
 #include "../board/freescale/common/ics307_clk.h"
 
 #ifdef CONFIG_36BIT
index 6f614b0cbe3d66975bcdedc762c1b2d6d179d8b0..9f784e0adb93054ba8cb7f977fdaf3c6bbd8bdf0 100644 (file)
@@ -12,6 +12,7 @@
 
 #define CONFIG_DISPLAY_BOARDINFO
 
+#define CONFIG_FSL_CLK
 /* High Level Configuration Options */
 #define CONFIG_BOOKE           1       /* BOOKE */
 #define CONFIG_E500            1       /* BOOKE e500 family */
index 81b085572dc9639a2f7abf98e22c0ea03b70feb2..9e407303954451f17d8b6de6a3d1122c37efa033 100644 (file)
@@ -15,6 +15,7 @@
 #define CONFIG_PHYS_64BIT
 #endif
 #define        CONFIG_DISPLAY_BOARDINFO
+#define CONFIG_FSL_CLK
 
 #define CONFIG_P1010
 #define CONFIG_E500                    /* BOOKE e500 family */
index a9d825baf5dd76845d761b5643400c5c36420e41..c571fac666e29a51d2ae1448270aef6da8eec821 100644 (file)
@@ -12,6 +12,7 @@
 #include "../board/freescale/common/ics307_clk.h"
 
 #define CONFIG_DISPLAY_BOARDINFO
+#define CONFIG_FSL_CLK
 
 #ifdef CONFIG_36BIT
 #define CONFIG_PHYS_64BIT
index 2c4c8b5a026991125077c1787c5c0bf68d2cb17a..0cd990477b15631aaa97c56a75ecf880de8db242 100644 (file)
@@ -15,6 +15,7 @@
 #define CONFIG_PHYS_64BIT
 #define CONFIG_DISPLAY_BOARDINFO
 #define CONFIG_PPC_P2041
+#define CONFIG_FSL_CLK
 
 #ifdef CONFIG_RAMBOOT_PBL
 #define CONFIG_RAMBOOT_TEXT_BASE       CONFIG_SYS_TEXT_BASE
index 52942edbd416986c3a37072a7a283668af5b546f..4f22657703ddd66af42abb961b6c22c478042d35 100644 (file)
@@ -20,6 +20,7 @@
 #define CONFIG_MP                      /* support multiple processors */
 #define CONFIG_PHYS_64BIT
 #define CONFIG_ENABLE_36BIT_PHYS
+#define CONFIG_FSL_CLK
 
 #ifdef CONFIG_PHYS_64BIT
 #define CONFIG_ADDR_MAP                1
index 39fa5e2b1898493730c6398d3cbc7592efc2e27a..d412d0b2b7e799747047b699bdfc3c60f29a22ce 100644 (file)
@@ -20,6 +20,7 @@
 #define CONFIG_MP                      /* support multiple processors */
 #define CONFIG_PHYS_64BIT
 #define CONFIG_ENABLE_36BIT_PHYS
+#define CONFIG_FSL_CLK
 
 #ifdef CONFIG_PHYS_64BIT
 #define CONFIG_ADDR_MAP                1
index d8b86e6c5e6c9954a101b1fc148a658ce846e63c..18df2372a485a9e16ff87038d3a3e4c8c8e0555c 100644 (file)
@@ -29,6 +29,7 @@
 #define CONFIG_T1040QDS
 #define CONFIG_PHYS_64BIT
 #define CONFIG_DISPLAY_BOARDINFO
+#define CONFIG_FSL_CLK
 
 #ifdef CONFIG_RAMBOOT_PBL
 #define CONFIG_RAMBOOT_TEXT_BASE       CONFIG_SYS_TEXT_BASE
index da2ccb831838deac3962a6915d47d379793a02c2..20910156386040a5667a387688af804792916bd7 100644 (file)
@@ -13,6 +13,7 @@
 #define CONFIG_T104xRDB
 #define CONFIG_PHYS_64BIT
 #define CONFIG_DISPLAY_BOARDINFO
+#define CONFIG_FSL_CLK
 
 #define CONFIG_E500                    /* BOOKE e500 family */
 #include <asm/config_mpc85xx.h>
index a81f1e66f3fc95ff2bf1b53fcf413126824b9688..d35b9d2d90169b175dbec5100cefff50d7f109de 100644 (file)
@@ -13,6 +13,7 @@
 
 #define CONFIG_DISPLAY_BOARDINFO
 #define CONFIG_ICS307_REFCLK_HZ 25000000  /* ICS307 ref clk freq */
+#define CONFIG_FSL_CLK
 #define CONFIG_MMC
 #define CONFIG_USB_EHCI
 #if defined(CONFIG_PPC_T2080)
index 8b762346ac2679ae7001f593f3830ffb26bbffa0..c632b8e328fd0c312fdd023a3dc3f98778573c63 100644 (file)
@@ -14,6 +14,7 @@
 #define CONFIG_DISPLAY_BOARDINFO
 #define CONFIG_T2080RDB
 #define CONFIG_ICS307_REFCLK_HZ 25000000  /* ICS307 ref clk freq */
+#define CONFIG_FSL_CLK
 #define CONFIG_MMC
 #define CONFIG_USB_EHCI
 #define CONFIG_FSL_SATA_V2
index 4edb3cb91f35ddfaa08d5912259e4e402104693c..dd8dd73f9867fc5c8eb680933a37dbabae9bc39b 100644 (file)
@@ -12,6 +12,7 @@
 
 #define CONFIG_T4240QDS
 #define CONFIG_PHYS_64BIT
+#define CONFIG_FSL_CLK
 
 #define CONFIG_FSL_SATA_V2
 #define CONFIG_PCIE4
index 2e875d2fc1284d116756adf9632c8c1f826da742..2c5f800cbd2d3a9579d46cbdf1b572ed2c792039 100644 (file)
@@ -13,6 +13,7 @@
 #define CONFIG_T4240RDB
 #define CONFIG_PHYS_64BIT
 #define CONFIG_DISPLAY_BOARDINFO
+#define CONFIG_FSL_CLK
 
 #define CONFIG_FSL_SATA_V2
 #define CONFIG_PCIE4
index 861147377309b3215a9c67e2ac6657ed377db1bf..0b609af2c90768ea6a6293c9ccf0d2308ab63639 100644 (file)
@@ -15,6 +15,7 @@
 #define __CONFIG_H
 
 #define CONFIG_DISPLAY_BOARDINFO
+#define CONFIG_FSL_CLK
 
 #define CONFIG_FSL_ELBC
 #define CONFIG_PCI
index c2c324cf5e5274be4295e03cfec2131a37eb4e66..9fa8f817f29b294edaa8eceb91e990fdef136401 100644 (file)
@@ -18,6 +18,7 @@
 #define CONFIG_SYS_THUMB_BUILD
 #define CONFIG_USE_ARCH_MEMCPY
 #define CONFIG_USE_ARCH_MEMSET
+#define CONFIG_FSL_CLK
 
 #define CONFIG_ARCH_MISC_INIT
 #define CONFIG_DISPLAY_CPUINFO
index 600bb835cefca51fcaa26b2bfba3c1f2fbef58a3..77c2edcbb3c6d8862869a0477aabb130bb3ca0c6 100644 (file)
@@ -44,6 +44,7 @@
 #define CONFIG_P1022
 #define CONFIG_CONTROLCENTERD
 #define CONFIG_MP                      /* support multiple processors */
+#define CONFIG_FSL_CLK
 
 
 #define CONFIG_SYS_NO_FLASH
index 921021634df7347892a67cf8dfb53c4f353e3940..3c9a5291622c82296cf354bdabb12ee4bf7752e7 100644 (file)
@@ -11,6 +11,7 @@
 #define __CONFIG_H
 
 #define CONFIG_DISPLAY_BOARDINFO
+#define CONFIG_FSL_CLK
 
 #include "../board/freescale/common/ics307_clk.h"
 
index 3cb279a9127f48b26a778ed89b9efcc8e456044f..e2b9deba9e1e4f9564dc39a3eac8ade4b9cd2124 100644 (file)
@@ -23,6 +23,7 @@
 #define CONFIG_IDENT_STRING    " hrcon 0.01"
 
 
+#define CONFIG_FSL_CLK
 #define CONFIG_BOARD_EARLY_INIT_F
 #define CONFIG_BOARD_EARLY_INIT_R
 #define CONFIG_LAST_STAGE_INIT
index 4f5053881ee82dbc62dc659da10aee117b01151d..b8477e89d27cc8d2837c38711c6161c3a52e9183 100644 (file)
@@ -11,6 +11,7 @@
 
 #define CONFIG_ARMV7_PSCI
 
+#define CONFIG_FSL_CLK
 
 #define CONFIG_DISPLAY_CPUINFO
 #define CONFIG_DISPLAY_BOARDINFO
index 88e936b407960792d9950f7f81c6d86c374345b9..784331ff8e3ecbb73cbe43e2a6a5fc9c3e95e471 100644 (file)
@@ -11,6 +11,7 @@
 
 #define CONFIG_ARMV7_PSCI
 
+#define CONFIG_FSL_CLK
 
 #define CONFIG_DISPLAY_CPUINFO
 #define CONFIG_DISPLAY_BOARDINFO
index f7f38700323fd8f7341d47d7b0327dec531150b4..4cfcf980941de22c28be165665f9bf7e4a652fef 100644 (file)
@@ -16,6 +16,7 @@ unsigned long get_board_sys_clk(void);
 unsigned long get_board_ddr_clk(void);
 #endif
 
+#define CONFIG_FSL_CLK
 #define CONFIG_SYS_CLK_FREQ            get_board_sys_clk()
 #define CONFIG_DDR_CLK_FREQ            get_board_ddr_clk()
 #define COUNTER_FREQUENCY_REAL         (CONFIG_SYS_CLK_FREQ/4)
index a190bc7c707e368f371d95c7e53349bb0a1198e2..583fed574ad8b87de543b179f0f4a422097e7b40 100644 (file)
@@ -18,6 +18,7 @@
 unsigned long get_board_sys_clk(void);
 #endif
 
+#define CONFIG_FSL_CLK
 #define CONFIG_SYS_CLK_FREQ            get_board_sys_clk()
 #define CONFIG_DDR_CLK_FREQ            133333333
 #define COUNTER_FREQUENCY_REAL         (CONFIG_SYS_CLK_FREQ/4)
index 444056347ce4703fac4722bbe8b41fe17a15d23e..152e295778aee1a75a889301d5ed7d65098d4e8f 100644 (file)
@@ -17,6 +17,7 @@
 #define CONFIG_BOARD_EARLY_INIT_F
 #define CONFIG_REVISION_TAG
 #define CONFIG_SYS_NO_FLASH
+#define CONFIG_FSL_CLK
 
 #define CONFIG_FIT
 
index 93f1cd1837c2feeb53cbb16c49769546f88e76ef..0ee8e0d97cb95f96a5b6411ba5de641d8a4b4911 100644 (file)
@@ -14,6 +14,7 @@
 #define CONFIG_MX25
 #define CONFIG_SYS_TEXT_BASE           0x81200000
 #define CONFIG_MXC_GPIO
+#define CONFIG_FSL_CLK
 
 #define CONFIG_SYS_TIMER_RATE          32768
 #define CONFIG_SYS_TIMER_COUNTER       \
index 6c157ab0fca955aa2a43e22d0b808d0eab0314c7..41f518e49b0e33e85930ac631f23bb1fadef4faf 100644 (file)
@@ -19,6 +19,7 @@
 #define CONFIG_MX35
 
 #define CONFIG_DISPLAY_CPUINFO
+#define CONFIG_FSL_CLK
 
 /* Set TEXT at the beginning of the NOR flash */
 #define CONFIG_SYS_TEXT_BASE   0xA0000000
index 3cbc53e31178220a536a0856be92ee36e0729e58..35c9346638f693b57a58bf14b347fa770ae81fd8 100644 (file)
@@ -18,6 +18,7 @@
 #define CONFIG_DISPLAY_CPUINFO
 #define CONFIG_DISPLAY_BOARDINFO
 
+#define CONFIG_FSL_CLK
 #define CONFIG_SYS_TEXT_BASE   0x97800000
 
 #include <asm/arch/imx-regs.h>
index 52ba176fb9a19b124e61bad02e27ddb0d57798cf..be37ce5342196e0595b88bd50412e4d3037d6f90 100644 (file)
@@ -23,6 +23,7 @@
 #define CONFIG_INITRD_TAG
 #define CONFIG_REVISION_TAG
 
+#define CONFIG_FSL_CLK
 
 /* Size of malloc() pool */
 #define CONFIG_SYS_MALLOC_LEN          (CONFIG_ENV_SIZE + 2 * 1024 * 1024)
index a7282f3bf4c899caddb9f444623bf7660e837c94..81af2486968fb3c0daf82f742e1e3f3715562986 100644 (file)
@@ -23,6 +23,7 @@
 #define CONFIG_INITRD_TAG
 #define CONFIG_REVISION_TAG
 
+#define CONFIG_FSL_CLK
 
 #define CONFIG_OF_LIBFDT
 
index 9e1c706a3d3a402a94dbab4f7709920ea0909a97..53fb4f79ef17f8f583af9278b249e3adbb358e34 100644 (file)
@@ -22,6 +22,7 @@
 #define CONFIG_SETUP_MEMORY_TAGS
 #define CONFIG_INITRD_TAG
 
+#define CONFIG_FSL_CLK
 
 /* Size of malloc() pool */
 #define CONFIG_SYS_MALLOC_LEN          (10 * 1024 * 1024)
index e294bff95f695e8f86541f30a8cf8d45bface33a..f5fcd838edda210b75f277c5956a9b7909b9584a 100644 (file)
@@ -23,6 +23,7 @@
 #define CONFIG_INITRD_TAG
 #define CONFIG_REVISION_TAG
 
+#define CONFIG_FSL_CLK
 
 /* Size of malloc() pool */
 #define CONFIG_SYS_MALLOC_LEN          (CONFIG_ENV_SIZE + 2 * 1024 * 1024)
index 4ae1673f8ded32ba1db1f47bd41ad91899fab968..ba1317838421ed1047c0d0e9a4f904c5df609423 100644 (file)
@@ -45,6 +45,7 @@
 
 #define CONFIG_DISPLAY_BOARDINFO
 #define CONFIG_DISPLAY_CPUINFO
+#define CONFIG_FSL_CLK
 
 /* ATAGs */
 #define CONFIG_CMDLINE_TAG
index 433c4093361fa6a463410010dbf72ef484279b0f..03eb185e16a57290bfe3738c4219e5e4bcca0741 100644 (file)
@@ -11,6 +11,7 @@
 #define __CONFIG_H
 
 #define CONFIG_DISPLAY_BOARDINFO
+#define CONFIG_FSL_CLK
 
 #ifdef CONFIG_36BIT
 #define CONFIG_PHYS_64BIT
index d83daa02556700072051ece407bf22c2a4a77927..46f5f0f70e5a5a4af0fc43841292bd659afbc0bf 100644 (file)
@@ -11,6 +11,7 @@
 #define __CONFIG_H
 
 #define        CONFIG_DISPLAY_BOARDINFO
+#define CONFIG_FSL_CLK
 #if defined(CONFIG_TWR_P1025)
 #define CONFIG_BOARDNAME "TWR-P1025"
 #define CONFIG_P1025
index 4af9f3698bc68b251280f5a8d2afe8d4c403d7ba..6735055a616fca6e62f24ae4e726bad9a1226c82 100644 (file)
@@ -14,6 +14,7 @@
 #define CONFIG_MX53
 #define CONFIG_DISPLAY_CPUINFO
 #define CONFIG_DISPLAY_BOARDINFO
+#define CONFIG_FSL_CLK
 #define CONFIG_BOARD_EARLY_INIT_F
 #define CONFIG_OF_LIBFDT
 #define CONFIG_MXC_GPIO
index df570d9b2d5b3be6cae1a4657845df4c24859ca4..abd1e98d9bebd281273076a666dbde91c611d027 100644 (file)
@@ -15,6 +15,7 @@
 
 #define CONFIG_DISPLAY_CPUINFO
 #define CONFIG_DISPLAY_BOARDINFO
+#define CONFIG_FSL_CLK
 
 #define CONFIG_MACH_TYPE               4146
 
index c25b710a58581db03f4e21fb1dd0b141c56bbafc..e6f3e28fe1dae6c22dba57e18850644a6b79669a 100644 (file)
@@ -16,6 +16,7 @@
  /* High Level Configuration Options */
 #define CONFIG_MX35
 #define CONFIG_MX35_HCLK_FREQ  24000000
+#define CONFIG_FSL_CLK
 
 #define CONFIG_SYS_DCACHE_OFF
 #define CONFIG_SYS_CACHELINE_SIZE      32