diff options
| author | Khem Raj <raj.khem@gmail.com> | 2013-10-17 19:18:49 +0000 |
|---|---|---|
| committer | Otavio Salvador <otavio@ossystems.com.br> | 2013-10-18 00:01:37 -0300 |
| commit | 10394d19f042d80880fd19315796fa8ed3ecc200 (patch) | |
| tree | d39ad6fa232d2f2c56abf1dff3c627b53588242b | |
| parent | 13be556d0dbcfc639936b9b7e2eef04ed50c8307 (diff) | |
| download | meta-freescale-10394d19f042d80880fd19315796fa8ed3ecc200.tar.gz | |
machines: Add PREFERRED_PROVIDER for virtual/bootloader
virtual/bootloader is a commonly used target. This patch
adds it for meta-fsl-arm machines.
Other BSP layers have this provider and when using a mutli-machine
distro setup bitbake virtual/bootloader
builds a wrong u-boot for fsl machines
Signed-off-by: Khem Raj <raj.khem@gmail.com>
5 files changed, 4 insertions, 1 deletions
diff --git a/meta-fsl-arm/conf/machine/imx6dlsabreauto.conf b/meta-fsl-arm/conf/machine/imx6dlsabreauto.conf index bf31b4d06..e0fb1995b 100644 --- a/meta-fsl-arm/conf/machine/imx6dlsabreauto.conf +++ b/meta-fsl-arm/conf/machine/imx6dlsabreauto.conf | |||
| @@ -10,6 +10,7 @@ SOC_FAMILY = "mx6:mx6dl" | |||
| 10 | KERNEL_DEVICETREE = "imx6dl-sabreauto.dtb" | 10 | KERNEL_DEVICETREE = "imx6dl-sabreauto.dtb" |
| 11 | 11 | ||
| 12 | PREFERRED_PROVIDER_u-boot = "u-boot-imx" | 12 | PREFERRED_PROVIDER_u-boot = "u-boot-imx" |
| 13 | PREFERRED_PROVIDER_virtual/bootloader = "u-boot-imx" | ||
| 13 | 14 | ||
| 14 | UBOOT_CONFIG ??= "sd" | 15 | UBOOT_CONFIG ??= "sd" |
| 15 | UBOOT_CONFIG[sd] = "mx6dlsabreauto_config,sdcard" | 16 | UBOOT_CONFIG[sd] = "mx6dlsabreauto_config,sdcard" |
diff --git a/meta-fsl-arm/conf/machine/imx6solosabreauto.conf b/meta-fsl-arm/conf/machine/imx6solosabreauto.conf index c2f5fac17..9d450a462 100644 --- a/meta-fsl-arm/conf/machine/imx6solosabreauto.conf +++ b/meta-fsl-arm/conf/machine/imx6solosabreauto.conf | |||
| @@ -10,6 +10,7 @@ SOC_FAMILY = "mx6:mx6s" | |||
| 10 | KERNEL_DEVICETREE = "imx6dl-sabreauto.dtb" | 10 | KERNEL_DEVICETREE = "imx6dl-sabreauto.dtb" |
| 11 | 11 | ||
| 12 | PREFERRED_PROVIDER_u-boot = "u-boot-imx" | 12 | PREFERRED_PROVIDER_u-boot = "u-boot-imx" |
| 13 | PREFERRED_PROVIDER_virtual/bootloader = "u-boot-imx" | ||
| 13 | 14 | ||
| 14 | UBOOT_CONFIG ??= "sd" | 15 | UBOOT_CONFIG ??= "sd" |
| 15 | UBOOT_CONFIG[sd] = "mx6solosabreauto_config,sdcard" | 16 | UBOOT_CONFIG[sd] = "mx6solosabreauto_config,sdcard" |
diff --git a/meta-fsl-arm/conf/machine/imx6solosabresd.conf b/meta-fsl-arm/conf/machine/imx6solosabresd.conf index 325e643d2..cfc30d2e1 100644 --- a/meta-fsl-arm/conf/machine/imx6solosabresd.conf +++ b/meta-fsl-arm/conf/machine/imx6solosabresd.conf | |||
| @@ -10,6 +10,7 @@ SOC_FAMILY = "mx6:mx6s" | |||
| 10 | KERNEL_DEVICETREE = "imx6dl-sabresd.dtb" | 10 | KERNEL_DEVICETREE = "imx6dl-sabresd.dtb" |
| 11 | 11 | ||
| 12 | PREFERRED_PROVIDER_u-boot = "u-boot-imx" | 12 | PREFERRED_PROVIDER_u-boot = "u-boot-imx" |
| 13 | PREFERRED_PROVIDER_virtual/bootloader = "u-boot-imx" | ||
| 13 | 14 | ||
| 14 | UBOOT_CONFIG ??= "sd" | 15 | UBOOT_CONFIG ??= "sd" |
| 15 | UBOOT_CONFIG[sd] = "mx6solosabresd_config,sdcard" | 16 | UBOOT_CONFIG[sd] = "mx6solosabresd_config,sdcard" |
diff --git a/meta-fsl-arm/conf/machine/include/fsl-default-providers.inc b/meta-fsl-arm/conf/machine/include/fsl-default-providers.inc index de1518961..e51ea7217 100644 --- a/meta-fsl-arm/conf/machine/include/fsl-default-providers.inc +++ b/meta-fsl-arm/conf/machine/include/fsl-default-providers.inc | |||
| @@ -3,3 +3,4 @@ | |||
| 3 | PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg" | 3 | PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg" |
| 4 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-imx" | 4 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-imx" |
| 5 | PREFERRED_PROVIDER_u-boot ?= "u-boot-fslc" | 5 | PREFERRED_PROVIDER_u-boot ?= "u-boot-fslc" |
| 6 | PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-fslc" | ||
diff --git a/meta-fsl-arm/conf/machine/twr-vf65gs10.conf b/meta-fsl-arm/conf/machine/twr-vf65gs10.conf index 00fdff402..f726ffac2 100644 --- a/meta-fsl-arm/conf/machine/twr-vf65gs10.conf +++ b/meta-fsl-arm/conf/machine/twr-vf65gs10.conf | |||
| @@ -9,7 +9,6 @@ include conf/machine/include/tune-cortexa5.inc | |||
| 9 | SOC_FAMILY = "vf60" | 9 | SOC_FAMILY = "vf60" |
| 10 | 10 | ||
| 11 | PREFERRED_PROVIDER_virtual/kernel = "linux-timesys" | 11 | PREFERRED_PROVIDER_virtual/kernel = "linux-timesys" |
| 12 | PREFERRED_PROVIDER_u-boot = "u-boot-fslc" | ||
| 13 | 12 | ||
| 14 | UBOOT_MACHINE = "vf610twr_config" | 13 | UBOOT_MACHINE = "vf610twr_config" |
| 15 | 14 | ||
