[U-Boot] [PATCH 08/14] tegra: Set up PMU for Nvidia boards
Simon Glass
sjg at chromium.org
Mon Dec 26 20:33:01 CET 2011
Adjust PMU to permit maximum frequency operation.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
board/nvidia/common/board.c | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/board/nvidia/common/board.c b/board/nvidia/common/board.c
index 63edfdb..10c0a67 100644
--- a/board/nvidia/common/board.c
+++ b/board/nvidia/common/board.c
@@ -31,6 +31,8 @@
#include <asm/arch/clk_rst.h>
#include <asm/arch/clock.h>
#include <asm/arch/pinmux.h>
+#include <asm/arch/pmc.h>
+#include <asm/arch/pmu.h>
#include <asm/arch/uart.h>
#include <spi.h>
#include <asm/arch/usb.h>
@@ -81,6 +83,14 @@ int board_init(void)
board_usb_init(gd->fdt_blob);
#endif
+#ifdef CONFIG_TEGRA2_I2C
+ i2c_init_board();
+
+#ifdef CONFIG_TEGRA_PMU
+ pmu_set_nominal();
+#endif
+#endif
+
return 0;
}
--
1.7.3.1
More information about the U-Boot
mailing list