#@TYPE: Machine
#@NAME: MDM9607 CDP
#@DESCRIPTION: Machine configuration for QTI MDM9607 CDP

require conf/machine/include/mdm9607.inc

KERNEL_IMAGETYPE = "zImage-dtb"
KERNEL_DTS_NAME = "mdm9607"
KERNEL_BASE = "0x80000000"
KERNEL_TAGS_OFFSET = "0x81E00000"

KERNEL_CONFIG = "${@['mdm9607-perf_defconfig', 'mdm9607_defconfig'][d.getVar('VARIANT', True) == ('' or 'debug')]}"

KERNEL_CMD_PARAMS ?= "noinitrd ro console=ttyHSL0,115200,n8 androidboot.hardware=qcom ehci-hcd.park=3 msm_rtb.filter=0x37 lpm_levels.sleep_disabled=1 earlycon=msm_hsl_uart,0x78b3000"
KERNEL_CMD_PARAMS:remove ?= "${@bb.utils.contains_any('VARIANT', 'perf user', 'console=ttyHSL0,115200,n8', '', d)}"

#Enable Recovery image generation
RECOVERY_IMAGE = "1"
