]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
x86: crownbay: Enable the beeper sound driver
authorBin Meng <bmeng.cn@gmail.com>
Tue, 26 Feb 2019 09:52:22 +0000 (01:52 -0800)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 11 Mar 2019 14:55:01 +0000 (22:55 +0800)
Use the i8254 sound driver to support creating simple beeps.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/x86/dts/crownbay.dts
configs/crownbay_defconfig

index 2ffcc5f27eceaec5bb24bc9e1917cb6f34ab68b3..8938a94e7707c2c503cce2d533d7877ff4b47df1 100644 (file)
@@ -10,6 +10,7 @@
 /include/ "skeleton.dtsi"
 /include/ "serial.dtsi"
 /include/ "keyboard.dtsi"
+/include/ "pcspkr.dtsi"
 /include/ "reset.dtsi"
 /include/ "rtc.dtsi"
 /include/ "tsc_timer.dtsi"
index 34c2eb323ef6513d76979ca13016dbdb840380b1..e0c98247a70d465aec243f042f4e755861e9a62a 100644 (file)
@@ -28,6 +28,7 @@ CONFIG_CMD_DHCP=y
 # CONFIG_CMD_NFS is not set
 CONFIG_CMD_PING=y
 CONFIG_CMD_TIME=y
+CONFIG_CMD_SOUND=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_EXT4=y
 CONFIG_CMD_EXT4_WRITE=y
@@ -41,6 +42,8 @@ CONFIG_REGMAP=y
 CONFIG_SYSCON=y
 CONFIG_CPU=y
 CONFIG_E1000=y
+CONFIG_SOUND=y
+CONFIG_SOUND_I8254=y
 CONFIG_SPI=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_KEYBOARD=y