board: ge: bx50v3: add i2c eeprom bootcount storage
[oweals/u-boot.git] / drivers / bios_emulator / atibios.c
index 4a16fc7e1c2856c34674fc429f0220e17aadfb5c..fb806b53d4410d492cad3ac21745e4194f51c9e2 100644 (file)
@@ -136,7 +136,6 @@ static int atibios_debug_mode(BE_VGAInfo *vga_info, RMREGS *regs,
                bool linear_ok;
                int attr;
 
-               break;
                debug("Mode %x: ", mode);
                memset(buffer, '\0', sizeof(struct vbe_mode_info));
                regs->e.eax = VESA_GET_MODE_INFO;
@@ -606,7 +605,6 @@ int biosemu_run(pci_dev_t pcidev, uchar *bios_rom, int bios_len,
                    (ulong)(vga_info->BIOSImage) != 0xc0000)
                        free(vga_info->BIOSImage);
                free(vga_info);
-               vga_info = NULL;
        }
 
        return 0;