summaryrefslogtreecommitdiffstats
path: root/Kconfig
diff options
context:
space:
mode:
authorAlexey Brodkin <Alexey.Brodkin@synopsys.com>2015-01-13 18:49:01 +0300
committerTom Rini <trini@ti.com>2015-01-14 11:37:39 -0500
commit33d88183506f46ab618d1a5211268ae40df092de (patch)
treec788ca488d849cc1a6eaf46370ce3809977dd6b0 /Kconfig
parent9f9d8704b6566c24b6efaa23abc42cfbc5aadb36 (diff)
downloadblackbird-obmc-uboot-33d88183506f46ab618d1a5211268ae40df092de.tar.gz
blackbird-obmc-uboot-33d88183506f46ab618d1a5211268ae40df092de.zip
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 'Kconfig')
-rw-r--r--Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/Kconfig b/Kconfig
index 60cf1dd1c1..4157da3c68 100644
--- a/Kconfig
+++ b/Kconfig
@@ -143,6 +143,12 @@ config SYS_TEXT_BASE
help
TODO: Move CONFIG_SYS_TEXT_BASE for all the architecture
+config SYS_CLK_FREQ
+ depends on ARC
+ int "CPU clock frequency"
+ help
+ TODO: Move CONFIG_SYS_CLK_FREQ for all the architecture
+
endmenu # Boot images
source "arch/Kconfig"
OpenPOWER on IntegriCloud