]> cvs.zerfleddert.de Git - proxmark3-svn/blame - client/flash.h
client/Makefile: Typo for Darwin
[proxmark3-svn] / client / flash.h
CommitLineData
a553f267 1//-----------------------------------------------------------------------------
2// This code is licensed to you under the terms of the GNU GPL, version 2 or,
3// at your option, any later version. See the LICENSE.txt file for the text of
4// the license.
5//-----------------------------------------------------------------------------
6// Flashing utility functions
7//-----------------------------------------------------------------------------
8
b961ef03 9#ifndef __FLASH_H__
10#define __FLASH_H__
11
91c38cf7 12#include <stdint.h>
13
6e4d4ee6 14struct partition {
7fe9b0b7 15 int start;
16 int end;
17 int precious;
18 const char *name;
6e4d4ee6 19};
20
21void FlushPrevious(int translate);
22void GotByte(uint32_t where, uint8_t which, int start_addr, int end_addr, int translate);
23unsigned int EnterFlashState(void);
24int PrepareFlash(struct partition *p, const char *filename, unsigned int state);
25int find_next_area(const char *str, int *offset, int *length);
26
27#define PHYSICAL_FLASH_START 0x100000
28void do_flash(char **argv);
b961ef03 29
30#endif
31
Impressum, Datenschutz