+//-----------------------------------------------------------------------------
+// This code is licensed to you under the terms of the GNU GPL, version 2 or,
+// at your option, any later version. See the LICENSE.txt file for the text of
+// the license.
+//-----------------------------------------------------------------------------
+// Flashing utility functions
+//-----------------------------------------------------------------------------
+
#ifndef __FLASH_H__
#define __FLASH_H__
+#include <stdint.h>
+
struct partition {
- int start;
- int end;
- int precious;
- const char *name;
+ int start;
+ int end;
+ int precious;
+ const char *name;
};
void FlushPrevious(int translate);