#define PAGE_SIZE          512
 #define TIMEOUT            1000
 
-
 struct mini51_flash_bank {
        bool probed;
 };
        LDROM = 1
 };
 
-
 /* Private methods */
 
 static int mini51_unlock_reg(struct flash_bank *bank)
 {
        uint32_t ispcon;
        uint32_t isprtc1;
-       bool reboot = false;
+       bool mini51_reboot = false;
        int status;
        int timeout = TIMEOUT;
 
 
        if ((new_source == APROM) && (*prev_source != APROM)) {
                ispcon &= ~ISPCON_BS_LDROM;
-               reboot = true;
+               mini51_reboot = true;
        } else if ((new_source == LDROM) && (*prev_source != LDROM)) {
                ispcon |= ISPCON_BS_LDROM;
-               reboot = true;
+               mini51_reboot = true;
        }
 
-       if (reboot) {
+       if (mini51_reboot) {
                mini51_unlock_reg(bank);
                status = target_write_u32(target, ISPCON, ispcon);
                if (status != ERROR_OK)
        return ERROR_OK;
 }
 
-
 /* Public (API) methods */
 
 FLASH_BANK_COMMAND_HANDLER(mini51_flash_bank_command)
        return ERROR_OK;
 }
 
-
 static int get_mini51_info(struct flash_bank *bank, char *buf, int buf_size)
 {
        snprintf(buf, buf_size, "Mini51 flash driver");
        .protect_check = mini51_protect_check,
        .info = get_mini51_info,
 };
-