mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +02:00
system/flashtool.cpp: add bad block skip for read/write/erase in case of NAND
Origin commit data
------------------
Branch: ni/coolstream
Commit: e739868e7c
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-01-29 (Tue, 29 Jan 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include <mtd/mtd-user.h>
|
||||
|
||||
class CFlashTool
|
||||
{
|
||||
@@ -47,6 +47,11 @@ class CFlashTool
|
||||
std::string mtdDevice;
|
||||
std::string ErrorMessage;
|
||||
|
||||
int fd;
|
||||
mtd_info_t meminfo;
|
||||
bool isnand;
|
||||
|
||||
bool getInfo();
|
||||
bool erase(int globalProgressEnd=-1);
|
||||
|
||||
public:
|
||||
|
Reference in New Issue
Block a user