arm: mach-tegra: enable sysreset driver

Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
This commit is contained in:
Svyatoslav Ryhel
2023-11-03 17:40:11 -04:00
committed by Tom Rini
parent 7084f34d0f
commit 102c4e3183
2 changed files with 3 additions and 9 deletions
+3
View File
@@ -60,6 +60,9 @@ config TEGRA_COMMON
select MISC
select OF_CONTROL
select SPI
select SYSRESET
select SPL_SYSRESET if SPL
select SYSRESET_TEGRA
imply CMD_DM
imply CRC32_VERIFY
-9
View File
@@ -84,12 +84,3 @@ void tegra_pmc_writel(u32 value, unsigned long offset)
writel(value, NV_PA_PMC_BASE + offset);
}
void reset_cpu(void)
{
u32 value;
value = tegra_pmc_readl(PMC_CNTRL);
value |= PMC_CNTRL_MAIN_RST;
tegra_pmc_writel(value, PMC_CNTRL);
}