barebox: Rework do_configure_prepend to do_pre_configure

Defining a new task instead of using configure_prepend allows inheriting
recipes to override the pre_configure task.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
barebox: move environment deployment to its own task

Introduce a new task ito deploy the environment to allow inheriting
recipes to override it.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
imx6dlsabresd.conf: Add KERNEL_DEVICETREE

Change-Id: Ic5af7bd92566fa15513fb188c8e0181d9f805d29
Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com>
imx6sabresd-common.inc: Create file for SABRE SD common

Freescale i.MX6 SABRE SD machines have some common
configuration. This file is used in order to avoid
duplicating in all SABRE SD boards.

Replace any 'include' to 'require' to make sure an
error is launched in case the file is missing.

Change-Id: Ic50956c49a35c2e4f0af6c21e7495cce42698b56
Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com>
imx6sabreauto-common.inc: Create file for SABRE AUTO common

Freescale i.MX6 SABRE AUTO machines have some common
configuration. This file is used in order to avoid
duplicating in all SABRE AUTO boards.

Replace any 'include' to 'require' to make sure an
error is launched in case the file is missing.

Change-Id: I0d1e9e7b64ac3e34a18a32ca13872c23d4d668b2
Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com>
imx6sabresd/auto-common.inc: Add ath6k (WIFI) firmware

Add linux-firmware-ath6k to MACHINE_FIRMWARE.

Change-Id: Ie2e9e1f4f5a4cd33f0aa4d6dd679c83512968a2c
Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com>
imx6solosabreauto: Create machine configuration file

Change-Id: Ib92fc59c0f55aeadb2f6c3a80f2a402a5fc502ac
Signed-off-by: Lauren Post <lauren.post@freescale.com>
imx6solosabresd: Create machine configuration file

Change-Id: I27663dd957d4a2592fbdb3ae00c3b64603be6c28
Signed-off-by: Lauren Post <lauren.post@freescale.com>
imx6dlsabreauto: Create machine configuration file

This machine is only supported by u-boot-imx, so
the PREFERRED_PROVIDER is different from others
imx machines.

Change-Id: I2f6f71a8f1ce98f7c39526e912a0c2ca6fc76805
Signed-off-by: Lauren Post <lauren.post@freescale.com>
elftosb: add utility to generate Boot Control Block

From chapter 12.11.1 of the i.MX28 Applications Processor Reference Manual,
Rev. 1, 2010, a Boot Control Block is needed when booting from an SD/MMC
card. The BCB_struct.py utility will generate and write the BCB to a
file, it will also write the provided bootstream.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>