arm: mach-tegra: enable sysreset driver
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
This commit is contained in:
committed by
Tom Rini
parent
7084f34d0f
commit
102c4e3183
@@ -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
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user