Skip to content

Commit

Permalink
arm: mach-tegra: enable sysreset driver
Browse files Browse the repository at this point in the history
Signed-off-by: Svyatoslav Ryhel <[email protected]>
  • Loading branch information
clamor-s committed Oct 3, 2023
1 parent 49dcdb5 commit bcc91af
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
3 changes: 3 additions & 0 deletions arch/arm/mach-tegra/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ config TEGRA_COMMON
select MISC
select OF_CONTROL
select SPI
select SYSRESET
select SPL_SYSRESET
select SYSRESET_TEGRA
imply CMD_DM
imply CRC32_VERIFY

Expand Down
9 changes: 0 additions & 9 deletions arch/arm/mach-tegra/pmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

0 comments on commit bcc91af

Please sign in to comment.