conf: machine: am62: Add FIT_CONF_DEFAULT_DTB
PATCH 1/1 conf: machine: am62: Add FIT_CONF_DEFAULT_DTB
FIT_CONF_DEFAULT_DTB config specifies the default dtb file for the FIT image when multiple ones are provided[1].
Since the variable is not set in current machine configs, the default is set to the first dtb read during FIT image creation which doesn't give us direct control over the default configuration.
Therefore this patch adds default dtbs for am62 evms.
[1]:
https://docs.yoctoproject.org/ref-manual/variables.html#term-FIT_CONF_DEFAULT_DTB
Signed-off-by Anshul Dalal <[email protected]>
--- meta-ti-bsp/conf/machine/am62axx-evm.conf | 2 ++ meta-ti-bsp/conf/machine/am62pxx-evm.conf | 2 ++ meta-ti-bsp/conf/machine/am62xx-evm.conf | 2 ++ meta-ti-bsp/conf/machine/am62xx-lp-evm.conf | 2 ++ meta-ti-bsp/conf/machine/am62xxsip-evm.conf | 2 ++ 5 files changed, 10 insertions(+)
meta-ti-bsp/conf/machine/am62axx-evm.conf +2 -0
@@ -20,4 +20,6 @@ KERNEL_DEVICETREE = " \ ti/k3-am62x-sk-hdmi-audio.dtbo \ " +FIT_CONF_DEFAULT_DTB = "ti/k3-am62a7-sk.dtb" + UBOOT_MACHINE = "am62ax_evm_a53_defconfig"
meta-ti-bsp/conf/machine/am62pxx-evm.conf +2 -0
@@ -21,6 +21,8 @@ KERNEL_DEVICETREE = " \ ti/k3-am62x-sk-hdmi-audio.dtbo \ " +FIT_CONF_DEFAULT_DTB = "ti/k3-am62p5-sk.dtb" + UBOOT_MACHINE = "am62px_evm_a53_defconfig" # UBOOT_CONFIG_FRAGMENTS holds the list of u-boot config fragments which has to be build
meta-ti-bsp/conf/machine/am62xx-evm.conf +2 -0
@@ -31,4 +31,6 @@ KERNEL_DEVICETREE = " \ ti/k3-am62x-sk-hdmi-audio.dtbo \ " +FIT_CONF_DEFAULT_DTB = "ti/k3-am625-sk.dtb" + UBOOT_MACHINE = "am62x_evm_a53_defconfig"
meta-ti-bsp/conf/machine/am62xx-lp-evm.conf +2 -0
@@ -22,4 +22,6 @@ KERNEL_DEVICETREE = " \ ti/k3-am62x-sk-hdmi-audio.dtbo \ " +FIT_CONF_DEFAULT_DTB = "ti/k3-am62-lp-sk.dtb" + UBOOT_MACHINE = "am62x_lpsk_a53_defconfig"
meta-ti-bsp/conf/machine/am62xxsip-evm.conf +2 -0
@@ -13,6 +13,8 @@ KERNEL_DEVICETREE = " \ ti/k3-am625-sk.dtb \ " +FIT_CONF_DEFAULT_DTB = "ti/k3-am625-sk.dtb" + UBOOT_MACHINE = "am62xsip_evm_a53_defconfig" UBOOT_MACHINE:bsp-ti-6_1 = "am62x_evm_a53_defconfig"