mtd: detect image format when writing
Recently TRX checking code was changed to detect Seama format and don't abort whole writing operation because of it. This isn't a good long-term solution. It's a poor idea to teach every format handler recognizing all possible formats. Instead it should be handled in a generic code which should run check depending on the detected format. This will also allow further improvements like fixing formats other than TRX after replacing JFFS2. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 48639
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
#ifdef target_brcm47xx
|
||||
#if defined(target_brcm47xx) || defined(target_bcm53xx)
|
||||
#define target_brcm 1
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user