mtd: sm_common: split smartmedia and xD table
2GB xD card, and 4MB SmartMedia ROM card share same ID, so to make both work split xD and smartmedia ID tables. Hardware driver must be able to know which type it handles (and probably just one). Signed-off-by: Maxim Levitsky <maximlevitsky@gmail.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
This commit is contained in:
committed by
David Woodhouse
parent
a47bfd2eb6
commit
c3611570dd
@@ -36,7 +36,7 @@ struct sm_oob {
|
||||
#define SM_SMALL_OOB_SIZE 8
|
||||
|
||||
|
||||
extern int sm_register_device(struct mtd_info *mtd);
|
||||
extern int sm_register_device(struct mtd_info *mtd, int smartmedia);
|
||||
|
||||
|
||||
static inline int sm_sector_valid(struct sm_oob *oob)
|
||||
|
Reference in New Issue
Block a user