diff options
author | Philipp Tomsich <philipp.tomsich@theobroma-systems.com> | 2017-09-15 12:36:24 +0200 |
---|---|---|
committer | Philipp Tomsich <philipp.tomsich@theobroma-systems.com> | 2017-10-02 11:20:55 +0200 |
commit | f1188388144acf12566dd54039d4ee544ad4a91d (patch) | |
tree | 6e6423b4bfb4488c1e2ec0a577b44ce119095129 /arch/arm/mach-rockchip/rk3368-board-tpl.c | |
parent | f4919b2ecdc2029ad8993f698b75530dbd21f3c3 (diff) |
rockchip: back-to-bootrom: allow passing a cmd to the bootrom
The BROM supports forcing it to enter download-mode, if an appropriate
result/cmd-word is returned to it. There already is a series to
support this in review, so this prepares the (newly C-version) of the
back-to-bootrom code to accept a cmd to passed on to the BROM.
All the existing call-sites are adjusted to match the changed function
signature.
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tested-by: Andy Yan <andy.yan@rock-chips.com>
Series-changes: 2
- also covers the RK3188 (which I had originally missed)
Diffstat (limited to 'arch/arm/mach-rockchip/rk3368-board-tpl.c')
-rw-r--r-- | arch/arm/mach-rockchip/rk3368-board-tpl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-rockchip/rk3368-board-tpl.c b/arch/arm/mach-rockchip/rk3368-board-tpl.c index b3e6ffa781..60d5aeade9 100644 --- a/arch/arm/mach-rockchip/rk3368-board-tpl.c +++ b/arch/arm/mach-rockchip/rk3368-board-tpl.c @@ -148,7 +148,7 @@ void board_init_f(ulong dummy) void board_return_to_bootrom(void) { - back_to_bootrom(); + back_to_bootrom(BROM_BOOT_NEXTSTAGE); } u32 spl_boot_device(void) |