pm34xx.c (458e999eb14a301d4176783c8fcb277f5d009b4e) pm34xx.c (c4236d2e7913d18d058a018f0d19473eb6a11a3c)
1/*
2 * OMAP3 Power Management Routines
3 *
4 * Copyright (C) 2006-2008 Nokia Corporation
5 * Tony Lindgren <tony@atomide.com>
6 * Jouni Hogander
7 *
8 * Copyright (C) 2007 Texas Instruments, Inc.

--- 982 unchanged lines hidden (view full) ---

991 omap34xx_cpu_suspend_sz);
992 if (omap_type() != OMAP2_DEVICE_TYPE_GP)
993 _omap_save_secure_sram = omap_sram_push(save_secure_ram_context,
994 save_secure_ram_context_sz);
995}
996
997static void __init pm_errata_configure(void)
998{
1/*
2 * OMAP3 Power Management Routines
3 *
4 * Copyright (C) 2006-2008 Nokia Corporation
5 * Tony Lindgren <tony@atomide.com>
6 * Jouni Hogander
7 *
8 * Copyright (C) 2007 Texas Instruments, Inc.

--- 982 unchanged lines hidden (view full) ---

991 omap34xx_cpu_suspend_sz);
992 if (omap_type() != OMAP2_DEVICE_TYPE_GP)
993 _omap_save_secure_sram = omap_sram_push(save_secure_ram_context,
994 save_secure_ram_context_sz);
995}
996
997static void __init pm_errata_configure(void)
998{
999 if (cpu_is_omap3630())
999 if (cpu_is_omap3630()) {
1000 pm34xx_errata |= PM_RTA_ERRATUM_i608;
1000 pm34xx_errata |= PM_RTA_ERRATUM_i608;
1001 /* Enable the l2 cache toggling in sleep logic */
1002 enable_omap3630_toggle_l2_on_restore();
1003 }
1001}
1002
1003static int __init omap3_pm_init(void)
1004{
1005 struct power_state *pwrst, *tmp;
1006 struct clockdomain *neon_clkdm, *per_clkdm, *mpu_clkdm, *core_clkdm;
1007 int ret;
1008

--- 92 unchanged lines hidden ---
1004}
1005
1006static int __init omap3_pm_init(void)
1007{
1008 struct power_state *pwrst, *tmp;
1009 struct clockdomain *neon_clkdm, *per_clkdm, *mpu_clkdm, *core_clkdm;
1010 int ret;
1011

--- 92 unchanged lines hidden ---