summaryrefslogtreecommitdiff
path: root/src/southbridge/amd/pi/hudson/hda.c
diff options
context:
space:
mode:
authorWANG Siyuan <wangsiyuanbuaa@gmail.com>2015-05-20 14:41:01 +0800
committerStefan Reinauer <stefan.reinauer@coreboot.org>2015-06-13 02:22:49 +0200
commitf2dfef01e1fdf9d8218f0bc6ecfc3f943dc4d2a1 (patch)
tree3c0b66ab3395249ddfa4524ebc80bdf3007acc89 /src/southbridge/amd/pi/hudson/hda.c
parent597ee56261c75c4e621a83e5999bc84e772ed53f (diff)
downloadcoreboot-f2dfef01e1fdf9d8218f0bc6ecfc3f943dc4d2a1.tar.xz
southbridge/amd/pi: Add support for new AMD southbridge Kern
Kern is the southbridge of AMD Merlin Falcon(Carrizo). This add support of HD audio, lpc, sata and usb for Kern. Change-Id: Ie47e38bc1099cdb72002619cb1da269f3739678b Signed-off-by: WANG Siyuan <wangsiyuanbuaa@gmail.com> Signed-off-by: WANG Siyuan <SiYuan.Wang@amd.com> Reviewed-on: http://review.coreboot.org/10418 Tested-by: build bot (Jenkins) Reviewed-by: Marc Jones <marc.jones@se-eng.com> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/southbridge/amd/pi/hudson/hda.c')
-rw-r--r--src/southbridge/amd/pi/hudson/hda.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/southbridge/amd/pi/hudson/hda.c b/src/southbridge/amd/pi/hudson/hda.c
index 3002dc565a..1eb77593ea 100644
--- a/src/southbridge/amd/pi/hudson/hda.c
+++ b/src/southbridge/amd/pi/hudson/hda.c
@@ -26,6 +26,11 @@
#include <delay.h>
#include "hudson.h"
+static const unsigned short pci_device_ids[] = {
+ PCI_DEVICE_ID_ATI_SB900_HDA,
+ PCI_DEVICE_ID_AMD_CZ_HDA,
+ 0
+};
static void hda_init(struct device *dev)
{
@@ -47,5 +52,5 @@ static struct device_operations hda_audio_ops = {
static const struct pci_driver hdaaudio_driver __pci_driver = {
.ops = &hda_audio_ops,
.vendor = PCI_VENDOR_ID_AMD,
- .device = PCI_DEVICE_ID_ATI_SB900_HDA,
+ .devices = pci_device_ids,
};