diff mbox

[U-Boot,6/6] p2571: Remove hard-coded counter frequency

Message ID 1440063743-22838-6-git-send-email-thierry.reding@gmail.com
State Accepted
Delegated to: Tom Warren
Headers show

Commit Message

Thierry Reding Aug. 20, 2015, 9:42 a.m. UTC
From: Thierry Reding <treding@nvidia.com>

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/p2571.h | 1 -
 1 file changed, 1 deletion(-)
diff mbox

Patch

diff --git a/include/configs/p2571.h b/include/configs/p2571.h
index 356c941a773f..87abee603dc1 100644
--- a/include/configs/p2571.h
+++ b/include/configs/p2571.h
@@ -61,7 +61,6 @@ 
 #include "tegra-common-usb-gadget.h"
 #include "tegra-common-post.h"
 
-#define COUNTER_FREQUENCY	38400000
 #define CONFIG_OF_BOARD_SETUP
 
 #endif /* _P2571_H */