From 8723626dd9fcee629ddbd4d96d6d910b2301422d Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Mon, 2 Apr 2012 13:18:54 +0000 Subject: [PATCH] tegra: Set up PMU for Nvidia boards Adjust PMU to permit maximum frequency operation. Signed-off-by: Simon Glass Signed-off-by: Tom Warren --- board/nvidia/common/board.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/board/nvidia/common/board.c b/board/nvidia/common/board.c index 85dd359ec9..640b9c4475 100644 --- a/board/nvidia/common/board.c +++ b/board/nvidia/common/board.c @@ -31,6 +31,8 @@ #include #include #include +#include +#include #include #include #include @@ -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 -- 2.39.5