[U-Boot] [PATCHv5 1/4] Revert "tegra: Add support for setting up a as3722 PMIC"

Julian Scheel julian at jusst.de
Mon Sep 5 15:29:49 CEST 2016


This reverts commit 346451b5888c4663bccef4c5203357319aa41f99.
The pmic shall be initialised in board specific code, as it is done for
jetson-tk1 and meerkat. It can't be assumed that all boards have the pmic on
the same i2c bus.

Change-Id: I02d279b63ca72e143fadd85d4df68a929a658a12
Signed-off-by: Julian Scheel <julian at jusst.de>
Reviewed-by: Alban Bedel <alban.bedel at avionic-design.de>
---
 arch/arm/mach-tegra/board2.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/arch/arm/mach-tegra/board2.c b/arch/arm/mach-tegra/board2.c
index f08af72..af5095e 100644
--- a/arch/arm/mach-tegra/board2.c
+++ b/arch/arm/mach-tegra/board2.c
@@ -7,7 +7,6 @@
 
 #include <common.h>
 #include <dm.h>
-#include <errno.h>
 #include <ns16550.h>
 #include <linux/compiler.h>
 #include <linux/sizes.h>
@@ -37,7 +36,6 @@
 #include <asm/arch-tegra/mmc.h>
 #endif
 #include <asm/arch-tegra/xusb-padctl.h>
-#include <power/as3722.h>
 #include <i2c.h>
 #include <spi.h>
 #include "emc.h"
@@ -147,11 +145,6 @@ int board_init(void)
 		debug("Memory controller init failed: %d\n", err);
 #  endif
 # endif /* CONFIG_TEGRA_PMU */
-#ifdef CONFIG_AS3722_POWER
-	err = as3722_init(NULL);
-	if (err && err != -ENODEV)
-		return err;
-#endif
 #endif /* CONFIG_SYS_I2C_TEGRA */
 
 #ifdef CONFIG_USB_EHCI_TEGRA
-- 
2.9.3



More information about the U-Boot mailing list