remove the backdoor since it is too hard to use
authorStephan Baerwolf <stephan.baerwolf@tu-ilmenau.de>
Wed, 1 Aug 2012 12:57:10 +0000 (14:57 +0200)
committerStephan Baerwolf <stephan.baerwolf@tu-ilmenau.de>
Wed, 1 Aug 2012 15:32:59 +0000 (15:32 +0000)
Signed-off-by: Stephan Baerwolf <stephan.baerwolf@tu-ilmenau.de>
firmware/bootloaderconfig.h
firmware/main.c

index 34d6cdf..32b6654 100644 (file)
@@ -93,14 +93,6 @@ these macros are defined, the boot loader usees them.
  * to erase itself from the bootregion
  */
 
-#define HAVE_BLB11_SOFTW_BACKDOOR    1
-/*
- * When "HAVE_BLB11_SOFTW_LOCKBIT" is enabled, this backdoor will allow writing
- * to the BLS while JUMPER stays low. (keeps be pressed)
- * If JUMPER is released (and after a short debouncing period) repressing it
- * will have NO affect on disabling the writelock.
- */
-
 #define HAVE_DOSPM_TUNNELCMD       1
 /*
  * When enabled, "HAVE_DOSPM_TUNNELCMD" will implement an PROGMEM ARRAY 
index 5c1233b..2d54b47 100644 (file)
@@ -282,11 +282,6 @@ uchar   isLast;
         for(i = 0; i < len;){
 #if HAVE_BLB11_SOFTW_LOCKBIT
            if (CURRENT_ADDRESS >= (addr_t)(BOOTLOADER_ADDRESS)) {
-#if HAVE_BLB11_SOFTW_BACKDOOR
-             if (!((stayinloader >= 0x10) && (bootLoaderCondition()))) return 1;
-#else
-             return 1;
-#endif
            }
 #endif
             i += 2;