[U-Boot] [PATCH 4/6] e2220-1170: Remove hard-coded counter frequency

Thierry Reding
2015-08-20T09:42:21Z

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>
---
include/configs/e2220-1170.h | 2 --
1 file changed, 2 deletions(-)

diff --git a/include/configs/e2220-1170.h b/include/configs/e2220-1170.h
index dff3f2a35733..47d491f05078 100644
--- a/include/configs/e2220-1170.h
+++ b/include/configs/e2220-1170.h
@@ -60,6 +60,4 @@
#include "tegra-common-usb-gadget.h"
#include "tegra-common-post.h"

-#define COUNTER_FREQUENCY 38400000
-
#endif /* _E2220_1170_H */
--
2.4.5