Message ID | 20170518130102.6820-3-semen.protsenko@linaro.org |
---|---|
State | Accepted |
Commit | 8bd29623b5223e880e7be475243a2bdb987aba38 |
Delegated to: | Tom Rini |
Headers | show |
On Thursday 18 May 2017 06:31 PM, Sam Protsenko wrote: > 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> > --- > board/ti/am57xx/board.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/board/ti/am57xx/board.c b/board/ti/am57xx/board.c > index 3be697a6ea..c8ebcdbcc8 100644 > --- a/board/ti/am57xx/board.c > +++ b/board/ti/am57xx/board.c > @@ -573,6 +573,7 @@ int board_late_init(void) > val); > > omap_die_id_serial(); > + omap_set_fastboot_vars(); Any chance that we can guard this function with CONFIG_*_FASTBOOT? Thanks and regards, Lokesh
On 19 May 2017 at 05:06, Lokesh Vutla <lokeshvutla@ti.com> wrote: > > > On Thursday 18 May 2017 06:31 PM, Sam Protsenko wrote: >> 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> >> --- >> board/ti/am57xx/board.c | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/board/ti/am57xx/board.c b/board/ti/am57xx/board.c >> index 3be697a6ea..c8ebcdbcc8 100644 >> --- a/board/ti/am57xx/board.c >> +++ b/board/ti/am57xx/board.c >> @@ -573,6 +573,7 @@ int board_late_init(void) >> val); >> >> omap_die_id_serial(); >> + omap_set_fastboot_vars(); > > Any chance that we can guard this function with CONFIG_*_FASTBOOT? > Done. Just sent v2, please review. Thanks. > Thanks and regards, > Lokesh
diff --git a/board/ti/am57xx/board.c b/board/ti/am57xx/board.c index 3be697a6ea..c8ebcdbcc8 100644 --- a/board/ti/am57xx/board.c +++ b/board/ti/am57xx/board.c @@ -573,6 +573,7 @@ int board_late_init(void) val); omap_die_id_serial(); + omap_set_fastboot_vars(); am57x_idk_lcd_detect();
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> --- board/ti/am57xx/board.c | 1 + 1 file changed, 1 insertion(+)