From 59b407de2a0e0e26c0dd649ef73e7ff3e83f3c95 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Tue, 5 Jul 2011 10:25:36 -0700 Subject: 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 Reviewed-by: Che-Liang Chiou --- board/nvidia/common/board.c | 1 + 1 file changed, 1 insertion(+) (limited to 'board') 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 -- cgit v1.2.3