- 28 Nov, 2007 12 commits
-
-
Jarkko Lavinen authored
Modifications at board-n800-mmc.c and board-n800.c files to work with MMC multislot support. Signed-off-by: Jarkko Lavinen <jarkko.lavinen@nokia.com> Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com> Signed-off-by: Carlos Eduardo Aguiar <carlos.aguiar@indt.org.br> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Carlos Eduardo Aguiar authored
Modifications at arch/arm/plat-omap/devices.c and include/asm-arm/arch-omap/mmc.h to use multislot structures. Signed-off-by: Carlos Eduardo Aguiar <carlos.aguiar@indt.org.br> Signed-off-by: Felipe Balbi <felipe.lima@indt.org.br> Signed-off-by: Jarkko Lavinen <jarkko.lavinen@nokia.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Carlos Eduardo Aguiar authored
Using setup_timer() instead of init_timer on omap.c file. Signed-off-by: Carlos Eduardo Aguiar <carlos.aguiar@indt.org.br> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Jarkko Lavinen authored
When a card is removed while it is being accessed, a command can get stuck so that no timeout or end of command interrupt ever occurs. The command getting stuck is almost always CDM12, but also the other commands can get stuck. Catch a stuck command with a timer and try sending the initiliazation stream until the controller starts running again and responds with the end of command status. Signed-off-by: Jarkko Lavinen <jarkko.lavinen@nokia.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Juha Yrjola authored
General code cleanup, modifications at some dev_* functions and other hacks at mmc_omap_irq() for MMC multislot support. Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com> Signed-off-by: Carlos Eduardo Aguiar <carlos.aguiar@indt.org.br> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Juha Yrjola authored
Modifications at power functions to MMC multislot support. This patch also move board-specific code out of MMC OMAP driver. Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com> Signed-off-by: Carlos Eduardo Aguiar <carlos.aguiar@indt.org.br> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Juha Yrjola authored
Fix the data timeout calculation for MMC multislot support. Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com> Signed-off-by: Jarkko Lavinen <jarkko.lavinen@nokia.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Juha Yrjola authored
New functions to support MMC multislot: mmc_omap_release_dma() and mmc_omap_abort_xfer(). Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Juha Yrjola Juha Yrjola authored
This patch adds back MMC cover switch support in a way that supports multiple slots. Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com> Signed-off-by: Jarkko Lavinen <jarkko.lavinen@nokia.com> Signed-off-by: Carlos Eduardo Aguiar <carlos.aguiar@indt.org.br>
-
Juha Yrjola authored
Introduce new MMC multislot structure and change driver to use it. Note that MMC clocking is now enabled in mmc_omap_select_slot() and disabled in mmc_omap_release_slot(). Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com> Signed-off-by: Jarkko Lavinen <jarkko.lavinen@nokia.com> Signed-off-by: Carlos Eduardo Aguiar <carlos.aguiar@indt.org.br> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Tony Lindgren authored
This patch removes the MMC cover switch handling temporarily to make following multislot patches cleaner. MMC cover switch handling will be added back in later patches after adding basic multislot support. Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Carlos Eduardo Aguiar authored
Attribution necessary only if the ch is not chained on arch/arm/plat-omap/dma.c Signed-off-by: Carlos Eduardo Aguiar <carlos.aguiar@indt.org.br> Signed-off-by: Ragner Magalhaes <ragner.magalhaes@indt.org.br> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
- 27 Nov, 2007 1 commit
-
-
Kevin Hilman authored
Remove MPU-timer based sched_clock() in favor of the common one based on 32k sync timer which works across all OMAP1/2/3 platforms. Using 32k based one also gives a valid sched_clock() very early in the boot process. Signed-off-by: Kevin Hilman <khilman@mvista.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
- 23 Nov, 2007 21 commits
-
-
Paul Walmsley authored
Create a global variable, omap2_ctrl_base, that is initialized with the appropriate control module base address at runtime during architecture initialization. Convert users of the preprocessor define OMAP2_CTRL_BASE to use the runtime-computed address, and get rid of OMAP2_CTRL_BASE. Create ctrl_{read,write}_reg() to handle register access to these functions - these live in a newly-created file, arch/arm/mach-omap2/control.h. Add the control register defines that we currently use into a newly-created file, include/asm-arm/arch-omap/control.h, where they can be imported into assembly-language code. Signed-off-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Paul Walmsley authored
Create a global variable, omap2_sms_base, that is initialized with the appropriate SMS base address at runtime during architecture initialization. Convert users of the preprocessor define OMAP2_SMS_BASE to use the runtime-computed address, and get rid of OMAP2_SMS_BASE. Create sms_{read,write}_reg() to handle register access to these functions, located in arch/arm/mach-omap2/sdrc.h. Define the only SMS register that we currently use, SMS_SYSCONFIG, in include/asm-arm/arch-omap/sdrc.h, so it can be included in assembly language files. Signed-off-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Paul Walmsley authored
Create a global variable, omap2_sdrc_base, that is initialized with the appropriate SDRC base address at runtime during architecture initialization. Convert users of the preprocessor define, OMAP2_SDRC_BASE, to use the runtime-computed address. Create sdrc_{read,write}_reg() to handle register access to these functions - these live in a newly-created file, asm/arch/mach-omap2/sdrc.h. Move the SDRC register definitions into include/asm-arm/arch-omap/sdrc.h, so they can be included in assembly language files. Signed-off-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Paul Walmsley authored
Add the omap2_set_globals_{242x,243x,343x}() functions. These functions are called early upon boot in the map_io() functions in the board-specific init files. The functions are currently no-ops. Later patches augment these functions to set global variables to the base virtual addresses of OMAP modules. This makes it possible to write code that can run without modification on multiple OMAP chip revisions. The *_set_globals_* functions are added into arch/arm/plat-omap/common.c. This patch currently only introduces OMAP2 and OMAP3 functions, but a later patch introduces an OMAP16XX-specific version, omap1_set_globals_16xx(). Also, while we are here, we get rid of the unused OMAP_L4_BASE define. Signed-off-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Anand Gadiyar authored
Fixes warnings during compilation with CONFIG_USB_GADGET_MUSB_HDRC=y Signed-off-by: Anand Gadiyar <gadiyar@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Anand Gadiyar authored
Fix typo in clock34xx.h Signed-off-by: Anand Gadiyar <gadiyar@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Eduardo Valentin authored
- Removes unnecessary structures and functions when config OV9640 is not selected. - Reduces powerset code for ov9640. Signed-off-by: Eduardo Valentin <eduardo.valentin@indt.org.br> Acked-by: Trilok Soni <soni.trilok@gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Sakari Ailus authored
Also take into account that videobuf_reqbufs now returns number of buffers when it succeeds. (Thanks for Eduardo Valentin for initial patch.) Signed-off-by: Sakari Ailus <sakari.ailus@nokia.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Paul Walmsley authored
This patch implements a suggestion by Richard Woodruff <r-woodruff2@ti.com>. omap_sram_push() copies executable code into SRAM memory. Currently this happens before Linux executes anything from the SRAM, so we don't have to worry about evicting any SRAM lines from the I-cache. But at some point in the future, the SRAM might be used more dynamically, adding and removing code while the system is running. So we should ensure that the I-cache is clean or at least up-to-date after the copy. Signed-off-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Richard Woodruff <r-woodruff2@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Pandita, Vikram authored
This patch: 1) Correctly defines the base address for HSUSB_OTG block (MUSB) Patch by Filipe had incorrect base address for 34xx 2) Includes the base addresses of: USBTLL and USBHOST present in 3430ES2.0 Signed-off-by: Vikram Pandita <vikram.pandita@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Felipe Balbi authored
We don't have ARCH_OMAP343X. Change to ARCH_OMAP34XX Signed-off-by: Felipe Balbi <felipe.lima@indt.org.br> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Felipe Balbi authored
pr_err definition was moved to include/linux/kernel.h it's unecessary keeping that in twl4030_core.c Signed-off-by: Felipe Balbi <felipe.lima@indt.org.br> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Kevin Hilman authored
Enable sdrc_ick on init so it doesn't get disabled when CONFIG_OMAP_RESET_CLOCKS=y Signed-off-by: Kevin Hilman <khilman@mvista.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Kevin Hilman authored
Several of the ICLKs which are in OMAP3430_PER_MOD were mistakenly declared as being in WKUP_MOD. Put them in to PER_MOD. Signed-off-by: Kevin Hilman <khilman@mvista.com> Acked-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Paul Walmsley authored
board-3430sdp.c tries to clk_get core_l3_ck. This clock doesn't exist any longer in the current clock34xx.h, so it fails. The code then tries to fetch the clock's rate, which is also not currently used. This is dead code, so remove it. Tested on 3430SDP ES1. Signed-off-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Kevin Hilman authored
Signed-off-by: Kevin Hilman <khilman@mvista.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Kevin Hilman authored
When CONFIG_OMAP_RESET_CLOCKS=y is enabled on OMAP3, the 32k sync clock is disabled, resulting in a crash when any access to it is done, including a sched_clock(). Signed-off-by: Kevin Hilman <khilman@mvista.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Tony Lindgren authored
Update osk defconfig for NO_HZ Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Kevin Hilman authored
Move now OMAP1-specific timer32k code to mach-omap1 since OMAP2/3 32k timers are done in gptimer code. Signed-off-by: Kevin Hilman <khilman@mvista.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Kevin Hilman authored
Since 32k timer code is moving to OMAP1 specific dir, move the 32k-based sched_clock() into common code where it is based on the 32k sync counter and can be used even when using MPU timer. While moving, change the ticks-to-nsecs conversion to use the helper functions provided by clocksource.h. Also removed the unused ticks_to_usec, leaving only ticks_to_nsec. Signed-off-by: Kevin Hilman <khilman@mvista.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Kevin Hilman authored
On OMAP2/3, the gp-timer code can be used for a 32kHz timer simply by setting the source to be the 32k clock instead of sys_clk. This patch uses the mach-omap2/timer-gp.c code for 32kHz timer on OMAP2, moving the logic into mach-omap2/timer-gp.c, and not using plat-omap/timer32k.c which, for OMAP2, is redundant with the timer-gp code. Also, if CONFIG_OMAP_32K_TIMER is enabled, the gptimer-based clocksource is not used. Instead the default 32k sync counter is used as the clocksource (see the clocksource in plat-omap/common.c.) This is important for sleep/suspend so there is a valid counter during sleep. Note that the suspend/sleep code needs fixing to check for overflows of this counter. In addition, the OMAP2/3 details are removed from timer32k.c leaving that with only OMAP1 specifics. A follow-up patch will move it from plat-omap common code to mach-omap1. Signed-off-by: Kevin Hilman <khilman@mvista.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
- 21 Nov, 2007 2 commits
-
-
Tony Lindgren authored
Merge branch 'linus' Conflicts: arch/arm/mach-omap1/board-h2.c arch/arm/mach-omap2/clock.c drivers/video/omap/Kconfig net/ipv4/netfilter/Makefile
-
Tony Lindgren authored
Merge branches 'master' and 'linus' into linus
-
- 17 Nov, 2007 4 commits
-
-
git://git.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-x86Linus Torvalds authored
* 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-x86: x86: simplify "make ARCH=x86" and fix kconfig all.config x86: reboot fixup for wrap2c board x86: check boundary in count setup resource x86: fix reboot with no keyboard attached x86: add hpet sanity checks x86: on x86_64, correct reading of PC RTC when update in progress in time_64.c x86: fix freeze in x86_64 RTC update code in time_64.c ntp: fix typo that makes sync_cmos_clock erratic Remove x86 merge artifact from top Makefile x86: fixup cpu_info array conversion x86: show cpuinfo only for online CPUs x86: fix cpu-hotplug regression x86: ignore the sys_getcpu() tcache parameter x86: voyager use correct header file name x86: fix smp init sections x86: fix voyager_cat_init section x86: fix bogus memcpy in es7000_check_dsdt()
-
Sam Ravnborg authored
Simplify "make ARCH=x86" and fix kconfig so we again can set 64BIT in all.config. For a fix the diffstat is nice: 6 files changed, 3 insertions(+), 36 deletions(-) The patch reverts these commits: - 0f855aa6 ("kconfig: add helper to set config symbol from environment variable") - 2a113281 ("kconfig: use $K64BIT to set 64BIT with all*config targets") Roman Zippel pointed out that kconfig supported string compares so the additional complexity introduced by the above two patches were not needed. With this patch we have following behaviour: # make {allno,allyes,allmod,rand}config [ARCH=...] option \ host arch | 32bit | 64bit ===================================================== ./. | 32bit | 64bit ARCH=x86 | 32bit | 32bit ARCH=i386 | 32bit | 32bit ARCH=x86_64 | 64bit | 64bit The general rule are that ARCH= and native architecture takes precedence over the configuration. So make ARCH=i386 [whatever] will always build a 32-bit kernel no matter what the configuration says. The configuration will be updated to 32-bit if it was configured to 64-bit and the other way around. This behaviour is consistent with previous behaviour so no suprises here. make ARCH=x86 will per default result in a 32-bit kernel but as the only ARCH= value x86 allow the user to select between 32-bit and 64-bit using menuconfig. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Cc: Roman Zippel <zippel@linux-m68k.org> Cc: Andreas Herrmann <aherrman@arcor.de> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Ingo Molnar <mingo@redhat.com> Cc: "H. Peter Anvin" <hpa@zytor.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-
Sam Ravnborg authored
Simplify "make ARCH=x86" and fix kconfig so we again can set 64BIT in all.config. For a fix the diffstat is nice: 6 files changed, 3 insertions(+), 36 deletions(-) The patch reverts these commits: 0f855aa6 -> kconfig: add helper to set config symbol from environment variable 2a113281 -> kconfig: use $K64BIT to set 64BIT with all*config targets Roman Zippel pointed out that kconfig supported string compares so the additional complexity introduced by the above two patches were not needed. With this patch we have following behaviour: # make {allno,allyes,allmod,rand}config [ARCH=...] option \ host arch | 32bit | 64bit ===================================================== ./. | 32bit | 64bit ARCH=x86 | 32bit | 32bit ARCH=i386 | 32bit | 32bit ARCH=x86_64 | 64bit | 64bit The general rule are that ARCH= and native architecture takes precedence over the configuration. So make ARCH=i386 [whatever] will always build a 32-bit kernel no matter what the configuration says. The configuration will be updated to 32-bit if it was configured to 64-bit and the other way around. This behaviour is consistent with previous behaviour so no suprises here. make ARCH=x86 will per default result in a 32-bit kernel but as the only ARCH= value x86 allow the user to select between 32-bit and 64-bit using menuconfig. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Cc: Roman Zippel <zippel@linux-m68k.org> Cc: Andreas Herrmann <aherrman@arcor.de> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Ingo Molnar <mingo@redhat.com> Cc: "H. Peter Anvin" <hpa@zytor.com>
-
Denys authored
Needed to make the wireless board, WRAP2C reboot. Cc: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-