]> git.sur5r.net Git - u-boot/commitdiff
sniper: Get rid of reset_misc
authorPaul Kocialkowski <contact@paulk.fr>
Sat, 27 Feb 2016 18:26:43 +0000 (19:26 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 15 Mar 2016 19:10:49 +0000 (15:10 -0400)
There is no need to set the reboot mode to a particular value prior to reboot,
since valid values will have been caught and cleared earlier.

In addition, this breaks the reboot-bootloader fastboot call, by overriding the
required value for fastboot.

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Reviewed-by: Tom Rini <trini@konsulko.com>
board/lge/sniper/sniper.c

index b2c8e97e3414679900d288643a051a40c9959e3e..6726866d20e508b28d9761c9e2f267b8f2c2617f 100644 (file)
@@ -157,11 +157,6 @@ void get_board_serial(struct tag_serialnr *serialnr)
        omap_die_id_get_board_serial(serialnr);
 }
 
-void reset_misc(void)
-{
-       omap_reboot_mode_store("u");
-}
-
 int fb_set_reboot_flag(void)
 {
        return omap_reboot_mode_store("b");