diff options
author | Guennadi Liakhovetski <lg@denx.de> | 2008-09-25 20:54:37 +0200 |
---|---|---|
committer | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2008-10-08 18:59:02 +0200 |
commit | 1ed7a7f0f571b13d46530f8f8b9aff3957f15a96 (patch) | |
tree | 51f79cf1b55dc8918ebc38aee36b539a66785839 /include/configs | |
parent | f41b144c11341b571eab7dcef6c4b8e03c92d2b2 (diff) | |
download | u-boot-imx-1ed7a7f0f571b13d46530f8f8b9aff3957f15a96.zip u-boot-imx-1ed7a7f0f571b13d46530f8f8b9aff3957f15a96.tar.gz u-boot-imx-1ed7a7f0f571b13d46530f8f8b9aff3957f15a96.tar.bz2 |
i.MX31: switch to CFG_HZ=1000
Switch to the standard CFG_HZ=1000 value, while at it, minor white-space
cleanup, remove CFG_CLKS_IN_HZ from config-headers. Tested on mx31ads,
provides 2% or 0.4% precision depending on the
CONFIG_MX31_TIMER_HIGH_PRECISION flag. Measured with stop-watch on 100s
boot-delay.
Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/imx31_litekit.h | 4 | ||||
-rw-r--r-- | include/configs/imx31_phycore.h | 2 | ||||
-rw-r--r-- | include/configs/mx31ads.h | 4 |
3 files changed, 3 insertions, 7 deletions
diff --git a/include/configs/imx31_litekit.h b/include/configs/imx31_litekit.h index 60916b9..9a655aa 100644 --- a/include/configs/imx31_litekit.h +++ b/include/configs/imx31_litekit.h @@ -122,11 +122,9 @@ #define CFG_MEMTEST_START 0 /* memtest works on */ #define CFG_MEMTEST_END 0x10000 -#undef CFG_CLKS_IN_HZ /* everything, incl board info, in Hz */ - #define CFG_LOAD_ADDR 0 /* default load address */ -#define CFG_HZ 32000 +#define CFG_HZ 1000 #define CONFIG_CMDLINE_EDITING 1 diff --git a/include/configs/imx31_phycore.h b/include/configs/imx31_phycore.h index bf2a8dd..1540203 100644 --- a/include/configs/imx31_phycore.h +++ b/include/configs/imx31_phycore.h @@ -126,7 +126,7 @@ #define CFG_LOAD_ADDR 0 /* default load address */ -#define CFG_HZ 32000 +#define CFG_HZ 1000 #define CONFIG_CMDLINE_EDITING 1 diff --git a/include/configs/mx31ads.h b/include/configs/mx31ads.h index b904d81..04790fd 100644 --- a/include/configs/mx31ads.h +++ b/include/configs/mx31ads.h @@ -139,11 +139,9 @@ #define CFG_MEMTEST_START 0 /* memtest works on */ #define CFG_MEMTEST_END 0x10000 -#undef CFG_CLKS_IN_HZ /* everything, incl board info, in Hz */ - #define CFG_LOAD_ADDR CONFIG_LOADADDR -#define CFG_HZ CONFIG_MX31_CLK32 /* use 32kHz clock as source */ +#define CFG_HZ 1000 #define CONFIG_CMDLINE_EDITING 1 |