Kconfig: move CONFIG_SYS_CLK_FREQ to Kconfig
authorAlexey Brodkin <Alexey.Brodkin@synopsys.com>
Tue, 13 Jan 2015 15:49:01 +0000 (18:49 +0300)
committerTom Rini <trini@ti.com>
Wed, 14 Jan 2015 16:37:39 +0000 (11:37 -0500)
commit33d88183506f46ab618d1a5211268ae40df092de
treec788ca488d849cc1a6eaf46370ce3809977dd6b0
parent9f9d8704b6566c24b6efaa23abc42cfbc5aadb36
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>
Kconfig
configs/arcangel4-be_defconfig
configs/arcangel4_defconfig
configs/axs101_defconfig
configs/tb100_defconfig
include/configs/arcangel4-be.h
include/configs/arcangel4.h
include/configs/axs101.h
include/configs/tb100.h