Add custom rpi-cmdline
authorHugo Villeneuve <hugo@hugovil.com>
Thu, 19 Jan 2023 23:44:23 +0000 (18:44 -0500)
committerHugo Villeneuve <hugo@hugovil.com>
Wed, 1 Mar 2023 17:10:15 +0000 (12:10 -0500)
raspberrypi/recipes-bsp/bootfiles/rpi-cmdline.bbappend [new file with mode: 0644]

diff --git a/raspberrypi/recipes-bsp/bootfiles/rpi-cmdline.bbappend b/raspberrypi/recipes-bsp/bootfiles/rpi-cmdline.bbappend
new file mode 100644 (file)
index 0000000..b33a856
--- /dev/null
@@ -0,0 +1,8 @@
+CMDLINE_COMPAT_ALSA ?= "snd_bcm2835.enable_compat_alsa=1"
+
+CMDLINE_HEADPHONES ?= "snd_bcm2835.enable_headphones=1"
+
+CMDLINE += " \
+    ${CMDLINE_COMPAT_ALSA} \
+    ${CMDLINE_HEADPHONES} \
+"