diff options
author | Rob Herring <rob.herring@linaro.org> | 2016-03-17 17:21:23 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-04-01 17:17:40 -0400 |
commit | 74322201dde4593dc3194c702e95e5760e6b497a (patch) | |
tree | 5134cbb331b2883b5231a5db5e0a0ff89a5577a1 /include/command.h | |
parent | b745e82837e7c285fefdecfd580a343ecbd3baff (diff) | |
download | u-boot-imx-74322201dde4593dc3194c702e95e5760e6b497a.zip u-boot-imx-74322201dde4593dc3194c702e95e5760e6b497a.tar.gz u-boot-imx-74322201dde4593dc3194c702e95e5760e6b497a.tar.bz2 |
fastboot: allow retrieving fastboot variables from env
Some boards need to expose device specific variable through fastboot
(to adpat the flashing script depending on hardware revision for
example).
Provide a way to expose custom fastboot variables. Note that all
variables meant to be exposed through fastboot should be be prefixed
with 'fastboot.', the variable should not exceed 32 bytes (including
the prefix and the trailing '\0') and the variable content should
fit in the response buffer (60 bytes excluding the 'OKAY' prefix and
the trailing '\0').
Signed-off-by: Rob Herring <rob.herring@linaro.org>
[Boris Brezillon: add a commit message]
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: Steve Rae <srae@broadcom.com>
Diffstat (limited to 'include/command.h')
0 files changed, 0 insertions, 0 deletions