From: Igor Grinberg Date: Tue, 28 Aug 2012 23:18:51 +0000 (+0300) Subject: ARM: OMAP: remove the sti console workaround X-Git-Tag: v3.7-rc1~162^2~12^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b61968e5cfbc511cefb7567e2d3e2fb722b35c61;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git ARM: OMAP: remove the sti console workaround 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 Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/mach-omap2/pm24xx.c b/arch/arm/mach-omap2/pm24xx.c index 2edeffc..9e54dc9 100644 --- a/arch/arm/mach-omap2/pm24xx.c +++ b/arch/arm/mach-omap2/pm24xx.c @@ -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