summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorLijian Zhao <lijian.zhao@intel.com>2018-11-08 17:57:33 -0800
committerPatrick Georgi <pgeorgi@google.com>2018-11-29 12:20:44 +0000
commit5c9237fd5fefba49343eacba9b5846e5e69752ea (patch)
tree92231b8f35b7cad5bbfa0184a8ecf8557a01156a /src/include
parentf04aedac271a4fbfd7547b01b7f2273f1f1dd495 (diff)
downloadcoreboot-5c9237fd5fefba49343eacba9b5846e5e69752ea.tar.xz
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@intel.com> Reviewed-on: https://review.coreboot.org/c/29554 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Sathyanarayana Nujella <sathyanarayana.nujella@intel.com> Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/device/azalia_device.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/device/azalia_device.h b/src/include/device/azalia_device.h
index 53aad97175..774b5505b8 100644
--- a/src/include/device/azalia_device.h
+++ b/src/include/device/azalia_device.h
@@ -47,6 +47,10 @@ extern const u32 pc_beep_verbs_size;
(((codec) << 28) | ((pin) << 20) | (0x71f << 8) \
| (((val) >> 24) & 0xff))
+#define AZALIA_RESET(pin) \
+ (((pin) << 20) | 0x7ff00), (((pin) << 20) | 0x7ff00), \
+ (((pin) << 20) | 0x7ff00), (((pin) << 20) | 0x7ff00)
+
#define AZALIA_SUBVENDOR(codec, val) \
(((codec) << 28) | (0x01720 << 8) | ((val) & 0xff)), \
(((codec) << 28) | (0x01721 << 8) | (((val) >> 8) & 0xff)), \