]> cvs.zerfleddert.de Git - proxmark3-svn/blame - client/flash.h
Add license headers to armsrc/bootrom/common stuff
[proxmark3-svn] / client / flash.h
CommitLineData
b961ef03 1#ifndef __FLASH_H__
2#define __FLASH_H__
3
91c38cf7 4#include <stdint.h>
5
6e4d4ee6 6struct partition {
7fe9b0b7 7 int start;
8 int end;
9 int precious;
10 const char *name;
6e4d4ee6 11};
12
13void FlushPrevious(int translate);
14void GotByte(uint32_t where, uint8_t which, int start_addr, int end_addr, int translate);
15unsigned int EnterFlashState(void);
16int PrepareFlash(struct partition *p, const char *filename, unsigned int state);
17int find_next_area(const char *str, int *offset, int *length);
18
19#define PHYSICAL_FLASH_START 0x100000
20void do_flash(char **argv);
b961ef03 21
22#endif
23
Impressum, Datenschutz