9
0
Fork 0

tegra: fix MESLECT clock enable

Don't disable clk to unrelated devices in the process.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Lucas Stach 2014-06-03 22:35:00 +02:00 committed by Sascha Hauer
parent 3e5f060696
commit 3d6fcedfeb
2 changed files with 3 additions and 1 deletions

View File

@ -31,3 +31,5 @@
#define CRC_RST_DEV_V_MSELECT (1 << 3)
#define CRC_RST_DEV_V_CLR 0x434
#define CRC_CLK_OUT_ENB_V_SET 0x440

View File

@ -177,7 +177,7 @@ static void start_cpu0_clocks(void)
CRC_CLK_SOURCE_MSEL_SRC_SHIFT),
TEGRA_CLK_RESET_BASE + CRC_CLK_SOURCE_MSEL);
writel(CRC_CLK_OUT_ENB_V_MSELECT,
TEGRA_CLK_RESET_BASE + CRC_CLK_OUT_ENB_V);
TEGRA_CLK_RESET_BASE + CRC_CLK_OUT_ENB_V_SET);
tegra_ll_delay_usec(3);
writel(CRC_RST_DEV_V_MSELECT,
TEGRA_CLK_RESET_BASE + CRC_RST_DEV_V_CLR);