Signed-off-by: Patrick Georgi <patrick.georgi@secunet.com>
Acked-by: Patrick Georgi <patrick.georgi@secunet.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6290
2b7e53f0-3cfb-0310-b3e9-
8179ed1497e1
// copy expansion ROM image to segment OPTION_ROM_CODE_SEGMENT
// NOTE: this sometimes fails, some bytes are 0x00... so we compare
// after copying and do some retries...
- u8 *mem_img = OPTION_ROM_CODE_SEGMENT << 4;
+ u8 *mem_img = (u8*)(OPTION_ROM_CODE_SEGMENT << 4);
u8 copy_count = 0;
u8 cmp_result = 0;
do {
break;
}
clr_ci();
- my_wrb(mem_img + i, c);
+ my_wrb((u32)mem_img + i, c);
}
#endif
copy_count++;
return 0;
}
+#if 0
//VBE Function 08h
static u8
vbe_set_palette_format(u8 format)
}
return 0;
}
+#endif
vbe_mode_info_t mode_info;