sdrc2xxx.c (bf61c8840efe60fd8f91446860b63338fb424158) | sdrc2xxx.c (edfaf05c2fcb853fcf35f12aeb9c340f5913337f) |
---|---|
1/* 2 * linux/arch/arm/mach-omap2/sdrc2xxx.c 3 * 4 * SDRAM timing related functions for OMAP2xxx 5 * 6 * Copyright (C) 2005, 2008 Texas Instruments Inc. 7 * Copyright (C) 2005, 2008 Nokia Corporation 8 * --- 89 unchanged lines hidden (view full) --- 98 m_type = omap2xxx_sdrc_get_type(); 99 100 local_irq_save(flags); 101 /* 102 * XXX These calls should be abstracted out through a 103 * prm2xxx.c function 104 */ 105 if (cpu_is_omap2420()) | 1/* 2 * linux/arch/arm/mach-omap2/sdrc2xxx.c 3 * 4 * SDRAM timing related functions for OMAP2xxx 5 * 6 * Copyright (C) 2005, 2008 Texas Instruments Inc. 7 * Copyright (C) 2005, 2008 Nokia Corporation 8 * --- 89 unchanged lines hidden (view full) --- 98 m_type = omap2xxx_sdrc_get_type(); 99 100 local_irq_save(flags); 101 /* 102 * XXX These calls should be abstracted out through a 103 * prm2xxx.c function 104 */ 105 if (cpu_is_omap2420()) |
106 __raw_writel(0xffff, OMAP2420_PRCM_VOLTSETUP); | 106 writel_relaxed(0xffff, OMAP2420_PRCM_VOLTSETUP); |
107 else | 107 else |
108 __raw_writel(0xffff, OMAP2430_PRCM_VOLTSETUP); | 108 writel_relaxed(0xffff, OMAP2430_PRCM_VOLTSETUP); |
109 omap2_sram_reprogram_sdrc(level, dll_ctrl, m_type); 110 curr_perf_level = level; 111 local_irq_restore(flags); 112 113 return prev; 114} 115 116/* Used by the clock framework during CORE DPLL changes */ --- 53 unchanged lines hidden --- | 109 omap2_sram_reprogram_sdrc(level, dll_ctrl, m_type); 110 curr_perf_level = level; 111 local_irq_restore(flags); 112 113 return prev; 114} 115 116/* Used by the clock framework during CORE DPLL changes */ --- 53 unchanged lines hidden --- |