summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/acer/g43t-am3/hda_verb.c3
-rw-r--r--src/mainboard/amd/pademelon/hda_verb.c3
-rw-r--r--src/mainboard/asrock/g41c-gs/hda_verb.c3
-rw-r--r--src/mainboard/asus/p5qc/hda_verb.c3
-rw-r--r--src/mainboard/asus/p5ql-em/hda_verb.c3
-rw-r--r--src/mainboard/asus/p5qpl-am/hda_verb.c3
-rw-r--r--src/mainboard/foxconn/g41s-k/hda_verb.c3
-rw-r--r--src/mainboard/gigabyte/ga-g41m-es2l/hda_verb.c3
-rw-r--r--src/mainboard/intel/dg41wv/hda_verb.c3
-rw-r--r--src/mainboard/intel/dg43gt/hda_verb.c3
-rw-r--r--src/mainboard/lenovo/thinkcentre_a58/hda_verb.c3
11 files changed, 11 insertions, 22 deletions
diff --git a/src/mainboard/acer/g43t-am3/hda_verb.c b/src/mainboard/acer/g43t-am3/hda_verb.c
index 32a9b25874..c01bf3f680 100644
--- a/src/mainboard/acer/g43t-am3/hda_verb.c
+++ b/src/mainboard/acer/g43t-am3/hda_verb.c
@@ -35,5 +35,4 @@ const u32 cim_verb_data[] = {
const u32 pc_beep_verbs[0] = {};
-const u32 pc_beep_verbs_size = ARRAY_SIZE(pc_beep_verbs);
-const u32 cim_verb_data_size = ARRAY_SIZE(cim_verb_data);
+AZALIA_ARRAY_SIZES;
diff --git a/src/mainboard/amd/pademelon/hda_verb.c b/src/mainboard/amd/pademelon/hda_verb.c
index 95758f0a4c..700953675d 100644
--- a/src/mainboard/amd/pademelon/hda_verb.c
+++ b/src/mainboard/amd/pademelon/hda_verb.c
@@ -25,5 +25,4 @@ const u32 cim_verb_data[] = {
const u32 pc_beep_verbs[0] = {};
-const u32 pc_beep_verbs_size = ARRAY_SIZE(pc_beep_verbs);
-const u32 cim_verb_data_size = ARRAY_SIZE(cim_verb_data);
+AZALIA_ARRAY_SIZES;
diff --git a/src/mainboard/asrock/g41c-gs/hda_verb.c b/src/mainboard/asrock/g41c-gs/hda_verb.c
index 2c9f6347c4..5fce4333c8 100644
--- a/src/mainboard/asrock/g41c-gs/hda_verb.c
+++ b/src/mainboard/asrock/g41c-gs/hda_verb.c
@@ -53,5 +53,4 @@ const u32 cim_verb_data[] = {
const u32 pc_beep_verbs[0] = {};
-const u32 pc_beep_verbs_size = ARRAY_SIZE(pc_beep_verbs);
-const u32 cim_verb_data_size = ARRAY_SIZE(cim_verb_data);
+AZALIA_ARRAY_SIZES;
diff --git a/src/mainboard/asus/p5qc/hda_verb.c b/src/mainboard/asus/p5qc/hda_verb.c
index d2c0410960..289443a24d 100644
--- a/src/mainboard/asus/p5qc/hda_verb.c
+++ b/src/mainboard/asus/p5qc/hda_verb.c
@@ -27,5 +27,4 @@ const u32 cim_verb_data[] = {
const u32 pc_beep_verbs[0] = {};
-const u32 pc_beep_verbs_size = ARRAY_SIZE(pc_beep_verbs);
-const u32 cim_verb_data_size = ARRAY_SIZE(cim_verb_data);
+AZALIA_ARRAY_SIZES;
diff --git a/src/mainboard/asus/p5ql-em/hda_verb.c b/src/mainboard/asus/p5ql-em/hda_verb.c
index d1b1178d20..984e583d41 100644
--- a/src/mainboard/asus/p5ql-em/hda_verb.c
+++ b/src/mainboard/asus/p5ql-em/hda_verb.c
@@ -33,5 +33,4 @@ const u32 cim_verb_data[] = {
const u32 pc_beep_verbs[0] = {};
-const u32 pc_beep_verbs_size = ARRAY_SIZE(pc_beep_verbs);
-const u32 cim_verb_data_size = ARRAY_SIZE(cim_verb_data);
+AZALIA_ARRAY_SIZES;
diff --git a/src/mainboard/asus/p5qpl-am/hda_verb.c b/src/mainboard/asus/p5qpl-am/hda_verb.c
index 6c8497da03..81f55bf16c 100644
--- a/src/mainboard/asus/p5qpl-am/hda_verb.c
+++ b/src/mainboard/asus/p5qpl-am/hda_verb.c
@@ -29,5 +29,4 @@ const u32 cim_verb_data[] = {
const u32 pc_beep_verbs[0] = {};
-const u32 pc_beep_verbs_size = ARRAY_SIZE(pc_beep_verbs);
-const u32 cim_verb_data_size = ARRAY_SIZE(cim_verb_data);
+AZALIA_ARRAY_SIZES;
diff --git a/src/mainboard/foxconn/g41s-k/hda_verb.c b/src/mainboard/foxconn/g41s-k/hda_verb.c
index 30f36099a9..aedbc5d1b7 100644
--- a/src/mainboard/foxconn/g41s-k/hda_verb.c
+++ b/src/mainboard/foxconn/g41s-k/hda_verb.c
@@ -54,5 +54,4 @@ const u32 cim_verb_data[] = {
const u32 pc_beep_verbs[0] = {};
-const u32 pc_beep_verbs_size = ARRAY_SIZE(pc_beep_verbs);
-const u32 cim_verb_data_size = ARRAY_SIZE(cim_verb_data);
+AZALIA_ARRAY_SIZES;
diff --git a/src/mainboard/gigabyte/ga-g41m-es2l/hda_verb.c b/src/mainboard/gigabyte/ga-g41m-es2l/hda_verb.c
index 75a08640a5..a867258b22 100644
--- a/src/mainboard/gigabyte/ga-g41m-es2l/hda_verb.c
+++ b/src/mainboard/gigabyte/ga-g41m-es2l/hda_verb.c
@@ -28,5 +28,4 @@ const u32 cim_verb_data[] = {
const u32 pc_beep_verbs[0] = {};
-const u32 pc_beep_verbs_size = ARRAY_SIZE(pc_beep_verbs);
-const u32 cim_verb_data_size = ARRAY_SIZE(cim_verb_data);
+AZALIA_ARRAY_SIZES;
diff --git a/src/mainboard/intel/dg41wv/hda_verb.c b/src/mainboard/intel/dg41wv/hda_verb.c
index 95758f0a4c..700953675d 100644
--- a/src/mainboard/intel/dg41wv/hda_verb.c
+++ b/src/mainboard/intel/dg41wv/hda_verb.c
@@ -25,5 +25,4 @@ const u32 cim_verb_data[] = {
const u32 pc_beep_verbs[0] = {};
-const u32 pc_beep_verbs_size = ARRAY_SIZE(pc_beep_verbs);
-const u32 cim_verb_data_size = ARRAY_SIZE(cim_verb_data);
+AZALIA_ARRAY_SIZES;
diff --git a/src/mainboard/intel/dg43gt/hda_verb.c b/src/mainboard/intel/dg43gt/hda_verb.c
index d61e6edea3..235ed28542 100644
--- a/src/mainboard/intel/dg43gt/hda_verb.c
+++ b/src/mainboard/intel/dg43gt/hda_verb.c
@@ -35,5 +35,4 @@ const u32 cim_verb_data[] = {
const u32 pc_beep_verbs[0] = {};
-const u32 pc_beep_verbs_size = ARRAY_SIZE(pc_beep_verbs);
-const u32 cim_verb_data_size = ARRAY_SIZE(cim_verb_data);
+AZALIA_ARRAY_SIZES;
diff --git a/src/mainboard/lenovo/thinkcentre_a58/hda_verb.c b/src/mainboard/lenovo/thinkcentre_a58/hda_verb.c
index c0483e78dc..c1cf92baa4 100644
--- a/src/mainboard/lenovo/thinkcentre_a58/hda_verb.c
+++ b/src/mainboard/lenovo/thinkcentre_a58/hda_verb.c
@@ -25,5 +25,4 @@ const u32 cim_verb_data[] = {
const u32 pc_beep_verbs[0] = {};
-const u32 pc_beep_verbs_size = ARRAY_SIZE(pc_beep_verbs);
-const u32 cim_verb_data_size = ARRAY_SIZE(cim_verb_data);
+AZALIA_ARRAY_SIZES;