diff options
author | Thierry Reding <treding@nvidia.com> | 2015-08-20 11:42:23 +0200 |
---|---|---|
committer | Tom Warren <twarren@nvidia.com> | 2015-09-16 16:10:23 -0700 |
commit | f8007235a0a50cd3538b47d1fd02e96e1f64a285 (patch) | |
tree | 188772ea4ed63a14b3d43deac09d621b5a31424a /include | |
parent | ca2d6dc25e9bbe623e3cf1467fa0b3ce4a7b70a8 (diff) | |
download | u-boot-imx-f8007235a0a50cd3538b47d1fd02e96e1f64a285.zip u-boot-imx-f8007235a0a50cd3538b47d1fd02e96e1f64a285.tar.gz u-boot-imx-f8007235a0a50cd3538b47d1fd02e96e1f64a285.tar.bz2 |
p2571: Remove hard-coded counter frequency
The counter frequency is derived from clk_m on Tegra, but that clock can
be configured by the primary bootloader to run at the same frequency as
the oscillator (38.4 MHz on Tegra210) or a divided down frequency (most
typically 19.2 MHz). Remove the hard-coded frequency and allow the timer
setup code to query the correct value at runtime.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/p2571.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/configs/p2571.h b/include/configs/p2571.h index 51653bb..c65d3e5 100644 --- a/include/configs/p2571.h +++ b/include/configs/p2571.h @@ -60,8 +60,6 @@ #include "tegra-common-usb-gadget.h" #include "tegra-common-post.h" -/* Crystal is 38.4MHz. clk_m runs at half that rate */ -#define COUNTER_FREQUENCY 19200000 #define CONFIG_OF_BOARD_SETUP #endif /* _P2571_H */ |