summaryrefslogtreecommitdiff
path: root/src/mainboard/apple
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2019-12-05 23:12:18 +0100
committerPatrick Georgi <pgeorgi@google.com>2019-12-11 11:39:51 +0000
commite4951055dd96be64d46c3d73a6dc4fa3a8260a5b (patch)
tree35047b7df67015c0b6308d175ce8ea7812581031 /src/mainboard/apple
parentba8d8f2583e5b9830322fb4a96b04306d427f29a (diff)
downloadcoreboot-e4951055dd96be64d46c3d73a6dc4fa3a8260a5b.tar.xz
mb/**/hda_verb.c: use denary numerals for lengths
Denary, also known as "decimal" or "base 10," is the standard number system used around the world. Therefore, make use of it. Change-Id: Ia22705d7629a322292cfd557add9cfadc649c16c Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/37537 Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/apple')
-rw-r--r--src/mainboard/apple/macbook21/hda_verb.c4
-rw-r--r--src/mainboard/apple/macbookair4_2/hda_verb.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/mainboard/apple/macbook21/hda_verb.c b/src/mainboard/apple/macbook21/hda_verb.c
index 09d5f1ab98..3d87d3d882 100644
--- a/src/mainboard/apple/macbook21/hda_verb.c
+++ b/src/mainboard/apple/macbook21/hda_verb.c
@@ -22,7 +22,7 @@ const u32 cim_verb_data[] = {
#if CONFIG(BOARD_APPLE_MACBOOK11) || \
CONFIG(BOARD_APPLE_MACBOOK21)
0x106b2200, /* Subsystem ID */
- 0x0000000B, /* Number of 4 dword sets */
+ 11, /* Number of 4 dword sets */
/* NID 0x01: Subsystem ID. */
AZALIA_SUBVENDOR(0x0, 0x106B2200),
@@ -58,7 +58,7 @@ const u32 cim_verb_data[] = {
AZALIA_PIN_CFG(0x0, 0x1B, 0x400000FB),
#else /* CONFIG_BOARD_APPLE_IMAC52 */
0x106b0f00, /* Subsystem ID */
- 0x0000000b, /* Number of 4 dword sets */
+ 11, /* Number of 4 dword sets */
/* NID 0x01: Subsystem ID. */
AZALIA_SUBVENDOR(0x0, 0x106b0f00),
diff --git a/src/mainboard/apple/macbookair4_2/hda_verb.c b/src/mainboard/apple/macbookair4_2/hda_verb.c
index 6ca5f512df..69a165ca19 100644
--- a/src/mainboard/apple/macbookair4_2/hda_verb.c
+++ b/src/mainboard/apple/macbookair4_2/hda_verb.c
@@ -17,7 +17,7 @@ const u32 cim_verb_data[] = {
0x10134206, /* Codec Vendor / Device ID: Cirrus */
0x106b5b00, /* Subsystem ID */
- 0x0000000b, /* Number of 4 dword sets */
+ 11, /* Number of 4 dword sets */
/* NID 0x01: Subsystem ID. */
AZALIA_SUBVENDOR(0x0, 0x106b5b00),
@@ -53,7 +53,7 @@ const u32 cim_verb_data[] = {
0x80862805, /* Codec Vendor / Device ID: Intel */
0x80860101, /* Subsystem ID */
- 0x00000004, /* Number of 4 dword sets */
+ 4, /* Number of 4 dword sets */
/* NID 0x01: Subsystem ID. */
AZALIA_SUBVENDOR(0x3, 0x80860101),