mb/intel/coffeelake_rvp: Stop using headers for HDA verbs
commitc8be0947f1d2665f9ddaca77c9739f55980551ac
authorAngel Pons <th3fanbus@gmail.com>
Sat, 5 Dec 2020 18:11:25 +0000 (5 19:11 +0100)
committerHung-Te Lin <hungte@chromium.org>
Thu, 17 Dec 2020 13:52:59 +0000 (17 13:52 +0000)
treef6c2747d788639a887cd80a0f7f274dfcd2971cc
parentb8602aa1842044f0801afc61de931f1733272ba5
mb/intel/coffeelake_rvp: Stop using headers for HDA verbs

One of the variants lacks an hda_verb.h, and hda_verb.c can't be built.
Follow-up changes will make mainboard hda_verb.c files always get built
through AZALIA_PLUGIN_SUPPORT, and breaks building this contraption.

Turn the headers into standalone compilation units to prevent this
issue. Since they contain definitions, including them from multiple
compilation units wasn't a good idea anyway.

Change-Id: I00d968563539a4e1b8d1e12145293439d8358555
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/48360
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
src/mainboard/intel/coffeelake_rvp/Makefile.inc
src/mainboard/intel/coffeelake_rvp/hda_verb.c [deleted file]
src/mainboard/intel/coffeelake_rvp/variants/cfl_h/hda_verb.c [moved from src/mainboard/intel/coffeelake_rvp/variants/cfl_h/include/variant/hda_verb.h with 98% similarity]
src/mainboard/intel/coffeelake_rvp/variants/cfl_s/hda_verb.c [moved from src/mainboard/intel/coffeelake_rvp/variants/cfl_s/include/variant/hda_verb.h with 98% similarity]
src/mainboard/intel/coffeelake_rvp/variants/cml_u/hda_verb.c [moved from src/mainboard/intel/coffeelake_rvp/variants/cml_u/include/variant/hda_verb.h with 99% similarity]
src/mainboard/intel/coffeelake_rvp/variants/whl_u/hda_verb.c [moved from src/mainboard/intel/coffeelake_rvp/variants/whl_u/include/variant/hda_verb.h with 99% similarity]