summaryrefslogtreecommitdiff
path: root/common/include/asm
AgeCommit message (Collapse)Author
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-11{common/inc, cleo/uboot}: put the 2X mode in img header and atag, refs #3734Olivier Dufour
2X mode is now stored in image header, but not set by default. If set, its value will prevail on the NVRAM field. The value of the DSP mode is set in ATAG regardless it comes from img header or NVRAM, so linux will not have to read NVRAM anymore.
2013-02-11common/inc/asm/arch: add SRAM_DATA_PA_PTR macro, refs #3693Olivier Dufour
We need it for u-boot.
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-02-05common/inc/asm/arch: deprecate NVRAM_MSE500_MODE_200 value, closes #3694Cyril Jourdan
This value is not needed anymore and we do not want to rewrite it each time we will autoswitch between 500 and 200 images.
2013-02-05common/inc/asm/arch/ips/hard: add bit macros in mseafe.h, refs #3694Cyril Jourdan
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/inc/asm/arch/spc300: move spc300-pm.h to common/, refs #3692Olivier Dufour
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-31common/include: remove tabs in atag.h, no refsOlivier Dufour
2013-01-30{common,polux}: do not use pointers in NVRAM structure, closes #3709Jérémy Dufour
Pointer size differs between 32 and 64 bits architecture. Building an NVRAM using genNVRAM built with a 64 bits PC generates a non compatible NVRAM for the boards. Removing the pointers make the NVRAM architecture independent.
2013-01-30common/include/asm/arch: use uintptr_t for arithmetic pointers, refs #3709Jérémy Dufour
This method is compatible between 32 and 64 bits architecture.
2013-01-30common/include/asm/arch: harmonize pointers arithmetic in nvram, refs #3709Jérémy Dufour
2013-01-30common/include/asm/arch: add a sanity check for NVRAM size, refs #3709Jérémy Dufour
This commit add a sanity check which will be triggered if the sizeof of the NVRAM structure does not match the expected one: this can occur if the sizeof of some fields added to the structure changes depending on the architecture (pointers for example).
2013-01-25{polux, cleo, uboot}: add current image slot in ATAG, refs #3706Olivier Dufour
2013-01-25{cleo, polux, uboot}: use common structure for spc300 ATAG, refs #3706Olivier Dufour
2013-01-25polux/linux/mse500: add SET_CLK config, 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-25Revert "{cleo/uboot,common}: change system clock speed to 222 MHz", refs #1325Olivier Dufour
This reverts commit d2f7768afa5bbe4c4a40e9697a8939600a7e4a82.
2013-01-25{cleo,polux}: use a common gitignore for include/asm/arch, refs #3677Jérémy Dufour
2013-01-18{common,cleo,polux}: split entry-macro.S, refs #3574Nélio Laranjeiro
2013-01-18cleo/linux/spc300/low_power: power LED blinks in low power, closes #2642Olivier Dufour
2013-01-18cleo/linux/arch/arm/spc300: use existing defines for ip access, refs #2633Olivier Dufour
2013-01-15common/include: add eth2 disable bit in pkg_cfg, refs #3682Olivier Dufour
One bit is added in pkg_cfg, to disable the ETH2 configuration in u-boot. As it is active high, backward compatibility is assured.
2013-01-08common/include/asm/arch/nvram: move a comment to its correct placeYacine Belkadi
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-21common/{tools,inc}: add pm support in NVRAM, 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: handle WDT refresh in low power mode, refs #2633Olivier Dufour
2012-12-21cleo/linux/arch/arm/spc300: map PLL registers in virtual memory, refs #2633Olivier Dufour
2012-12-21cleo/linux/arch/arm/spc300: Add SRAM in MMU mapping, refs #2633Olivier Dufour
SRAM is remapped in virtual memory as an IO device. It enables access and code execution.
2012-12-11{common,polux}: add NVRAM_MTD_PARTITION, closes #3538Nélio Laranjeiro
spidlib expects to find a partition instead of reading the partition from the proc file system.
2012-12-10{cleo/uboot, common}: change system clock speed to 222 MHz, closes #3587Cyril Jourdan
In order to get ARM clock down to 444 MHz.
2012-12-06cleopatre/devkit/plcdrv: add dspclk_mhz parameter, closes #3431Nicolas Schodet
2012-11-21common: move spid_img_desc.h to common/include, refs #3452Jérémy Dufour
spid_img_desc.h header is used by the kernel and other applications: it is more suitable to have it in common include directory.
2012-11-21common/include: add a sanity check for size of spid image desc, refs #3452Jérémy Dufour
All spidcom image descriptors must have the same size, we should ensure this is always respected.
2012-11-21common/include: fix indentation of spidcom_image_desc_200_t, refs #3452Jérémy Dufour
2012-11-21common/include: make spid_img_desc structure suitable for polux, refs #3452Jean-Philippe SAVE
The structure spidcom_image_desc_t differs between polux and SPC300/MSE500 images. This commit adapts the spidcom_image_desc_t structure of SPC300/MSE500 to be included from polux directory.
2012-11-21common/include: set invalid index of spid_img_desc to spc200 value, refs #3452Jean-Philippe SAVE
In MSE500/SPC300, SPIDCOM_IMG_DESC_INVALID_INDEX is only used for reading but it is never written. So change it to SPC200 value has no impact. This modification will be necessary to have a common include file in next commits.
2012-11-06cleo/arch/arm/spc300: Add support of eth2 for MSE500, closes #3413Olivier Dufour
2012-11-06common/inc/asm/arch/ips/hw: fix #error text in msepll.h, no refsCyril Jourdan
2012-10-23common/inc/wdt: define a WDT_CLK for uboot building, closes #3272Jérémy Dufour
Uboot does not know PCLK - it uses get_master_clock instead. WDT_CLK define is now compatible for both linux and uboot. The problem was introduced by commit ef7574d6c172.
2012-10-23common/inc/wdt: for addressing space replace bool by enum, refs #3272Jérémy Dufour
Boolean is not used much in Linux. It also creates some problems when building uboot (bool is not defined). The problem was introduced by commit e0f4e08c89c4.
2012-10-23common/inc/wdt: use asm rather than linux for errno.h include, refs #3272Jérémy Dufour
The include errno.h directive will now work both under linux and uboot build. The problem was introduced by commit ef7574d6c172.
2012-10-18{cleo,polux}/linux: use wdt during kernel decompression, closes #3272Olivier Dufour
Before kernel is decompressed, watchdog is setup to 4 seconds. During kernel decompression, the watchdog refresh function is called. This commit does not impact polux SPC200.
2012-10-18{cleo,polux}/linux/arm/wdt: move some functions to header, refs #3272Olivier Dufour
In order to be able to add support for watchdog functions in boot sequence, functions to start and refresh it need to be defined directly in header files.
2012-10-18{cleo,polux}/linux/arm/wdt: support physical address in wdt, refs #3272Olivier Dufour
Before booting the kernel, there is not support for MMU and virtual address. This commit enables to setup and use the watchdog using physical address.
2012-10-18{cleo,polux}/linux: simplify watchdog API, closes #3296Jérémy Dufour
The function spc300_wdt_stop is removed: we can not stop the watchdog. The functions spc300_wdt_restart and spc300_wdt_settimeout are replaced by spc300_wdt_start.