armv7: armv7: introduce set_gpmc_cs0

Allow boards to runtime detect flash type.

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
This commit is contained in:
Ladislav Michl 2016-07-12 20:28:17 +02:00 committed by Tom Rini
parent 0568dd0663
commit 22d6ac490e
3 changed files with 92 additions and 58 deletions

View file

@ -93,5 +93,6 @@ struct gpmc {
/* Used for board specific gpmc initialization */
extern const struct gpmc *gpmc_cfg;
extern char gpmc_cs0_flash;
#endif /* __ASM_OMAP_GPMC_H */