]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - bootrom/fromflash.c
Bootloader cleanup (UNTESTED!)
[proxmark3-svn] / bootrom / fromflash.c
diff --git a/bootrom/fromflash.c b/bootrom/fromflash.c
deleted file mode 100644 (file)
index 6b41c40..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-#include <proxmark3.h>\r
-\r
-extern char __bootphase2_src_start__, __bootphase2_start__, __bootphase2_end__;\r
-void __attribute__((section(".bootphase1"))) CopyBootToRAM(void)\r
-{\r
-       int i;\r
-\r
-       volatile DWORD *s = (volatile DWORD *)&__bootphase2_src_start__;\r
-       volatile DWORD *d = (volatile DWORD *)&__bootphase2_start__;\r
-       unsigned int l = (int)&__bootphase2_end__ - (int)&__bootphase2_start__;\r
-\r
-       for(i = 0; i < l/sizeof(DWORD); i++) *d++ = *s++;\r
-}\r
Impressum, Datenschutz