forked from analogdevicesinc/linux
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mtd: cfi_cmdset_0002: use AMD standard command-set with Winbond flash…
… chips Tested with W19L320SBT9C [1]. [1] http://www.datasheetarchive.com/pdf-datasheets/Datasheets-40/DSA-795343.pdf [dwmw2: Fix MODULE_ALIAS and linkage] Signed-off-by: Obinou <[email protected]> Signed-off-by: Guillaume LECERF <[email protected]> Acked-by: Florian Fainelli <[email protected]> Signed-off-by: David Woodhouse <[email protected]>
- Loading branch information
1 parent
1e804ce
commit 8046112
Showing
2 changed files
with
4 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -489,8 +489,10 @@ struct mtd_info *cfi_cmdset_0002(struct map_info *map, int primary) | |
|
||
return cfi_amdstd_setup(mtd); | ||
} | ||
struct mtd_info *cfi_cmdset_0006(struct map_info *map, int primary) __attribute__((alias("cfi_cmdset_0002"))); | ||
struct mtd_info *cfi_cmdset_0701(struct map_info *map, int primary) __attribute__((alias("cfi_cmdset_0002"))); | ||
EXPORT_SYMBOL_GPL(cfi_cmdset_0002); | ||
EXPORT_SYMBOL_GPL(cfi_cmdset_0006); | ||
EXPORT_SYMBOL_GPL(cfi_cmdset_0701); | ||
|
||
static struct mtd_info *cfi_amdstd_setup(struct mtd_info *mtd) | ||
|
@@ -2042,4 +2044,5 @@ static void cfi_amdstd_destroy(struct mtd_info *mtd) | |
MODULE_LICENSE("GPL"); | ||
MODULE_AUTHOR("Crossnet Co. <[email protected]> et al."); | ||
MODULE_DESCRIPTION("MTD chip driver for AMD/Fujitsu flash chips"); | ||
MODULE_ALIAS("cfi_cmdset_0006"); | ||
MODULE_ALIAS("cfi_cmdset_0701"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters