diff options
author | Ting Liu <ting.liu@nxp.com> | 2020-04-24 15:48:09 +0800 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2020-05-15 08:42:44 -0300 |
commit | 41c93da5a6998328e8aa1670c9e76b146d959b2d (patch) | |
tree | 4497708f3592fc835d631d463dc41772d01a2239 | |
parent | c54e2c8fd57848721de17a7ae66e7c848bcc7e71 (diff) | |
download | meta-freescale-41c93da5a6998328e8aa1670c9e76b146d959b2d.tar.gz |
ls1043a/ls1046a: append non-upstream dtb on NXP bsp only
dtb with -sdk suffix only exist in kernel from NXP bsp. Append them
in machine configuration file only when using NXP bsp. Also, add the
dtb which already exist in pure mainline kernel.
This avoids failure when building pure mainline kernel.
Signed-off-by: Ting Liu <ting.liu@nxp.com>
-rw-r--r-- | conf/machine/ls1043ardb.conf | 9 | ||||
-rw-r--r-- | conf/machine/ls1046afrwy.conf | 3 | ||||
-rw-r--r-- | conf/machine/ls1046ardb.conf | 7 |
3 files changed, 16 insertions, 3 deletions
diff --git a/conf/machine/ls1043ardb.conf b/conf/machine/ls1043ardb.conf index 7a7af2734..c4329cda7 100644 --- a/conf/machine/ls1043ardb.conf +++ b/conf/machine/ls1043ardb.conf | |||
@@ -22,7 +22,14 @@ UBOOT_CONFIG ??= "tfa-secure-boot tfa" | |||
22 | UBOOT_CONFIG[tfa] = "ls1043ardb_tfa_defconfig,,u-boot-dtb.bin" | 22 | UBOOT_CONFIG[tfa] = "ls1043ardb_tfa_defconfig,,u-boot-dtb.bin" |
23 | UBOOT_CONFIG[tfa-secure-boot] = "ls1043ardb_tfa_SECURE_BOOT_defconfig,,u-boot-dtb.bin" | 23 | UBOOT_CONFIG[tfa-secure-boot] = "ls1043ardb_tfa_SECURE_BOOT_defconfig,,u-boot-dtb.bin" |
24 | 24 | ||
25 | KERNEL_DEVICETREE ?= "freescale/fsl-ls1043a-rdb-sdk.dtb freescale/fsl-ls1043a-qds.dtb freescale/fsl-ls1043a-qds-sdk.dtb" | 25 | KERNEL_DEVICETREE ?= "\ |
26 | freescale/fsl-ls1043a-rdb.dtb \ | ||
27 | freescale/fsl-ls1043a-qds.dtb \ | ||
28 | " | ||
29 | KERNEL_DEVICETREE_append_use-nxp-bsp = "\ | ||
30 | freescale/fsl-ls1043a-rdb-sdk.dtb \ | ||
31 | freescale/fsl-ls1043a-qds-sdk.dtb \ | ||
32 | " | ||
26 | KERNEL_DEFCONFIG ?= "defconfig" | 33 | KERNEL_DEFCONFIG ?= "defconfig" |
27 | 34 | ||
28 | UEFI_NORBOOT ?= "LS1043ARDB_EFI_NORBOOT.fd" | 35 | UEFI_NORBOOT ?= "LS1043ARDB_EFI_NORBOOT.fd" |
diff --git a/conf/machine/ls1046afrwy.conf b/conf/machine/ls1046afrwy.conf index 845b40895..fedf9d4ce 100644 --- a/conf/machine/ls1046afrwy.conf +++ b/conf/machine/ls1046afrwy.conf | |||
@@ -22,6 +22,9 @@ UBOOT_CONFIG[tfa] = "ls1046afrwy_tfa_defconfig,,u-boot-dtb.bin" | |||
22 | UBOOT_CONFIG[tfa-secure-boot] = "ls1046afrwy_tfa_SECURE_BOOT_defconfig,,u-boot-dtb.bin" | 22 | UBOOT_CONFIG[tfa-secure-boot] = "ls1046afrwy_tfa_SECURE_BOOT_defconfig,,u-boot-dtb.bin" |
23 | 23 | ||
24 | KERNEL_DEVICETREE ?= "\ | 24 | KERNEL_DEVICETREE ?= "\ |
25 | freescale/fsl-ls1046a-frwy.dtb \ | ||
26 | " | ||
27 | KERNEL_DEVICETREE_append_use-nxp-bsp = "\ | ||
25 | freescale/fsl-ls1046a-frwy-sdk.dtb \ | 28 | freescale/fsl-ls1046a-frwy-sdk.dtb \ |
26 | " | 29 | " |
27 | KERNEL_DEFCONFIG ?= "defconfig" | 30 | KERNEL_DEFCONFIG ?= "defconfig" |
diff --git a/conf/machine/ls1046ardb.conf b/conf/machine/ls1046ardb.conf index 6357a4398..e7c244aaa 100644 --- a/conf/machine/ls1046ardb.conf +++ b/conf/machine/ls1046ardb.conf | |||
@@ -22,9 +22,12 @@ UBOOT_CONFIG[tfa] = "ls1046ardb_tfa_defconfig,,u-boot-dtb.bin" | |||
22 | UBOOT_CONFIG[tfa-secure-boot] = "ls1046ardb_tfa_SECURE_BOOT_defconfig,,u-boot-dtb.bin" | 22 | UBOOT_CONFIG[tfa-secure-boot] = "ls1046ardb_tfa_SECURE_BOOT_defconfig,,u-boot-dtb.bin" |
23 | 23 | ||
24 | KERNEL_DEVICETREE ?= "\ | 24 | KERNEL_DEVICETREE ?= "\ |
25 | freescale/fsl-ls1046a-rdb-sdk.dtb \ | 25 | freescale/fsl-ls1046a-rdb.dtb \ |
26 | freescale/fsl-ls1046a-qds.dtb \ | 26 | freescale/fsl-ls1046a-qds.dtb \ |
27 | freescale/fsl-ls1046a-qds-sdk.dtb \ | 27 | " |
28 | KERNEL_DEVICETREE_append_use-nxp-bsp = "\ | ||
29 | freescale/fsl-ls1046a-rdb-sdk.dtb \ | ||
30 | freescale/fsl-ls1046a-rdb-sdk.dtb \ | ||
28 | " | 31 | " |
29 | KERNEL_DEFCONFIG ?= "defconfig" | 32 | KERNEL_DEFCONFIG ?= "defconfig" |
30 | 33 | ||