mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
use CONFIG_YABEL_DEBUG_FLAGS when setting debug_flags
Signed-off-by: Pattrick Hueper <phueper@hueper.net> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://coreboot.org/repository/coreboot-v3@1149 f3766cd6-281f-0410-b1cd-43a5c92072e9
This commit is contained in:
parent
f8b3fed317
commit
131affc05a
1 changed files with 4 additions and 1 deletions
|
@ -67,9 +67,12 @@ biosemu(u8 *biosmem, u32 biosmem_size, struct device * dev, unsigned long rom_ad
|
||||||
u8 *rom_image;
|
u8 *rom_image;
|
||||||
int i = 0;
|
int i = 0;
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
debug_flags = DEBUG_PRINT_INT10 | DEBUG_PNP | DEBUG_PMM | DEBUG_INTR;
|
debug_flags = 0;//DEBUG_PRINT_INT10 | DEBUG_PNP | DEBUG_INTR | DEBUG_CHECK_VMEM_ACCESS | DEBUG_MEM | DEBUG_IO;
|
||||||
// | DEBUG_CHECK_VMEM_ACCESS | DEBUG_MEM | DEBUG_IO;
|
// | DEBUG_CHECK_VMEM_ACCESS | DEBUG_MEM | DEBUG_IO;
|
||||||
// | DEBUG_TRACE_X86EMU | DEBUG_JMP;
|
// | DEBUG_TRACE_X86EMU | DEBUG_JMP;
|
||||||
|
|
||||||
|
/* use CONFIG_YABEL_DEBUG_FLAGS, too... */
|
||||||
|
debug_flags |= CONFIG_YABEL_DEBUG_FLAGS;
|
||||||
#endif
|
#endif
|
||||||
if (biosmem_size < MIN_REQUIRED_VMEM_SIZE) {
|
if (biosmem_size < MIN_REQUIRED_VMEM_SIZE) {
|
||||||
printf("Error: Not enough virtual memory: %x, required: %x!\n",
|
printf("Error: Not enough virtual memory: %x, required: %x!\n",
|
||||||
|
|
Loading…
Add table
Reference in a new issue