mtd: tests: check erase block count in page test
When there is only a single erase block, the cross erase test does not report sensible errors. Warn in case there is only a single erase block instead of executing the test. Signed-off-by: NStefan Agner <stefan@agner.ch> Signed-off-by: NBoris Brezillon <boris.brezillon@bootlin.com>
Showing
想要评论请 注册 或 登录