Skip to content

Commit

Permalink
ARM: OMAP: remove the sti console workaround
Browse files Browse the repository at this point in the history
The sti console workaround uses the OMAP custom tags.
Those tags are not used in upstream kernel and therefore the workaround
never fires on upstream kernels.
Remove the sti console workaround tags part.
This leaves the workaround functional part intact so can be reused if
needed.

Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Signed-off-by: Tony Lindgren <tony@atomide.com>
  • Loading branch information
Igor Grinberg authored and Tony Lindgren committed Sep 10, 2012
1 parent e54adb1 commit b61968e
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions arch/arm/mach-omap2/pm24xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -352,16 +352,6 @@ int __init omap2_pm_init(void)

prcm_setup_regs();

/* Hack to prevent MPU retention when STI console is enabled. */
{
const struct omap_sti_console_config *sti;

sti = omap_get_config(OMAP_TAG_STI_CONSOLE,
struct omap_sti_console_config);
if (sti != NULL && sti->enable)
sti_console_enabled = 1;
}

/*
* We copy the assembler sleep/wakeup routines to SRAM.
* These routines need to be in SRAM as that's the only
Expand Down

0 comments on commit b61968e

Please sign in to comment.