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>
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 c84c33e..6dbf2fb 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;