summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/sam9_smc.c
AgeCommit message (Collapse)Author
2008-12-01[ARM] 5287/2: [AT91] Configuration of Static Memory ControllerAndrew Victor
Add a structure 'sam9_smc_config' and function sam9_smc_configure() to allow the board-specific files to specify the configuration of the Static Memory Controller per chip-select. This allows the board file to specify timings for NAND flash, NOR flash or other external peripherals. This functionality can be used for all the SAM9 and CAP9 processors. (the AT91RM9200 has a different memory-controller) This patch is based on similar code in the AVR32 architecture. Signed-off-by: Andrew Victor <linux@maxim.org.za> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>