diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-03-17 22:28:15 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-03-17 22:28:15 -0400 |
commit | 0df0914d414a504b975f3cc66ace0c16ef55b7f3 (patch) | |
tree | c97ffa357943a8b226cdec1b9632c4cede813205 /arch/arm/plat-omap/sram.c | |
parent | 6899608533410557e6698cb9d4ff6df553916e98 (diff) | |
parent | 05f689400ea5fa3d71af82f910c8b140f87ad1f3 (diff) |
Merge branch 'omap-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6
* 'omap-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6: (258 commits)
omap: zoom: host should not pull up wl1271's irq line
arm: plat-omap: iommu: fix request_mem_region() error path
OMAP2+: Common CPU DIE ID reading code reads wrong registers for OMAP4430
omap4: mux: Remove duplicate mux modes
omap: iovmm: don't check 'da' to set IOVMF_DA_FIXED flag
omap: iovmm: disallow mapping NULL address when IOVMF_DA_ANON is set
omap2+: mux: Fix compile when CONFIG_OMAP_MUX is not selected
omap4: board-omap4panda: Initialise the serial pads
omap3: board-3430sdp: Initialise the serial pads
omap4: board-4430sdp: Initialise the serial pads
omap2+: mux: Add macro for configuring static with omap_hwmod_mux_init
omap2+: mux: Remove the use of IDLE flag
omap2+: Add separate list for dynamic pads to mux
perf: add OMAP support for the new power events
OMAP4: Add IVA OPP enteries.
OMAP4: Update Voltage Rail Values for MPU, IVA and CORE
OMAP4: Enable 800 MHz and 1 GHz MPU-OPP
OMAP3+: OPP: Replace voltage values with Macros
OMAP3: wdtimer: Fix CORE idle transition
Watchdog: omap_wdt: add fine grain runtime-pm
...
Fix up various conflicts in
- arch/arm/mach-omap2/board-omap3evm.c
- arch/arm/mach-omap2/clock3xxx_data.c
- arch/arm/mach-omap2/usb-musb.c
- arch/arm/plat-omap/include/plat/usb.h
- drivers/usb/musb/musb_core.h
Diffstat (limited to 'arch/arm/plat-omap/sram.c')
-rw-r--r-- | arch/arm/plat-omap/sram.c | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/arch/arm/plat-omap/sram.c b/arch/arm/plat-omap/sram.c index 68fcc7dc56e7..a3f50b34a90d 100644 --- a/arch/arm/plat-omap/sram.c +++ b/arch/arm/plat-omap/sram.c | |||
@@ -316,7 +316,7 @@ u32 omap2_set_prcm(u32 dpll_ctrl_val, u32 sdrc_rfr_val, int bypass) | |||
316 | } | 316 | } |
317 | #endif | 317 | #endif |
318 | 318 | ||
319 | #ifdef CONFIG_ARCH_OMAP2420 | 319 | #ifdef CONFIG_SOC_OMAP2420 |
320 | static int __init omap242x_sram_init(void) | 320 | static int __init omap242x_sram_init(void) |
321 | { | 321 | { |
322 | _omap2_sram_ddr_init = omap_sram_push(omap242x_sram_ddr_init, | 322 | _omap2_sram_ddr_init = omap_sram_push(omap242x_sram_ddr_init, |
@@ -337,7 +337,7 @@ static inline int omap242x_sram_init(void) | |||
337 | } | 337 | } |
338 | #endif | 338 | #endif |
339 | 339 | ||
340 | #ifdef CONFIG_ARCH_OMAP2430 | 340 | #ifdef CONFIG_SOC_OMAP2430 |
341 | static int __init omap243x_sram_init(void) | 341 | static int __init omap243x_sram_init(void) |
342 | { | 342 | { |
343 | _omap2_sram_ddr_init = omap_sram_push(omap243x_sram_ddr_init, | 343 | _omap2_sram_ddr_init = omap_sram_push(omap243x_sram_ddr_init, |
@@ -409,20 +409,6 @@ static inline int omap34xx_sram_init(void) | |||
409 | } | 409 | } |
410 | #endif | 410 | #endif |
411 | 411 | ||
412 | #ifdef CONFIG_ARCH_OMAP4 | ||
413 | static int __init omap44xx_sram_init(void) | ||
414 | { | ||
415 | printk(KERN_ERR "FIXME: %s not implemented\n", __func__); | ||
416 | |||
417 | return -ENODEV; | ||
418 | } | ||
419 | #else | ||
420 | static inline int omap44xx_sram_init(void) | ||
421 | { | ||
422 | return 0; | ||
423 | } | ||
424 | #endif | ||
425 | |||
426 | int __init omap_sram_init(void) | 412 | int __init omap_sram_init(void) |
427 | { | 413 | { |
428 | omap_detect_sram(); | 414 | omap_detect_sram(); |
@@ -436,8 +422,6 @@ int __init omap_sram_init(void) | |||
436 | omap243x_sram_init(); | 422 | omap243x_sram_init(); |
437 | else if (cpu_is_omap34xx()) | 423 | else if (cpu_is_omap34xx()) |
438 | omap34xx_sram_init(); | 424 | omap34xx_sram_init(); |
439 | else if (cpu_is_omap44xx()) | ||
440 | omap44xx_sram_init(); | ||
441 | 425 | ||
442 | return 0; | 426 | return 0; |
443 | } | 427 | } |