aboutsummaryrefslogtreecommitdiff
path: root/lt-qcom-debian-images/builders-fai.sh
diff options
context:
space:
mode:
authorAníbal Limón <anibal.limon@linaro.org>2019-07-15 08:46:06 -0500
committerAníbal Limón <anibal.limon@linaro.org>2019-07-15 08:46:06 -0500
commitcc83f1c00dc4979d7016cd4e5d0680eaa8319e8d (patch)
tree18d949145a228df7c3d5871cccbb9b375ba117f3 /lt-qcom-debian-images/builders-fai.sh
parent40055b4fdb28c8177f94e3a6cc49c9b4c661e4d3 (diff)
lt-qcom-debian-images: Add KERNEL_CMDLINE_PLATFORM variable
To append specific cmdline by platform if is needed, in this case '{clk,pd}_ignore_unused' for dragonboard845c. Change-Id: I1855cc9d3e4c7b0c42b48b496a5d1a79c19214e7 Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Diffstat (limited to 'lt-qcom-debian-images/builders-fai.sh')
-rw-r--r--lt-qcom-debian-images/builders-fai.sh6
1 files changed, 1 insertions, 5 deletions
diff --git a/lt-qcom-debian-images/builders-fai.sh b/lt-qcom-debian-images/builders-fai.sh
index 614d58f2bd..e523e166b8 100644
--- a/lt-qcom-debian-images/builders-fai.sh
+++ b/lt-qcom-debian-images/builders-fai.sh
@@ -162,11 +162,7 @@ cd ..
ROOTFS_PARTLABEL=$(grep --color=never -Po "^ROOTFS_PARTLABEL=\K.*" class/${FAI_BOARD_CLASS}.var)
# Create boot image
-KERNEL_CMDLINE="root=/dev/disk/by-partlabel/${ROOTFS_PARTLABEL} rw rootwait console=tty0 console=${SERIAL_CONSOLE},115200n8"
-if [ "${PLATFORM_NAME}" == "dragonboard-845c" ]; then
- KERNEL_CMDLINE="${KERNEL_CMDLINE} clk_ignore_unused pd_ignore_unused"
-fi
-
+KERNEL_CMDLINE="root=/dev/disk/by-partlabel/${ROOTFS_PARTLABEL} rw rootwait console=tty0 console=${SERIAL_CONSOLE},115200n8 ${KERNEL_CMDLINE_PLATFORM}"
cat out/vmlinuz-* out/$(basename ${DTBS}) > Image.gz+dtb
mkbootimg \
--kernel Image.gz+dtb \