mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-23 13:56:20 +00:00
x86: Drop use of CONFIG_REALMODE_DEBUG
This option is not actually defined in Kconfig anymore. Use a normal debug print instead, which has a similar effect. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
22c434b0fb
commit
a9ba0080db
2 changed files with 10 additions and 14 deletions
|
@ -301,16 +301,14 @@ asmlinkage int interrupt_handler(u32 intnumber, u32 gsfs, u32 dses,
|
||||||
cs = cs_ip >> 16;
|
cs = cs_ip >> 16;
|
||||||
flags = stackflags;
|
flags = stackflags;
|
||||||
|
|
||||||
#ifdef CONFIG_REALMODE_DEBUG
|
log_debug("oprom: INT# 0x%x\n", intnumber);
|
||||||
debug("oprom: INT# 0x%x\n", intnumber);
|
log_debug("oprom: eax: %08x ebx: %08x ecx: %08x edx: %08x\n",
|
||||||
debug("oprom: eax: %08x ebx: %08x ecx: %08x edx: %08x\n",
|
|
||||||
eax, ebx, ecx, edx);
|
eax, ebx, ecx, edx);
|
||||||
debug("oprom: ebp: %08x esp: %08x edi: %08x esi: %08x\n",
|
log_debug("oprom: ebp: %08x esp: %08x edi: %08x esi: %08x\n",
|
||||||
ebp, esp, edi, esi);
|
ebp, esp, edi, esi);
|
||||||
debug("oprom: ip: %04x cs: %04x flags: %08x\n",
|
log_debug("oprom: ip: %04x cs: %04x flags: %08x\n",
|
||||||
ip, cs, flags);
|
ip, cs, flags);
|
||||||
debug("oprom: stackflags = %04x\n", stackflags);
|
log_debug("oprom: stackflags = %04x\n", stackflags);
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Fetch arguments from the stack and put them to a place
|
* Fetch arguments from the stack and put them to a place
|
||||||
|
|
|
@ -200,10 +200,8 @@ int int1a_handler(void)
|
||||||
dm_pci_write_config32(dev, reg, dword);
|
dm_pci_write_config32(dev, reg, dword);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
#ifdef CONFIG_REALMODE_DEBUG
|
log_debug("0x%x: bus %d devfn 0x%x reg 0x%x val 0x%x\n", func,
|
||||||
debug("0x%x: bus %d devfn 0x%x reg 0x%x val 0x%x\n", func,
|
|
||||||
bus, devfn, reg, M.x86.R_ECX);
|
bus, devfn, reg, M.x86.R_ECX);
|
||||||
#endif
|
|
||||||
M.x86.R_EAX &= 0xffff00ff; /* Clear AH */
|
M.x86.R_EAX &= 0xffff00ff; /* Clear AH */
|
||||||
M.x86.R_EAX |= PCIBIOS_SUCCESSFUL;
|
M.x86.R_EAX |= PCIBIOS_SUCCESSFUL;
|
||||||
retval = 1;
|
retval = 1;
|
||||||
|
|
Loading…
Add table
Reference in a new issue