beltino: Switch to PC AT Beep driver

This board has a simple beeper instead of internal speaker.

BUG=chrome-os-partner:23397
BRANCH=beltino
TEST=build and boot in dev mode on beltino and hear it beep

Change-Id: Ic11babd57a0d9637ff8cbded640f882700095713
Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/174765
Reviewed-by: Stefan Reinauer <reinauer@google.com>
Reviewed-by: Gabe Black <gabeblack@chromium.org>
diff --git a/board/beltino/defconfig b/board/beltino/defconfig
index 0fb73dd..2b09f1e 100644
--- a/board/beltino/defconfig
+++ b/board/beltino/defconfig
@@ -26,6 +26,6 @@
 CONFIG_DRIVER_INPUT_USB=y
 CONFIG_DRIVER_NET_ASIX=y
 CONFIG_DRIVER_POWER_PCH=y
-CONFIG_DRIVER_SOUND_HDA=y
+CONFIG_DRIVER_SOUND_PCAT_BEEP=y
 CONFIG_DRIVER_TPM_LPC=y
 CONFIG_DRIVER_LYNXPOINT_NO_EHCI=y
diff --git a/src/board/beltino/board.c b/src/board/beltino/board.c
index 5195d69..d9c6d69 100644
--- a/src/board/beltino/board.c
+++ b/src/board/beltino/board.c
@@ -29,7 +29,7 @@
 #include "drivers/gpio/lynxpoint_lp.h"
 #include "drivers/gpio/sysinfo.h"
 #include "drivers/power/pch.h"
-#include "drivers/sound/hda_codec.h"
+#include "drivers/sound/pcat_beep.h"
 #include "drivers/sound/sound.h"
 #include "drivers/storage/ahci.h"
 #include "drivers/storage/blockdev.h"
@@ -46,8 +46,8 @@
 	if (!flash || flash_set_ops(&flash->ops))
 		return 1;
 
-	HdaCodec *codec = new_hda_codec();
-	if (!codec || sound_set_ops(&codec->ops))
+	PcAtBeep *beep = new_pcat_beep();
+	if (!beep || sound_set_ops(&beep->ops))
 		return 1;
 
 	AhciCtrlr *ahci = new_ahci_ctrlr(PCI_DEV(0, 31, 2));