[coreboot-gerrit] Change in coreboot[master]: azalia: Add Azalia reset macro

Lijian Zhao (Code Review) gerrit at coreboot.org
Fri Nov 9 03:09:02 CET 2018


Lijian Zhao has uploaded this change for review. ( https://review.coreboot.org/29554


Change subject: azalia: Add Azalia reset macro
......................................................................

azalia: Add Azalia reset macro

Provide an reset macro that will use Verb ID 0x7ff and Payload 0 to
execute function reset.

Change-Id: Ie788b7153e25b764cd1d33753af17d5ed4903c36
Signed-off-by: Lijian Zhao <lijian.zhao at intel.com>
---
M src/include/device/azalia_device.h
1 file changed, 4 insertions(+), 0 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/54/29554/1

diff --git a/src/include/device/azalia_device.h b/src/include/device/azalia_device.h
index 53aad97..a6fb089 100644
--- a/src/include/device/azalia_device.h
+++ b/src/include/device/azalia_device.h
@@ -47,6 +47,10 @@
 	(((codec) << 28) | ((pin) << 20) | (0x71f << 8)	\
 		| (((val) >> 24) & 0xff))
 
+#define AZALIA_RESET(codec)						\
+	((((codec) << 28) | 0x017ff00), (((codec) << 28) | 0x017ff00),	\
+	(((codec) << 28) | 0x017ff00), (((codec) << 28) | 0x017ff00))
+
 #define AZALIA_SUBVENDOR(codec, val)		    \
 	(((codec) << 28) | (0x01720 << 8) | ((val) & 0xff)),	\
 	(((codec) << 28) | (0x01721 << 8) | (((val) >> 8) & 0xff)), \

-- 
To view, visit https://review.coreboot.org/29554
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie788b7153e25b764cd1d33753af17d5ed4903c36
Gerrit-Change-Number: 29554
Gerrit-PatchSet: 1
Gerrit-Owner: Lijian Zhao <lijian.zhao at intel.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20181109/244ff91d/attachment.html>


More information about the coreboot-gerrit mailing list