arch/arm/mach-omap/gpmc.c File Reference


Detailed Description

FileName: arch/arm/mach-omap/gpmc.c

This file contains the generic GPMC implementation


Functions

void gpmc_generic_init (unsigned int cfg)
void gpmc_cs_config (char cs, struct gpmc_config *config)


Function Documentation

void gpmc_cs_config ( char  cs,
struct gpmc_config config 
)

Configure the registers and enable a single CS.

Configuration for a specific chip select.

Parameters:
cs chip select index
config gpmc_config structure describing the CS params
Returns:
void

void gpmc_generic_init ( unsigned int  cfg  ) 

Do a Generic initialization of GPMC.

Generic configuration - will reset all the cs configs.

if you choose otherwise, Use gpmc registers to modify the values. The defaults configured are: No idle, L3 free running, no timeout and no IRQs. we allow for gpmc_config data to be programmed, and will also disable ALL CS configurations

Parameters:
cfg - GPMC_CFG register value
Returns:
void


Generated on Fri Dec 25 14:13:14 2009 for barebox by  doxygen 1.5.6