]> Git Repo - J-u-boot.git/commitdiff
arm: am57xx: Set fastboot variables in environment
authorSemen Protsenko <[email protected]>
Mon, 22 May 2017 16:16:41 +0000 (19:16 +0300)
committerTom Rini <[email protected]>
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 <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
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();
 
This page took 0.037162 seconds and 4 git commands to generate.