X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/6e4d4ee6096285692f247a44b59be7888bef9dd0..ba06a4b694da23045ed75d18ccf77a9befac65c0:/client/flash.h diff --git a/client/flash.h b/client/flash.h index 8d18cab0..f468de35 100644 --- a/client/flash.h +++ b/client/flash.h @@ -1,8 +1,21 @@ +//----------------------------------------------------------------------------- +// 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 + struct partition { - int start; - int end; - int precious; - const char *name; + int start; + int end; + int precious; + const char *name; }; void FlushPrevious(int translate); @@ -13,3 +26,6 @@ int find_next_area(const char *str, int *offset, int *length); #define PHYSICAL_FLASH_START 0x100000 void do_flash(char **argv); + +#endif +