summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2011-07-05 10:25:36 -0700
committerSimon Glass <sjg@chromium.org>2011-08-29 10:58:45 -0700
commit59b407de2a0e0e26c0dd649ef73e7ff3e83f3c95 (patch)
tree88a30d34a2de7e9106f07804c0e235c322501b3c /board
parenta092cc78c20fcd1f9ee298f3ead4fa0f9f1e09e3 (diff)
tegra2: Check that PLLP is correct if already set up
We skip initialization of the peripheral PLL if it has already been set up. This adds a check that the value we see is the expected value. We should perhaps update the clock when it doesn't match our expectations. Filed a bug for that: crosbug.com/17295 BUG=chromium-os:17054 TEST=manual, change parameters to clock_set_rate() and see that a warning is produced. Change-Id: I57953521798bef7671b3b1731a3e5addbd7e05d7 Reviewed-on: http://gerrit.chromium.org/gerrit/3652 Tested-by: Simon Glass <sjg@chromium.org> Reviewed-by: Che-Liang Chiou <clchiou@chromium.org>
Diffstat (limited to 'board')
-rw-r--r--board/nvidia/common/board.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/nvidia/common/board.c b/board/nvidia/common/board.c
index bb39b5d27bf..fc993052405 100644
--- a/board/nvidia/common/board.c
+++ b/board/nvidia/common/board.c
@@ -201,6 +201,7 @@ int board_init(void)
#ifdef CONFIG_USB_EHCI_TEGRA
board_usb_init(gd->blob);
#endif
+ clock_verify();
#ifdef CONFIG_TEGRA2_SPI
spi_init();
#endif