Nicholas Sudsgaard has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/84460?usp=email )
Change subject: mb/biostar: Use temporary macros to facilitate reworking verb table ......................................................................
mb/biostar: Use temporary macros to facilitate reworking verb table
TEST=Timeless build produces identical binaries for all mainboards.
Change-Id: Ib1cb26d22d0bc7c78a64944027479d1cdcf23145 Signed-off-by: Nicholas Sudsgaard devel+coreboot@nsudsgaard.com --- M src/mainboard/biostar/th61-itx/hda_verb.c 1 file changed, 23 insertions(+), 20 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/60/84460/1
diff --git a/src/mainboard/biostar/th61-itx/hda_verb.c b/src/mainboard/biostar/th61-itx/hda_verb.c index b8b407a..244774f 100644 --- a/src/mainboard/biostar/th61-itx/hda_verb.c +++ b/src/mainboard/biostar/th61-itx/hda_verb.c @@ -2,26 +2,29 @@
#include <device/azalia_device.h>
-const u32 cim_verb_data[] = { - 0x10ec0892, /* Realtek ALC892 */ - 0x15658229, /* Subsystem ID */ - 15, /* Number of 4 dword sets */ - AZALIA_SUBVENDOR(2, 0x15658229), - AZALIA_PIN_CFG(2, 0x11, 0x01452130), - AZALIA_PIN_CFG(2, 0x12, AZALIA_PIN_CFG_NC(0)), - AZALIA_PIN_CFG(2, 0x14, 0x01014410), - AZALIA_PIN_CFG(2, 0x15, 0x01011412), - AZALIA_PIN_CFG(2, 0x16, 0x01016411), - AZALIA_PIN_CFG(2, 0x17, AZALIA_PIN_CFG_NC(0)), - AZALIA_PIN_CFG(2, 0x18, 0x01a19c40), - AZALIA_PIN_CFG(2, 0x19, 0x02a19850), - AZALIA_PIN_CFG(2, 0x1a, 0x0181344f), - AZALIA_PIN_CFG(2, 0x1b, 0x02214020), - AZALIA_PIN_CFG(2, 0x1c, AZALIA_PIN_CFG_NC(0)), - AZALIA_PIN_CFG(2, 0x1d, 0x4005e601), - AZALIA_PIN_CFG(2, 0x1e, AZALIA_PIN_CFG_NC(0)), - AZALIA_PIN_CFG(2, 0x1f, AZALIA_PIN_CFG_NC(0)), -}; +CIM_VERB_DATA_1(\ + realtek_alc892,\ + 0x10ec0892, /* Realtek ALC892 */\ + 0x15658229, /* Subsystem ID */\ + 15, /* Number of 4 dword sets */\ + VERB_DATA(\ + AZALIA_SUBVENDOR(2, 0x15658229),\ + AZALIA_PIN_CFG(2, 0x11, 0x01452130),\ + AZALIA_PIN_CFG(2, 0x12, AZALIA_PIN_CFG_NC(0)),\ + AZALIA_PIN_CFG(2, 0x14, 0x01014410),\ + AZALIA_PIN_CFG(2, 0x15, 0x01011412),\ + AZALIA_PIN_CFG(2, 0x16, 0x01016411),\ + AZALIA_PIN_CFG(2, 0x17, AZALIA_PIN_CFG_NC(0)),\ + AZALIA_PIN_CFG(2, 0x18, 0x01a19c40),\ + AZALIA_PIN_CFG(2, 0x19, 0x02a19850),\ + AZALIA_PIN_CFG(2, 0x1a, 0x0181344f),\ + AZALIA_PIN_CFG(2, 0x1b, 0x02214020),\ + AZALIA_PIN_CFG(2, 0x1c, AZALIA_PIN_CFG_NC(0)),\ + AZALIA_PIN_CFG(2, 0x1d, 0x4005e601),\ + AZALIA_PIN_CFG(2, 0x1e, AZALIA_PIN_CFG_NC(0)),\ + AZALIA_PIN_CFG(2, 0x1f, AZALIA_PIN_CFG_NC(0))\ +)\ +);
const u32 pc_beep_verbs[0] = {};