summaryrefslogtreecommitdiff
path: root/src/mainboard/amd/pademelon/hda_verb.c
diff options
context:
space:
mode:
authorNicholas Sudsgaard <devel+coreboot@nsudsgaard.com>2024-02-12 15:43:31 +0900
committerFelix Held <felix-coreboot@felixheld.de>2024-02-13 20:11:24 +0000
commit867061191944b86829a0cc981f36682b34c519ac (patch)
tree23178dfd4400b927e2065884672971c68ffe41d7 /src/mainboard/amd/pademelon/hda_verb.c
parent32ea6bb1f94e3e669389749b596aec860098e08c (diff)
mainboard: Enforce usage of AZALIA_ARRAY_SIZES
This is the de facto method and should be enforced to keep things consistent. Change-Id: I7eee77f7fd49bc38e27cb0e6be0a4a6555098cc7 Signed-off-by: Nicholas Sudsgaard <devel+coreboot@nsudsgaard.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/80422 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/mainboard/amd/pademelon/hda_verb.c')
-rw-r--r--src/mainboard/amd/pademelon/hda_verb.c3
1 files changed, 1 insertions, 2 deletions
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;