summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-04-02 13:18:54 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-05-15 08:31:38 +0200
commit8723626dd9fcee629ddbd4d96d6d910b2301422d (patch)
tree3e69e89f4e2a25119cb2a8bc885663d3de3c21e9 /board
parent6860b4a1cc02c673278bb94667436ed9c1ad2557 (diff)
downloadu-boot-imx-8723626dd9fcee629ddbd4d96d6d910b2301422d.zip
u-boot-imx-8723626dd9fcee629ddbd4d96d6d910b2301422d.tar.gz
u-boot-imx-8723626dd9fcee629ddbd4d96d6d910b2301422d.tar.bz2
tegra: Set up PMU for Nvidia boards
Adjust PMU to permit maximum frequency operation. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'board')
-rw-r--r--board/nvidia/common/board.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/board/nvidia/common/board.c b/board/nvidia/common/board.c
index 85dd359..640b9c4 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,10 @@ int board_init(void)
#error "You must define CONFIG_SYS_I2C_INIT_BOARD to use i2c on Nvidia boards"
#endif
i2c_init_board();
+# ifdef CONFIG_TEGRA_PMU
+ if (pmu_set_nominal())
+ debug("Failed to select nominal voltages\n");
+# endif
#endif
#ifdef CONFIG_USB_EHCI_TEGRA