OMAP's General Purpose Memory Controller(GPMC) provides features allowing us to communicate with memory devices such as NOR, NAND, OneNAND, SRAM etc.. This file defines certain generic parameters allowing us to configure the same painlessly.
Data Structures | |
| struct | gpmc_config |
| Generic GPMC configuration structure to be used to configure a chip select. More... | |
Functions | |
| void | gpmc_generic_init (unsigned int cfg) |
| void | gpmc_cs_config (char cs, struct gpmc_config *config) |
| #define GPMC_REG | ( | REGNAME | ) | (OMAP_GPMC_BASE + GPMC_##REGNAME) |
| void gpmc_cs_config | ( | char | cs, | |
| struct gpmc_config * | config | |||
| ) |
Configuration for a specific chip select.
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 | ) |
Generic configuration - will reset all the cs configs.
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