diff mbox

[U-Boot,08/10] arm: am437x: cm-t43: get rid of enable_vtt_regulator()

Message ID 1455902390-5387-9-git-send-email-nikita@compulab.co.il
State Accepted
Commit e038e2a89b213640143d6ab1bbf73b134292e4dc
Delegated to: Tom Rini
Headers show

Commit Message

Nikita Kiryanov Feb. 19, 2016, 5:19 p.m. UTC
CM-T43 does not have a vtt regulator. Remove the function that's supposed
to enable it.

Cc: Tom Rini <trini@konsulko.com>
Cc: Albert Aribaud <albert.u.boot@aribaud.net>
Cc: Igor Grinberg <grinberg@compulab.co.il>
Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
---
 board/compulab/cm_t43/spl.c | 12 ------------
 1 file changed, 12 deletions(-)

Comments

Tom Rini Feb. 20, 2016, 12:55 a.m. UTC | #1
On Fri, Feb 19, 2016 at 07:19:48PM +0200, Nikita Kiryanov wrote:

> CM-T43 does not have a vtt regulator. Remove the function that's supposed
> to enable it.
> 
> Cc: Tom Rini <trini@konsulko.com>
> Cc: Albert Aribaud <albert.u.boot@aribaud.net>
> Cc: Igor Grinberg <grinberg@compulab.co.il>
> Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>

Reviewed-by: Tom Rini <trini@konsulko.com>
Tom Rini Feb. 25, 2016, 3:25 p.m. UTC | #2
On Fri, Feb 19, 2016 at 07:19:48PM +0200, Nikita Kiryanov wrote:

> CM-T43 does not have a vtt regulator. Remove the function that's supposed
> to enable it.
> 
> Cc: Tom Rini <trini@konsulko.com>
> Cc: Albert Aribaud <albert.u.boot@aribaud.net>
> Cc: Igor Grinberg <grinberg@compulab.co.il>
> Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
> Reviewed-by: Tom Rini <trini@konsulko.com>

Applied to u-boot/master, thanks!
diff mbox

Patch

diff --git a/board/compulab/cm_t43/spl.c b/board/compulab/cm_t43/spl.c
index 03ecf8a..520de24 100644
--- a/board/compulab/cm_t43/spl.c
+++ b/board/compulab/cm_t43/spl.c
@@ -100,22 +100,10 @@  const struct dpll_params *get_dpll_per_params(void)
 	return &dpll_per;
 }
 
-static void enable_vtt_regulator(void)
-{
-	u32 temp;
-
-	writel(GPIO_CTRL_ENABLEMODULE, AM33XX_GPIO5_BASE + OMAP_GPIO_CTRL);
-	writel(GPIO_SETDATAOUT(7), AM33XX_GPIO5_BASE + OMAP_GPIO_SETDATAOUT);
-	temp = readl(AM33XX_GPIO5_BASE + OMAP_GPIO_OE);
-	temp = temp & ~(GPIO_OE_ENABLE(7));
-	writel(temp, AM33XX_GPIO5_BASE + OMAP_GPIO_OE);
-}
-
 void sdram_init(void)
 {
 	unsigned long ram_size;
 
-	enable_vtt_regulator();
 	config_ddr(0, &ioregs_ddr3, NULL, NULL, &ddr3_emif_regs, 0);
 	ram_size = get_ram_size((long int *)CONFIG_SYS_SDRAM_BASE, 0x80000000);
 	if (ram_size == 0x80000000 ||