]> git.sur5r.net Git - u-boot/commit
tegra: Turn off power detect in board init
authorWei Ni <wni@nvidia.com>
Mon, 2 Apr 2012 13:18:58 +0000 (13:18 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Tue, 15 May 2012 06:31:38 +0000 (08:31 +0200)
commit5aff021c61fffa9f6a58038db98e8dc29598813b
tree47ba09a16fd2f39a91943a6bb429fc35315a0da4
parent67ac5797adb1fad3b027058100cd6fa58c5b6cb6
tegra: Turn off power detect in board init

Tegra core power rail has leakage voltage around 0.2V while system in
suspend mode. The source of the leakage should be coming from PMC power
detect logic for IO rails power detection.
That can be disabled by writing a '0' to PWR_DET_LATCH followed by writing '0'
to PWR_DET (APBDEV_PMC_PWR_DET_0).

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
board/nvidia/common/board.c