From ce46c5b6a11eebed48852f8fd1762dce015cd19b Mon Sep 17 00:00:00 2001 From: Lee Leahy Date: Fri, 10 Mar 2017 08:50:56 -0800 Subject: [PATCH] drivers/intel/fsp2_0: Switch from binary to decimal Fix the following warning detected by checkpatch.pl: WARNING: Avoid gcc v4.3+ binary constant extension: TEST=Build and run on Galileo Gen2 Change-Id: Ied50b94ecae4d3bde5812f6b54bbe2421fd48588 Signed-off-by: Lee Leahy Reviewed-on: https://review.coreboot.org/18747 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- src/drivers/intel/fsp2_0/include/fsp/info_header.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/drivers/intel/fsp2_0/include/fsp/info_header.h b/src/drivers/intel/fsp2_0/include/fsp/info_header.h index c84c33ee8d..6dbf2fb139 100644 --- a/src/drivers/intel/fsp2_0/include/fsp/info_header.h +++ b/src/drivers/intel/fsp2_0/include/fsp/info_header.h @@ -21,9 +21,9 @@ #define FSP_HDR_OFFSET 0x94 #define FSP_HDR_LEN 0x48 #define FSP_HDR_SIGNATURE "FSPH" -#define FSP_HDR_ATTRIB_FSPT 0b0001 -#define FSP_HDR_ATTRIB_FSPM 0b0010 -#define FSP_HDR_ATTRIB_FSPS 0b0011 +#define FSP_HDR_ATTRIB_FSPT 1 +#define FSP_HDR_ATTRIB_FSPM 2 +#define FSP_HDR_ATTRIB_FSPS 3 struct fsp_header { uint32_t fsp_revision;