mx6sabre_common: Add DFU support
authorFabio Estevam <fabio.estevam@freescale.com>
Wed, 23 Sep 2015 03:52:33 +0000 (00:52 -0300)
committerStefano Babic <sbabic@denx.de>
Fri, 2 Oct 2015 08:51:20 +0000 (10:51 +0200)
commit7daaac5281db0788cde895a0add38ad5195b5be1
treead47b61864b468ecf01a27015c549cd2abc75b11
parent931a1d2a14191266b675fe9db9afd227e372a919
mx6sabre_common: Add DFU support

Add DFU support.

Tested by flashing SPL and u-boot.img into SPI NOR flash with the
following commands:

=> setenv dfu_alt_info ${dfu_alt_info_spl}

=> run dfuspi

On the host PC:

$ sudo dfu-util -D SPL -a spl

On the target:

CTRL+C
=> setenv dfu_alt_info ${dfu_alt_info_img}

=> run dfuspi

On the host PC:

$ sudo dfu-util -D u-boot.img -a u-boot

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
include/configs/mx6sabre_common.h