]> git.sur5r.net Git - u-boot/commit
ARM: tegra: enable DFU too
authorStephen Warren <swarren@nvidia.com>
Fri, 25 Jul 2014 23:16:54 +0000 (17:16 -0600)
committerTom Warren <twarren@nvidia.com>
Mon, 18 Aug 2014 23:57:03 +0000 (16:57 -0700)
commit39446bcefafa178e4072bd28c4f8325835d473d2
tree415dd3c9a0944913893c155dc3538e49026d69d3
parentdf3443dfa449ad02bef8ddf6e2c90a6fd9394fc9
ARM: tegra: enable DFU too

Enable DFU protocol support (via the "dfu" command) on Tegra boards where
USB device/gadget mode is enabled.

Note that for DFU to operate correctly on Tegra, we still need some DFU
fixes/enhancements that are going through the DFU -> USB trees. However,
the code builds just fine without those changes, and applying this patch
now will allow both sets of patches to meet in the main U-Boot tree much
more quickly.

In order to run test/dfu/dfu_gadget_test.sh, you would need to add the
following to the board configuration:

CONFIG_EXT4_WRITE
CONFIG_CMD_EXT4_WRITE

However, I haven't enabled those here, since I believe the main use-case
for DFU on Tegra is raw flash writing, rather than filesystem access, so
we don't need the additional code-size hit. However, I could be persuaded
otherwise! We should probably add a separate test script for raw flash
access.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
include/configs/beaver.h
include/configs/jetson-tk1.h
include/configs/tegra-common-ums.h [deleted file]
include/configs/tegra-common-usb-gadget.h [new file with mode: 0644]
include/configs/venice2.h