aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-kernel
diff options
context:
space:
mode:
authorAníbal Limón <anibal.limon@linaro.org>2019-07-11 12:31:23 -0500
committerNicolas Dechesne <nicolas.dechesne@linaro.org>2019-07-15 17:06:32 +0200
commit71f1fa8c30d44cb7fd9e4fd6af5036b9e839e318 (patch)
tree4bb2fb377192a5b198c20c1066186e2bdde6728f /recipes-kernel
parent58c21fa95627c2dab2e718109ca3f91fc59a85d7 (diff)
downloadmeta-qcom-71f1fa8c30d44cb7fd9e4fd6af5036b9e839e318.tar.gz
meta-qcom-71f1fa8c30d44cb7fd9e4fd6af5036b9e839e318.tar.bz2
meta-qcom-71f1fa8c30d44cb7fd9e4fd6af5036b9e839e318.zip
recipes-kernel/linux: Add {clk,pd}_ignore_unused to db845c cmdline
Without this kernel variables in cmdline the a6xx gpu fails to probe/init use it for now. Signed-off-by: Aníbal Limón <anibal.limon@linaro.org> (cherry picked from commit b1b280c6edee053761a8166e6bba4cd1cd2320ed)
Diffstat (limited to 'recipes-kernel')
-rw-r--r--recipes-kernel/linux/linux-qcom-bootimg.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/recipes-kernel/linux/linux-qcom-bootimg.inc b/recipes-kernel/linux/linux-qcom-bootimg.inc
index 7290f27..1c7c055 100644
--- a/recipes-kernel/linux/linux-qcom-bootimg.inc
+++ b/recipes-kernel/linux/linux-qcom-bootimg.inc
@@ -10,6 +10,8 @@ BOOT_IMAGE_BASE_NAME = "boot-${KERNEL_IMAGE_NAME}"
BOOT_IMAGE_SYMLINK_NAME = "boot-${KERNEL_IMAGE_LINK_NAME}"
SD_BOOT_IMAGE_BASE_NAME = "boot-sd${KERNEL_IMAGE_NAME}"
SD_BOOT_IMAGE_SYMLINK_NAME = "boot-sd-${KERNEL_IMAGE_LINK_NAME}"
+KERNEL_CMDLINE = "root=/dev/${1} rw rootwait console=${ttydev},${baudrate}n8"
+KERNEL_CMDLINE_append_dragonboard-845c = " clk_ignore_unused pd_ignore_unused"
# param ${1} partition where rootfs is located
# param ${2} output boot image file name
@@ -20,8 +22,7 @@ priv_make_image() {
$mkbootimg_dtarg \
--pagesize ${QCOM_BOOTIMG_PAGE_SIZE} \
--base ${QCOM_BOOTIMG_KERNEL_BASE} \
- --cmdline \
- "root=/dev/${1} rw rootwait console=${ttydev},${baudrate}n8"
+ --cmdline "${KERNEL_CMDLINE}"
}
do_deploy_append() {