arm: dra7: Set fastboot variables in environment

One can obtain those variables using next commands:

    $ fastboot getvar cpu
    $ fastboot getvar secure
    $ fastboot getvar board_rev
    $ fastboot getvar userdata_size

Those variables are needed for fastboot.sh script.

Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Semen Protsenko 2017-05-22 19:16:42 +03:00 committed by Tom Rini
parent 8bd29623b5
commit 4a30a93929

View File

@ -561,6 +561,7 @@ int board_late_init(void)
setenv("boot_fit", "1");
omap_die_id_serial();
omap_set_fastboot_vars();
#endif
return 0;
}