summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorRoger Quadros <rogerq@kernel.org>2022-10-20 16:30:49 +0300
committerTom Rini <trini@konsulko.com>2022-10-26 15:21:12 -0400
commit9b0b5648d6e4d89aa594022e48894e811c250d5f (patch)
treeb4ace98fe43682d20639adab97778dca140149c2 /include/linux
parent37d6d1645a33e410ca0fd9b56c03426b646df1fd (diff)
downloadu-boot-9b0b5648d6e4d89aa594022e48894e811c250d5f.tar.gz
memory: Add TI GPMC driver
The GPMC is a unified memory controller dedicated for interfacing with external memory devices like - Asynchronous SRAM-like memories and ASICs - Asynchronous, synchronous, and page mode burst NOR flash - NAND flash - Pseudo-SRAM devices This driver will take care of setting up the GPMC based on the settings specified in the Device tree and then probe its children. Signed-off-by: Roger Quadros <rogerq@kernel.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/mtd/omap_gpmc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/mtd/omap_gpmc.h b/include/linux/mtd/omap_gpmc.h
index 864b05e432..f08e700a1d 100644
--- a/include/linux/mtd/omap_gpmc.h
+++ b/include/linux/mtd/omap_gpmc.h
@@ -8,6 +8,9 @@
#ifndef __ASM_OMAP_GPMC_H
#define __ASM_OMAP_GPMC_H
+/* Maximum Number of Chip Selects */
+#define GPMC_CS_NUM 8
+
#define GPMC_BUF_EMPTY 0
#define GPMC_BUF_FULL 1
#define GPMC_MAX_SECTORS 8