]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: dra7: Set fastboot variables in environment
authorSemen Protsenko <semen.protsenko@linaro.org>
Mon, 22 May 2017 16:16:42 +0000 (19:16 +0300)
committerTom Rini <trini@konsulko.com>
Mon, 12 Jun 2017 12:36:26 +0000 (08:36 -0400)
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>
board/ti/dra7xx/evm.c

index 8c02addd081eac15242f7ea98372f4f80b3e8c80..7d36f03fa1ec98c99a42ea28cb0458c9747bef79 100644 (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;
 }