]> git.sur5r.net Git - u-boot/commitdiff
arm: am57xx: Set fastboot variables in environment
authorSemen Protsenko <semen.protsenko@linaro.org>
Mon, 22 May 2017 16:16:41 +0000 (19:16 +0300)
committerTom Rini <trini@konsulko.com>
Mon, 12 Jun 2017 12:36:25 +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/am57xx/board.c

index 0f70ef3392103081cf7675da3a7b33592e6d2814..bf8c8e1a678fb2dc35431d2d9a86e5dde7301b31 100644 (file)
@@ -623,6 +623,7 @@ int board_late_init(void)
                            val);
 
        omap_die_id_serial();
+       omap_set_fastboot_vars();
 
        am57x_idk_lcd_detect();