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) |
| void gpmc_cs_config | ( | char | cs, | |
| struct gpmc_config * | config | |||
| ) |
Configure the registers and enable a single CS.
Configuration for a specific chip select.
| cs | chip select index | |
| config | gpmc_config structure describing the CS params |
| 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
| cfg | - GPMC_CFG register value |
1.5.6