hex values with 0x prefix
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2274 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
2a7352cb9d
commit
6c20eb4400
|
@ -93,14 +93,14 @@ struct rom_header *pci_rom_load(struct device *dev, struct rom_header *rom_heade
|
||||||
#if CONFIG_CONSOLE_VGA_MULTI == 0
|
#if CONFIG_CONSOLE_VGA_MULTI == 0
|
||||||
if (dev != vga_pri) return NULL; // only one VGA supported
|
if (dev != vga_pri) return NULL; // only one VGA supported
|
||||||
#endif
|
#endif
|
||||||
printk_debug("copying VGA ROM Image from %x to %x, %x bytes\n",
|
printk_debug("copying VGA ROM Image from 0x%x to 0x%x, 0x%x bytes\n",
|
||||||
rom_header, PCI_VGA_RAM_IMAGE_START, rom_size);
|
rom_header, PCI_VGA_RAM_IMAGE_START, rom_size);
|
||||||
memcpy(PCI_VGA_RAM_IMAGE_START, rom_header, rom_size);
|
memcpy(PCI_VGA_RAM_IMAGE_START, rom_header, rom_size);
|
||||||
vga_inited = 1;
|
vga_inited = 1;
|
||||||
return (struct rom_header *) (PCI_VGA_RAM_IMAGE_START);
|
return (struct rom_header *) (PCI_VGA_RAM_IMAGE_START);
|
||||||
#endif
|
#endif
|
||||||
} else {
|
} else {
|
||||||
printk_debug("copying non-VGA ROM Image from %x to %x, %x bytes\n",
|
printk_debug("copying non-VGA ROM Image from 0x%x to 0x%x, 0x%x bytes\n",
|
||||||
rom_header, pci_ram_image_start, rom_size);
|
rom_header, pci_ram_image_start, rom_size);
|
||||||
memcpy(pci_ram_image_start, rom_header, rom_size);
|
memcpy(pci_ram_image_start, rom_header, rom_size);
|
||||||
pci_ram_image_start += rom_size;
|
pci_ram_image_start += rom_size;
|
||||||
|
|
Loading…
Reference in New Issue