diff options
author | Lee Leahy <leroy.p.leahy@intel.com> | 2016-07-30 10:29:37 -0700 |
---|---|---|
committer | Lee Leahy <leroy.p.leahy@intel.com> | 2016-08-01 22:14:08 +0200 |
commit | aac31ca22149f7e3a6f90d6c229f3fc87fb53592 (patch) | |
tree | 63b5eb4ae7276e1854da96518e447c5c20045e27 /util/arm_boot_tools | |
parent | 0cd338e6e489eacfedb8fab3ff161b1578d08f07 (diff) |
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>
Diffstat (limited to 'util/arm_boot_tools')
0 files changed, 0 insertions, 0 deletions