only use trxsplit on NOR flash devices
SVN-Revision: 9497
This commit is contained in:
parent
05efcf6975
commit
61f3913d85
@ -187,6 +187,12 @@ err:
|
|||||||
|
|
||||||
static void __init trxsplit_add_mtd(struct mtd_info *mtd)
|
static void __init trxsplit_add_mtd(struct mtd_info *mtd)
|
||||||
{
|
{
|
||||||
|
if (mtd->type != MTD_NORFLASH) {
|
||||||
|
printk(KERN_INFO PFX "'%s' is not a NOR flash, skipped\n",
|
||||||
|
mtd->name);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (!trx_mtd)
|
if (!trx_mtd)
|
||||||
trxsplit_findtrx(mtd);
|
trxsplit_findtrx(mtd);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user