coreboot-kgpe-d16/src
Lee Leahy aac31ca221 soc/intel/common: Fix build error in reset.c
Fix build error caused by macro substitution in the function definition
when the Kconfig value HAVE_HARD_RESET is not selected.

src/soc/intel/common/reset.c:36:21: error: macro "hard_reset" passed 1 arguments, but takes just 0
 void hard_reset(void)
                     ^
src/soc/intel/common/reset.c:37:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
 {
 ^
make: *** [build/bootblock/soc/intel/common/reset.o] Error 1

TEST=Build and run on Galileo Gen2

Change-Id: I793570e62a0e46cca86cc540c243e363896ceac7
Signed-off-by: Lee Leahy <leroy.p.leahy@intel.com>
Reviewed-on: https://review.coreboot.org/15988
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2016-08-01 22:14:08 +02:00
..
acpi src/acpi: Capitalize ACPI and SATA 2016-07-31 19:25:40 +02:00
arch Remove non-ascii & unprintable characters 2016-08-01 21:44:45 +02:00
commonlib cbmem: share additional time stamps IDs 2016-07-20 22:09:24 +02:00
console arch/x86: Enable postcar console 2016-08-01 21:40:23 +02:00
cpu Remove non-ascii & unprintable characters 2016-08-01 21:44:45 +02:00
device src/device: Capitalize CPU, RAM and ROM 2016-07-31 18:33:30 +02:00
drivers Remove non-ascii & unprintable characters 2016-08-01 21:44:45 +02:00
ec Remove non-ascii & unprintable characters 2016-08-01 21:44:45 +02:00
include arch/x86: Enable postcar console 2016-08-01 21:40:23 +02:00
lib Remove non-ascii & unprintable characters 2016-08-01 21:44:45 +02:00
mainboard Remove non-ascii & unprintable characters 2016-08-01 21:44:45 +02:00
northbridge Remove non-ascii & unprintable characters 2016-08-01 21:44:45 +02:00
soc soc/intel/common: Fix build error in reset.c 2016-08-01 22:14:08 +02:00
southbridge Remove non-ascii & unprintable characters 2016-08-01 21:44:45 +02:00
superio superio/nuvoton: Add Nuvoton NCT6791D 2016-07-31 19:42:49 +02:00
vboot src/vboot: Capitalize RAM and CPU 2016-07-31 19:31:41 +02:00
vendorcode chromeos mainboards: remove chromeos.asl 2016-07-30 01:36:32 +02:00
Kconfig src/Kconfig: Capitalize ROM 2016-07-31 18:34:16 +02:00