coreboot-kgpe-d16/src/arch/x86/boot
zbao ee8a9f6c55 Initializer of a static member in union.
It is just me or does anybody have the same build error without
this patch?
------
src/arch/x86/boot/acpigen.c: In function 'acpigen_write_empty_PTC':
src/arch/x86/boot/acpigen.c:347:3: error: unknown field 'resv'
specified in initializer
src/arch/x86/boot/acpigen.c:347:3: warning: missing braces around
 initializer
src/arch/x86/boot/acpigen.c:347:3⚠️ (near initialization
 for 'addr.<anonymous>')
-------

Anyway, I believe at least this will cause warnings.
"resv" is a member of a union, not of acpi_addr_t. So it should be
wrapped by a brace in the initializer.

Change-Id: I72624386816c987d5bb2d3a3a64c7c58eb9af389
Signed-off-by: Zheng Bao <zheng.bao@amd.com>
Signed-off-by: zbao <fishbaozi@gmail.com>
Reviewed-on: http://review.coreboot.org/1056
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-by: Marc Jones <marcj303@gmail.com>
2012-05-30 23:01:23 +02:00
..
acpi.c Clean up #ifs 2012-05-08 00:34:34 +02:00
acpigen.c Initializer of a static member in union. 2012-05-30 23:01:23 +02:00
boot.c After this has been brought up many times before, rename src/arch/i386 to 2010-12-11 20:33:41 +00:00
coreboot_table.c Clean up #ifs 2012-05-08 00:34:34 +02:00
gdt.c After this has been brought up many times before, rename src/arch/i386 to 2010-12-11 20:33:41 +00:00
Makefile.inc Add automatic SMBIOS table generation 2011-08-26 20:08:52 +02:00
mpspec.c Move C labels to start-of-line 2012-03-07 17:48:03 +01:00
multiboot.c After this has been brought up many times before, rename src/arch/i386 to 2010-12-11 20:33:41 +00:00
pirq_routing.c After this has been brought up many times before, rename src/arch/i386 to 2010-12-11 20:33:41 +00:00
smbios.c smbios: Don't fill out firmware version on ChromeOS 2012-04-05 22:47:22 +02:00
tables.c Clean up #ifs 2012-05-08 00:34:34 +02:00
wakeup.S use movsl for copying resume memory back 2012-03-30 17:58:55 +02:00