coreboot-kgpe-d16/src/mainboard/siemens/sitemp_g1p1
Patrick Georgi c75c79bd02 mptable: Get rid of fixup_virtual_wire
As stated in some code files, fixup_virtual_wire was established
to avoid touching 200 invocations of the mptable code.

Let Coccinelle do it:
  @@
  type T;
  identifier v;
  @@
  -void fixup_virtual_wire(T v)
  -{ ... }

  @@
  expression A;
  identifier v;
  @@
  -v = smp_write_floating_table(A);
  +v = smp_write_floating_table(A, 0);

  @@
  expression A;
  identifier v;
  @@
  -v = smp_write_floating_table(A, 0);
  -fixup_virtual_wire(v);
  +v = smp_write_floating_table(A, 1);

Change-Id: Icad8a063380bf4726be7cebb414d13b574112b14
Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Reviewed-on: http://review.coreboot.org/245
Tested-by: build bot (Jenkins)
Reviewed-by: Marc Jones <marcj303@gmail.com>
2011-10-13 01:10:44 +02:00
..
acpi
acpi_tables.c
chip.h
cmos.layout
devicetree.cb
dsdt.asl
fadt.c
get_bus_conf.c
int15_func.c
int15_func.h
irq_tables.c
Kconfig
mainboard.c
Makefile.inc
mptable.c mptable: Get rid of fixup_virtual_wire 2011-10-13 01:10:44 +02:00
resourcemap.c
romstage.c siemens/sitemp_g1p1: Adapt read_option() to latest changes 2011-05-13 06:25:16 +00:00