diff options
author | Alexey Brodkin <Alexey.Brodkin@synopsys.com> | 2015-01-13 18:49:01 +0300 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2015-01-14 11:37:39 -0500 |
commit | 33d88183506f46ab618d1a5211268ae40df092de (patch) | |
tree | c788ca488d849cc1a6eaf46370ce3809977dd6b0 /include | |
parent | 9f9d8704b6566c24b6efaa23abc42cfbc5aadb36 (diff) | |
download | u-boot-imx-33d88183506f46ab618d1a5211268ae40df092de.zip u-boot-imx-33d88183506f46ab618d1a5211268ae40df092de.tar.gz u-boot-imx-33d88183506f46ab618d1a5211268ae40df092de.tar.bz2 |
Kconfig: move CONFIG_SYS_CLK_FREQ to Kconfig
It makes sense to specify CONFIG_SYS_CLK_FREQ in "configs/xx_defconfig"
instead of "include/configs/xxx.h" because then header will be reusable
across boards with different CPU clocks.
Also this nice to have an ability for end user to tune this value
himself via "menuconfig".
For now I'm only applying this change to all ARC configs because
otherwise scope of change will be huge.
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Tom Rini <trini@ti.com>
Cc: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Hans de Goede <hdegoede@redhat.com>
cc: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/arcangel4-be.h | 1 | ||||
-rw-r--r-- | include/configs/arcangel4.h | 1 | ||||
-rw-r--r-- | include/configs/axs101.h | 1 | ||||
-rw-r--r-- | include/configs/tb100.h | 1 |
4 files changed, 0 insertions, 4 deletions
diff --git a/include/configs/arcangel4-be.h b/include/configs/arcangel4-be.h index 88d27db..76163ab 100644 --- a/include/configs/arcangel4-be.h +++ b/include/configs/arcangel4-be.h @@ -14,7 +14,6 @@ #define CONFIG_ARC700 #define CONFIG_ARC_MMU_VER 3 #define CONFIG_SYS_CACHELINE_SIZE 64 -#define CONFIG_SYS_CLK_FREQ 70000000 #define CONFIG_SYS_TIMER_RATE CONFIG_SYS_CLK_FREQ /* diff --git a/include/configs/arcangel4.h b/include/configs/arcangel4.h index 4579eb9..81934a4 100644 --- a/include/configs/arcangel4.h +++ b/include/configs/arcangel4.h @@ -13,7 +13,6 @@ #define CONFIG_ARC700 #define CONFIG_ARC_MMU_VER 3 #define CONFIG_SYS_CACHELINE_SIZE 64 -#define CONFIG_SYS_CLK_FREQ 70000000 #define CONFIG_SYS_TIMER_RATE CONFIG_SYS_CLK_FREQ /* diff --git a/include/configs/axs101.h b/include/configs/axs101.h index 6e8c56c..c61ddd6 100644 --- a/include/configs/axs101.h +++ b/include/configs/axs101.h @@ -13,7 +13,6 @@ #define CONFIG_ARC700 #define CONFIG_ARC_MMU_VER 3 #define CONFIG_SYS_CACHELINE_SIZE 32 -#define CONFIG_SYS_CLK_FREQ 750000000 #define CONFIG_SYS_TIMER_RATE CONFIG_SYS_CLK_FREQ /* NAND controller DMA doesn't work correctly with D$ enabled */ diff --git a/include/configs/tb100.h b/include/configs/tb100.h index 8a861a8..e9218f7 100644 --- a/include/configs/tb100.h +++ b/include/configs/tb100.h @@ -15,7 +15,6 @@ #define CONFIG_ARC700 #define CONFIG_ARC_MMU_VER 3 #define CONFIG_SYS_CACHELINE_SIZE 32 -#define CONFIG_SYS_CLK_FREQ 500000000 #define CONFIG_SYS_TIMER_RATE CONFIG_SYS_CLK_FREQ /* |