summaryrefslogtreecommitdiff
path: root/cleopatre/linux-2.6.25.10-spc300/arch/arm
AgeCommit message (Collapse)Author
2013-11-05cleo/linux,common/include: install ioctl for gpio debouncer, refs #4257Julien Lacour
2013-10-01cleo/linux,common/include: add USB host driver, closes #4212Fisher Cheng
2013-10-01cleo/{buildroot,linux}: create new board for MPR520e, refs #4209Fisher Cheng
2013-05-30cleo/linux/arch/arm/spc300: add CONFIG_CHIP_FEATURE_NO_MDIO, refs #4009Olivier Dufour
2013-03-06cleo/buildroot/target/Spidcom: remove mse500, closes #3820Yacine Belkadi
"MSE500" is the name of the chip. Having a target with that name is confusing. In addition, this target was actually used for the MSK500 board. But an msk500 target has been added by a previous commit. So this target is not needed anymore. Remove it.
2013-03-06cleo/buildroot/target/Spidcom: add mcr510, closes #3648Yacine Belkadi
The mcr510 board was present in EoC but not in AV. Add it to AV.
2013-03-06cleo/buildroot/target/Spidcom: add msk500, refs #3648Yacine Belkadi
The msk500 board was present in EoC but not in AV. Add it to AV, with some differences: - The second Ethernet interface (eth1) is not brought up and not added to the bridge, because there is no need for that, at the moment. - Power management related configuration items are added based on those of mse500.
2013-03-06cleo/buildroot/target/Spidcom: add scr300, refs #3648Yacine Belkadi
The scr300 board was present in EoC but not in AV. Add it to AV.
2013-03-06cleo/linux/spc300/Kconfig: remove left-over flash mapping related configsYacine Belkadi
Commits related to #3579 removed the need for CONFIG_HAVE_MTD_SPC300_* and CONFIG_MTD_SPC300_MAP_*. Remove those configs that were still present for some boards.
2013-03-06cleo/{linux/arch/arm/spc300,buildroot/target/device/Spidcom}: sort config itemsYacine Belkadi
Sort, alphabetically, the various targets/machines configuration items, in order to ease updates and merges.
2013-02-22cleo/linux/arch/arm/spc300: add a function to return sysclk speed, refs #3787Olivier Dufour
2013-02-13cleo/linux/spc300: remove SPI static remapping, closes #3334Cyril Jourdan
It is not used since spi driver use a dynamic remapping. All other static remappings are needed. Virtual addresses macros must be deleted because they are wrong if there is no static remapping.
2013-02-11cleo/linux/arch/arm/spc300: retrieve DSP mode from ATAG, refs #3734Olivier Dufour
2013-02-11common/inc/asm/arch: rename SRAM_DATA_PTR macro, refs #3693Olivier Dufour
This macro is using virtual addresses, so we rename it SRAM_DATA_VA_PTR.
2013-01-31cleo/linux/spc300: add a proc to handle autoswitch info, refs #3692Cyril Jourdan
2013-01-31{cleo/linux, common/inc/asm/arch}: create sram-mapping.h, refs #3692Cyril Jourdan
The goal is to separate the management of SRAM data organization (now in sram-mapping.h) and the management of SRAM as an hardware IP (in ips/sram.h). Moreover, we separate the SRAM mapping from the definition of data that will be put in SRAM. This allows to give access to whole SRAM only to software components which are responsible for managing a part of the data in SRAM. For the moment, the only software component that uses SRAM is Power Management, but autoswitch comes soon...
2013-01-31cleo/linux/spc300: export spidimg proc directory, refs #3692Cyril Jourdan
2013-01-31{uboot, cleo, polux}: pass autoswitch enable in ATAG, closes #3722Olivier Dufour
U-boot decides to enable autoswitch if it finds images with different types.
2013-01-29cleo/linux/spc300: minor refactoring in spc300-pm.c, no refsCyril Jourdan
2013-01-29cleo/linux/spc300: remove #if CHIP_FEATURE_SRAM in spc300-pm.c, closes #3704Cyril Jourdan
2013-01-25cleo/linux/spc300: add current image slot in procfs, refs #3706Olivier Dufour
2013-01-25{polux, cleo, uboot}: add current image slot in ATAG, refs #3706Olivier Dufour
2013-01-25common/tools/mksimage: write clocks speed in header, refs #1325Olivier Dufour
2013-01-25cleo/linux/arch/arm/spc300: add config to set CLK speed, refs #1325Olivier Dufour
For MSE500 boards, the speed of SYSCLK is defined by CONFIG_SYSCLK_SPEED, and is set at 246MHz by default.
2013-01-18cleo/linux/spc300/low_power: power LED blinks in low power, closes #2642Olivier Dufour
2013-01-18cleo/linux/arch/arm/spc300: add power LED config, refs #2642Olivier Dufour
As some boards (i.e. MPR520) have a power LED that is not driven by any user application, the associated GPIO is not set by the kernel. We have to set it for the low power procedure.
2013-01-18cleo/linux/arch/arm/spc300: use existing defines for ip access, refs #2633Olivier Dufour
2013-01-18cleo/linux/spc300/low_power: fix compilation warning, refs #3568Olivier Dufour
2013-01-18cleo/linux/spc300/low_power: fix MIU self refresh exit routine, closes #3636Olivier Dufour
2013-01-18cleo/linux/arch/arm/spc300: add MPR520 board type in linux, refs #3636Olivier Dufour
2013-01-15cleo/linux/arch/arm/spc300: load eth2 driver based on pkg_cfg, closes #3674Olivier Dufour
Linux ethernet driver should only be registered twice if eth2 is enabled in pkg_cfg.
2013-01-11cleo/{buildroot,linux}: add mcr500 default configuration, refs #3649Olivier Dufour
2013-01-08cleo/{buildroot,linux}: remove MTD flash size config from Linux, closes #3579Jérémy Dufour
No need to have different MTD size flags in Linux configuration files anymore.
2013-01-08cleo/linux/mach-spc300: remove static flash mapping tables, refs #3579Jérémy Dufour
Static flash mapping declaration is not required anymore.
2013-01-08cleo/linux/mach-spc300: limit last Linux image to its real size, refs #3579Jérémy Dufour
The actual behavior in Linux was to make the last Linux image expand until the end of the flash. In U-Boot, this is not the case: all Linux images have the same size, img_max_size. This commit makes Linux behave like U-Boot for the Linux image size.
2013-01-08cleo/linux/mach-spc300: generate MTD partition dynamically, refs #3579Jérémy Dufour
With this commit, when Linux boots, it uses the function to generate the MTD partitions table dynamically based on the NVRAM, preventing using the static definitions.
2013-01-08cleo/linux/mach-spc300: add function to populate mtd partitions, refs #3579Jérémy Dufour
Using the NVRAM, we can generate the MTD table partitions.
2013-01-08cleo/linux/mach-spc300: remove un-needed include arch.h, refs #3579Jérémy Dufour
As asm/mach/arch.h include is not protected against multiple includes and also because it is not used by spc300-devices.c, it is easier to remove it now for next commit.
2013-01-08cleo/linux/mach-spc300: make NVRAM offset extern, refs #3579Jérémy Dufour
2013-01-08cleo/linux/mach-spc300: remove duplicated comments & empty line, refs #3579Jérémy Dufour
2013-01-08cleo/linux/arch/arm: use dynamic position in tables, refs #3579Jérémy Dufour
2013-01-02cleo/linux/arch/arm/spc300: fix "Ignoring unrecognised tag 0x00000000", ↵Yacine Belkadi
closes #3650 On SPC300, u-boot passes an ATAG_SPC300 tag to the Linux kernel. That tag is intercepted by spc300_fixup(). This function consumes the tag, then turns it into an ATAG_NONE. The problem is that the function doesn't set the size to 0. Then when the kernel parses the tags, it fails to recognize the ATAG_NONE, and prints the boot message: "Ignoring unrecognised tag 0x00000000" Fix that by setting the size of the new ATAG_NONE tag to 0.
2012-12-21cleo/linux/arch/arm/spc300/pm: update system time on resume, closes #3568Olivier Dufour
The system time is now updated when returning from pm procedure, with an error margin below 10ms (duration of a tick timer).
2012-12-21cleo/linux/arch/arm/spc300/pm: use dynamic mapping for some API, refs #3568Olivier Dufour
API that are not used at all by the linux kernel should not necessarily be staticaly mapped, but rather dynamicaly when needed. It also helps keeping as low as possible the number of VA in cache during the SRAM code execution.
2012-12-21cleo/linux: create a proc entry to manage standby mode, refs #2633Olivier Dufour
2012-12-21cleo/linux/arch/arm/spc300: wake up on eth link up, refs #2633Olivier Dufour
There is now a data section in SRAM, that contains dynamic parameters for pm_process function in SRAM.
2012-12-21cleo/linux/arch/arm/spc300: change WDT timeout, refs #2633Olivier Dufour
We use WDT timeout as poll timer when in stanbdby mode. Because of the PLLs bypass, old 4s value became about 90s. We want to wake up every second so we chose the closest value available, that is 1.4s.
2012-12-21cleo/linux/arch/arm/spc300: put SDRAM in self-refresh mode, refs #2633Olivier Dufour
2012-12-21cleo/linux/arch/arm/spc300: handle WDT refresh in low power mode, refs #2633Olivier Dufour
2012-12-21cleo/linux/arch/arm/spc300: shut down PLLs in low power mode, refs #2633Olivier Dufour