summaryrefslogtreecommitdiff
path: root/include/config_fallbacks.h
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-10-24 01:30:40 +0900
committerTom Rini <trini@ti.com>2014-10-23 13:18:59 -0400
commit8c688bc4de4856f20193e6f0bc92e7273e8cf7ad (patch)
tree37d0383a340b19b3b4f290857e65af51212bb067 /include/config_fallbacks.h
parentb2b8a6967a0579fd5cace0280d9cf0b54d3bbf1f (diff)
downloadu-boot-imx-8c688bc4de4856f20193e6f0bc92e7273e8cf7ad.zip
u-boot-imx-8c688bc4de4856f20193e6f0bc92e7273e8cf7ad.tar.gz
u-boot-imx-8c688bc4de4856f20193e6f0bc92e7273e8cf7ad.tar.bz2
kconfig: move CONFIG_SYS_HZ to lib/Kconfig
CONFIG_SYS_HZ is always defined as 1000 in config_fallbacks.h (but some boards still have redundant definitions). This commit moves the definition and the document in README to Kconfig. Since lib/Kconfig can assure that CONFIG_SYS_HZ is 1000, the sanity check in lib/time.c should be removed. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Reviewed-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'include/config_fallbacks.h')
-rw-r--r--include/config_fallbacks.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/config_fallbacks.h b/include/config_fallbacks.h
index 76818f6..7d8daa2 100644
--- a/include/config_fallbacks.h
+++ b/include/config_fallbacks.h
@@ -79,10 +79,6 @@
#define CONFIG_SYS_PROMPT "=> "
#endif
-#ifndef CONFIG_SYS_HZ
-#define CONFIG_SYS_HZ 1000
-#endif
-
#ifndef CONFIG_FIT_SIGNATURE
#define CONFIG_IMAGE_FORMAT_LEGACY
#endif