summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLee Leahy <leroy.p.leahy@intel.com>2017-03-08 10:11:37 -0800
committerLee Leahy <leroy.p.leahy@intel.com>2017-03-13 17:22:59 +0100
commitf0c8a8eb554f3eca0164b2a3cd0e6b6a4abdf759 (patch)
treeb558ff639b7f75e581fc6a441c0de8895452a086 /src
parent74f1dc0d38e53080cf59405145218acedc62a0e8 (diff)
downloadcoreboot-f0c8a8eb554f3eca0164b2a3cd0e6b6a4abdf759.tar.xz
src/include: Remove use of binary constants
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: Iab29c494060df3f60eff5317259e0fdbfea06f27 Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com> Reviewed-on: https://review.coreboot.org/18685 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src')
-rw-r--r--src/include/device/azalia.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/device/azalia.h b/src/include/device/azalia.h
index 0ac4fcd8a7..7abf8e8c06 100644
--- a/src/include/device/azalia.h
+++ b/src/include/device/azalia.h
@@ -25,10 +25,10 @@
*/
enum AzaliaPinCfgPortConnectivity {
- AZALIA_PINCFG_PORT_JACK = 0b00,
- AZALIA_PINCFG_PORT_NC = 0b01,
- AZALIA_PINCFG_PORT_FIXED = 0b10,
- AZALIA_PINCFG_PORT_MULTIPLE = 0b11,
+ AZALIA_PINCFG_PORT_JACK = 0,
+ AZALIA_PINCFG_PORT_NC = 1,
+ AZALIA_PINCFG_PORT_FIXED = 2,
+ AZALIA_PINCFG_PORT_MULTIPLE = 3,
};
enum AzaliaPinCfgLocationGross {