diff options
author | Ashwin Joshi <asjoshi@nvidia.com> | 2013-10-11 15:45:06 +0530 |
---|---|---|
committer | Bharat Nihalani <bnihalani@nvidia.com> | 2013-10-15 23:14:13 -0700 |
commit | 8b6132e9fecf1a1a768082433112963c12a28e42 (patch) | |
tree | b203cae169fd246575e83264275dde453b20bdb8 /drivers/mtd | |
parent | 1d0093fc377395c70040ce3128ae0072f73f2975 (diff) |
drivers: nor: Make NOR mapping size configurable
Keep NOR static mapping size configurable since different boards could
have NOR of different size.
Bug 1373849
Bug 1386803
Change-Id: If009fb09125ff3d6576c2a82ed82a8984bdf11d2
Signed-off-by: Ashwin Joshi <asjoshi@nvidia.com>
Reviewed-on: http://git-master/r/289676
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/maps/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/mtd/maps/Kconfig b/drivers/mtd/maps/Kconfig index 07bdfa6656b9..e46c9cf842aa 100644 --- a/drivers/mtd/maps/Kconfig +++ b/drivers/mtd/maps/Kconfig @@ -439,4 +439,11 @@ config MTD_NOR_TEGRA_GMI This enables access routines for the flash chips on the NVIDIA Tegra based embedded entertainment boards. Supports extended gpio & cs extension capability. +config MTD_NOR_TEGRA_VMALLOC_SIZE + int "static mapping size for tegra NOR" + depends on MTD_NOR_TEGRA_GMI + default "64" + help + This sets static mapping size for tegra NOR. Default value is 64 MB. This will be + used by vmalloc() and ioremap(). Specify the size in MB. endmenu |