16 Oct, 2007
12 commits
-
This patch provides support for PCMCIA on CM-X270
Signed-off-by: Mike Rapoport
Signed-off-by: Russell King -
This patch provides driver for ITE 8152 PCI bridge.
Signed-off-by: Mike Rapoport
Signed-off-by: Russell King -
This patch provides core support for CM-X270 platform.
Signed-off-by: Mike Rapoport
Signed-off-by: Russell King -
pxa_gpio_mode() is a universal call that fiddles with the GAFR
(gpio alternate function register.) GAFR does not exist on PXA3
CPUs, but instead the alternate functions are controlled via the
MFP support code.Platforms are expected to configure the MFP according to their
needs in their platform support code rather than drivers. We
extend this idea to the GAFR, and make the gpio_direction_*()
functions purely operate on the GPIO level.This means platform support code is entirely responsible for
configuring the GPIOs alternate functions on all PXA CPU types.Signed-off-by: Russell King
-
Signed-off-by: Russell King
-
Signed-off-by: Russell King
-
Make the cpu_is_pxaXXX() macros define to zero when support for a
particular CPU is disabled. This allows us to eliminate code for
CPUs which aren't enabled.Signed-off-by: Russell King
-
Signed-off-by: eric miao
Signed-off-by: Russell King -
The PXA DMA support code for smc91x doesn't pass a struct device to
the dma_*map_single() functions, which leads to an oops in the dma
bounce code. We have a struct device which was used to probe the
SMC chip. Use it.(This patch is slightly larger because it requires struct smc_local
to move into the header file.)Signed-off-by: Russell King
-
Ensure pm callback is called upon initialisation to place port in
correct power saving state. Ensure console is initialised prior
to deciding whether to power down the port.Signed-off-by: Russell King
-
Signed-off-by: Russell King
13 Oct, 2007
28 commits
-
Signed-off-by: Russell King
-
Newer versions of binutils support --build-id, which adds an ELF
note section called ".note.gnu.build-id" to the output. On the ARM
kernel build, because there is no explicit mention of this section
in the shipped ld script, this section is placed at vaddr 0x00000000
(whereas the normal kernel text/data typically starts at vaddr
0xc0008000), causing the output of objcopy (Image) to produce a 3G+
file.This patch makes objcopy strip the .note.gnu.build-id section from
the Image file along with all other note sections, which fixes the
build.Signed-off-by: Lennert Buytenhek
Signed-off-by: Russell King -
This patch resolves a kexec boot failure that can occur because
no ATAGs are passed in to the kexec'd kernel. Currently the
newly-kexec'd kernel may fail if it requires specific ATAGs, or
it may fail because the fixed memory location at which it expects
to find the ATAGs may contain random data instead of ATAGs.The patch ensures that any ATAGs passed to the current kernel
at boot time are copied to a static buffer, and are copied back
when kexec copies the new kernel into place. Thus the new
kernel sees the same ATAGs from kexec and the boot loader.The boot parameters are copied without regard to type, content,
or length -- this patch's scope is limited soley to saving and
restoring a fixed-size block of memory containing the kernel's
boot parameters. Additional functionality to examine, alter, or
replace the ATAGs (using kexec, for example) can be implemented
by manipulating the static buffer containing the preserved ATAGs.Note: the size of the buffer (1.5KB) is selected to comfortably
hold one of each ATAG type, including a maximum-length command
line and the maximum number of ATAG_MEM structures currently
supported by the kernel. Should an ATAG list exceed that limit,
the list will be silently truncated to that limit (to do other-
wise at that point in the boot process would make a simple
problem exceedingly complicated).[Note: this is the same patch as 4579, modified to accomodate
the ATAG changes introduced in 2.6.23]Signed-off-by: Mike Westerhof
Signed-off-by: Russell King -
consistent_sync() is used to handle the cache maintainence issues with
DMA operations. Since we've now removed the misuse of this function
from the two MTD drivers, rename it to prevent future mis-use.Signed-off-by: Russell King
-
This patch adds support for the Cirrus Logic EDB9307, an evaluation
board based on the Cirrus Logic EP9307 SoC, which features amongst
other things 64M RAM, 32M NOR flash, 3 USB host ports, audio in/out,
two serial ports and a 10/100 ethernet interface.Signed-off-by: Herbert Valerio Riedel
Acked-by: Lennert Buytenhek
Signed-off-by: Russell King -
Fix the IRQ numbers of the CF and SDI interface on the S3C2412
and S3C2413. Add support to handle these IRQs properly and
ensure that the SDI controller platform device is correctly
renumbered.Signed-off-by: Ben Dooks
Signed-off-by: Russell King -
As a consequence registers are now accessed with __raw_{read,write}[bl].
Signed-off-by: Uwe Kleine-König
Signed-off-by: Russell King -
Up to now only board-a9m9750dev.c used GPIOs. It just wrote directly into the
corresponding registers. Now it properly reserves the gpio and uses the API
function to configure it.Signed-off-by: Uwe Kleine-König
Signed-off-by: Russell King -
Signed-off-by: Uwe Kleine-König
Signed-off-by: Russell King -
Signed-off-by: Uwe Kleine-König
Signed-off-by: Russell King -
The semantic of the REGSET macros didn't change, but hopefully
it's more obvious as it's now.REGGET is changed to return the unshifted value, analogous to
REGSET. REGGETIM behaves as REGGET before. All callers changed...._IDX is used to work with registers that need a parameter like
BBU_GCONFb1.Signed-off-by: Uwe Kleine-König
Signed-off-by: Russell King -
This implementation conforms to the general GPIO API
introduced in 2.6.21.This patch was signed-of by David Brownell before I exported the functions
using EXPORT_SYMBOL.Signed-off-by: Uwe Kleine-König
Signed-off-by: Russell King -
The FPGA on the a9m9750dev board interrupts the CPU via EXT2. So
to acknowledge any FPGA interrupt IRQ_EXT2 must be acknowledged.Signed-off-by: Uwe Kleine-König
Signed-off-by: Russell King -
Add several missing entries to Documentation/arm/00-INDEX
Signed-off-by: Rob Landley
Signed-off-by: Russell King -
... but the rtc-cmos is rather broken; if PNP is enabled, it assumes
that we have ACPI (!) which is quite bogus on these platforms -
which may have ISAPNP but not ACPI. Something to be solved in the
future.Signed-off-by: Russell King
-
Signed-off-by: Russell King
-
Make the S3C2412 sleep configuration clearer.
Signed-off-by: Ben Dooks
Signed-off-by: Russell King -
Add a magic number before the resume code so
that a bootloader can check that there is an
image to resume to.Signed-off-by: Ben Dooks
Signed-off-by: Russell King -
Add the INFORM register block which are retained
over sleep.Signed-off-by: Ben Dooks
Signed-off-by: Russell King -
The cpu_architecture() function in arch/arm/kernel/setup.c only works
with cores produced by ARM Ltd. The more generic approach is to read
the ID_MMFR0 register and check for the VMSA or PMSA version
supported. With this patch, the ARM11MPCore would be reported as ARMv7
since its MMU is compatible with ARMv7.Signed-off-by: Catalin Marinas
Signed-off-by: Russell King -
Starting with ARMv7-A, conditional execution of undefined instructions
can trigger an exception even if the condition check fails. This patch
modifies the NWFPE support to check the condition before emulating the
instruction.Signed-off-by: Catalin Marinas
Signed-off-by: Russell King -
Fix unbalanced parenthesis.
Signed-off-by: Mariusz Kozlowski
Signed-off-by: Andrew Morton
Signed-off-by: Russell King -
Signed-off-by: Thomas Gleixner
Signed-off-by: Russell King -
This patch removes dead code.
Signed-off-by: Adrian Bunk
Signed-off-by: Russell King -
"extern inline" will have different semantics with gcc 4.3.
Signed-off-by: Adrian Bunk
Signed-off-by: Russell King -
GENERIC_TIME and GENERIC_CLOCKEVENTS support for the at91rm9200.
- Oneshot mode (used for NO_HZ and high res timers) uses the
alarm to emulate a real oneshot timer; the trickiest bit is
how to avoid some lowlevel races. Thanks to Remy Bohmer for
various fixes to this code.- Tighten up periodic mode support using the PIT.
- Streamline reads of the 32KHz counter. Thanks to Marc Pignat
for some testing results: the CRTR register has *very* odd
behavior. The reread appears to work around stranger glitches
than just getting an old clock value (which would quickly
self-correct).- Remove the rounding-up of tick_usec to 10.009 msec (32KiHz/100),
since that no longer acts correct (time increases too fast).Note that the at91sam9 and at91x40 chips need other solutions,
since they don't have the same system timer module.Signed-off-by: David Brownell
Acked-by: Bill Gatliff
Acked-by:Remy Bohmer
Signed-off-by: Russell King -
This patch removes section mismatches related to DMA functions.
Signed-off-by: Krzysztof Helt
Acked-by: Ben Dooks
Signed-off-by: Russell King