From: Paul Kocialkowski <contact@paulk.fr>
Date: Sat, 27 Feb 2016 18:26:43 +0000 (+0100)
Subject: sniper: Get rid of reset_misc
X-Git-Tag: v2025.01-rc5-pxa1908~10051
X-Git-Url: http://git.dujemihanovic.xyz/img/html/static/login.html?a=commitdiff_plain;h=8e643d748e313b22da145101baaa9fa123455722;p=u-boot.git

sniper: Get rid of reset_misc

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>
---

diff --git a/board/lge/sniper/sniper.c b/board/lge/sniper/sniper.c
index b2c8e97e34..6726866d20 100644
--- a/board/lge/sniper/sniper.c
+++ b/board/lge/sniper/sniper.c
@@ -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");