summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLee Leahy <leroy.p.leahy@intel.com>2017-03-10 08:50:56 -0800
committerLee Leahy <leroy.p.leahy@intel.com>2017-03-10 20:08:46 +0100
commitce46c5b6a11eebed48852f8fd1762dce015cd19b (patch)
tree789afdff5804dc243a086cb027aa0df316fb30a3
parent7732b35fb761f4e338fcfba371356a998867180b (diff)
downloadcoreboot-ce46c5b6a11eebed48852f8fd1762dce015cd19b.tar.xz
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 <leroy.p.leahy@intel.com> Reviewed-on: https://review.coreboot.org/18747 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
-rw-r--r--src/drivers/intel/fsp2_0/include/fsp/info_header.h6
1 files 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;