src/device: Fix typo
Change-Id: I65e57b37db9649b30ca25b2150f21ebffee73105 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/27917 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
parent
58d5df778a
commit
394ec02298
|
@ -75,7 +75,7 @@ static void cardbus_size_bridge_resource(struct device *dev, unsigned int index)
|
||||||
if (resource) {
|
if (resource) {
|
||||||
min_size = resource->size;
|
min_size = resource->size;
|
||||||
/*
|
/*
|
||||||
* Always allocate at least the miniumum size to a
|
* Always allocate at least the minimum size to a
|
||||||
* cardbus bridge in case a new card is plugged in.
|
* cardbus bridge in case a new card is plugged in.
|
||||||
*/
|
*/
|
||||||
if (resource->size < min_size)
|
if (resource->size < min_size)
|
||||||
|
|
|
@ -68,7 +68,7 @@
|
||||||
*
|
*
|
||||||
* By inspection, one gets: cc = ab + r'(a + b)
|
* By inspection, one gets: cc = ab + r'(a + b)
|
||||||
*
|
*
|
||||||
* That represents alot of operations, but NO CHOICE....
|
* That represents a lot of operations, but NO CHOICE....
|
||||||
*
|
*
|
||||||
* Borrow Chain Calculation.
|
* Borrow Chain Calculation.
|
||||||
*
|
*
|
||||||
|
|
|
@ -365,7 +365,7 @@ my_wrb(u32 addr, u8 val)
|
||||||
unsigned long translated_addr = addr;
|
unsigned long translated_addr = addr;
|
||||||
u8 translated = biosemu_dev_translate_address(IORESOURCE_MEM, &translated_addr);
|
u8 translated = biosemu_dev_translate_address(IORESOURCE_MEM, &translated_addr);
|
||||||
if (translated != 0) {
|
if (translated != 0) {
|
||||||
//translation successfull, access VGA Memory (BAR or Legacy...)
|
//translation successful, access VGA Memory (BAR or Legacy...)
|
||||||
DEBUG_PRINTF_MEM("%s(%x, %x): access to VGA Memory\n",
|
DEBUG_PRINTF_MEM("%s(%x, %x): access to VGA Memory\n",
|
||||||
__func__, addr, val);
|
__func__, addr, val);
|
||||||
//DEBUG_PRINTF_MEM("%s(%08x): translated_addr: %llx\n", __func__, addr, translated_addr);
|
//DEBUG_PRINTF_MEM("%s(%08x): translated_addr: %llx\n", __func__, addr, translated_addr);
|
||||||
|
@ -390,7 +390,7 @@ my_wrw(u32 addr, u16 val)
|
||||||
unsigned long translated_addr = addr;
|
unsigned long translated_addr = addr;
|
||||||
u8 translated = biosemu_dev_translate_address(IORESOURCE_MEM, &translated_addr);
|
u8 translated = biosemu_dev_translate_address(IORESOURCE_MEM, &translated_addr);
|
||||||
if (translated != 0) {
|
if (translated != 0) {
|
||||||
//translation successfull, access VGA Memory (BAR or Legacy...)
|
//translation successful, access VGA Memory (BAR or Legacy...)
|
||||||
DEBUG_PRINTF_MEM("%s(%x, %x): access to VGA Memory\n",
|
DEBUG_PRINTF_MEM("%s(%x, %x): access to VGA Memory\n",
|
||||||
__func__, addr, val);
|
__func__, addr, val);
|
||||||
//DEBUG_PRINTF_MEM("%s(%08x): translated_addr: %llx\n", __func__, addr, translated_addr);
|
//DEBUG_PRINTF_MEM("%s(%08x): translated_addr: %llx\n", __func__, addr, translated_addr);
|
||||||
|
@ -435,7 +435,7 @@ my_wrl(u32 addr, u32 val)
|
||||||
unsigned long translated_addr = addr;
|
unsigned long translated_addr = addr;
|
||||||
u8 translated = biosemu_dev_translate_address(IORESOURCE_MEM, &translated_addr);
|
u8 translated = biosemu_dev_translate_address(IORESOURCE_MEM, &translated_addr);
|
||||||
if (translated != 0) {
|
if (translated != 0) {
|
||||||
//translation successfull, access VGA Memory (BAR or Legacy...)
|
//translation successful, access VGA Memory (BAR or Legacy...)
|
||||||
DEBUG_PRINTF_MEM("%s(%x, %x): access to VGA Memory\n",
|
DEBUG_PRINTF_MEM("%s(%x, %x): access to VGA Memory\n",
|
||||||
__func__, addr, val);
|
__func__, addr, val);
|
||||||
//DEBUG_PRINTF_MEM("%s(%08x): translated_addr: %llx\n", __func__, addr, translated_addr);
|
//DEBUG_PRINTF_MEM("%s(%08x): translated_addr: %llx\n", __func__, addr, translated_addr);
|
||||||
|
|
|
@ -502,7 +502,7 @@ vbe_get_info(void)
|
||||||
vbe_get_ddc_info(&ddc_info);
|
vbe_get_ddc_info(&ddc_info);
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
DEBUG_PRINTF_VBE("DDC: edid_tranfer_time: %d\n",
|
DEBUG_PRINTF_VBE("DDC: edid_transfer_time: %d\n",
|
||||||
ddc_info.edid_transfer_time);
|
ddc_info.edid_transfer_time);
|
||||||
DEBUG_PRINTF_VBE("DDC: ddc_level: %x\n", ddc_info.ddc_level);
|
DEBUG_PRINTF_VBE("DDC: ddc_level: %x\n", ddc_info.ddc_level);
|
||||||
DEBUG_PRINTF_VBE("DDC: EDID:\n");
|
DEBUG_PRINTF_VBE("DDC: EDID:\n");
|
||||||
|
|
Loading…
Reference in New Issue