diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2016-10-07 13:02:31 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-10-24 20:32:47 +0200 |
commit | f5f0b7b71a450dd87e6e477cf53417c7c8d68ad2 (patch) | |
tree | 20246ec242df291b781f53f059822bdc6215943e /src/mainboard/emulation/qemu-q35 | |
parent | dedccb8556e7859f5bf03d6736127b51c5737760 (diff) |
mainboard/emulation: Use C89 comments style & remove commented code
Change-Id: I627338505fe1273366bc8f6f528d829b3162b371
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/16916
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/mainboard/emulation/qemu-q35')
-rw-r--r-- | src/mainboard/emulation/qemu-q35/acpi_tables.c | 2 | ||||
-rw-r--r-- | src/mainboard/emulation/qemu-q35/romstage.c | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/src/mainboard/emulation/qemu-q35/acpi_tables.c b/src/mainboard/emulation/qemu-q35/acpi_tables.c index 07589e1ce1..1b32c02f9b 100644 --- a/src/mainboard/emulation/qemu-q35/acpi_tables.c +++ b/src/mainboard/emulation/qemu-q35/acpi_tables.c @@ -204,7 +204,7 @@ unsigned long acpi_fill_mcfg(unsigned long current) return current; reg = pci_read_config32(dev, 0x60); - if ((reg & 0x07) != 0x01) // require enabled + 256MB size + if ((reg & 0x07) != 0x01) /* require enabled + 256MB size */ return current; current += acpi_create_mcfg_mmconfig((acpi_mcfg_mmconfig_t *) current, diff --git a/src/mainboard/emulation/qemu-q35/romstage.c b/src/mainboard/emulation/qemu-q35/romstage.c index 1bb51da2f6..870dd07762 100644 --- a/src/mainboard/emulation/qemu-q35/romstage.c +++ b/src/mainboard/emulation/qemu-q35/romstage.c @@ -42,9 +42,6 @@ void * asmlinkage romstage_main(unsigned long bist) /* Halt if there was a built in self test failure */ report_bist_failure(bist); - //print_pci_devices(); - //dump_pci_devices(); - cbmem_was_initted = !cbmem_recovery(0); timestamp_init(timestamp_get()); |