Revert "samsung: boot inform: add boot_inform_clear() to reset inform registers"
authorLukasz Majewski <l.majewski@samsung.com>
Wed, 19 Mar 2014 07:29:10 +0000 (08:29 +0100)
committerLukasz Majewski <l.majewski@samsung.com>
Wed, 19 Mar 2014 07:29:10 +0000 (08:29 +0100)
This reverts commit 8b2669246e5b3d4080b2f886e8524d91b31256b5.

board/samsung/common/Makefile
board/samsung/common/inform.c [deleted file]
drivers/usb/gadget/f_thor.c

index a62cd85..f4aa9d8 100644 (file)
@@ -4,7 +4,7 @@
 #
 # SPDX-License-Identifier:     GPL-2.0+
 #
-obj-$(CONFIG_BOOT_INFORM) = inform.o
+
 obj-$(CONFIG_SOFT_I2C_MULTI_BUS) += multi_i2c.o
 obj-$(CONFIG_THOR_FUNCTION) += thor.o
 obj-$(CONFIG_CMD_USB_MASS_STORAGE) += ums.o
diff --git a/board/samsung/common/inform.c b/board/samsung/common/inform.c
deleted file mode 100644 (file)
index 4754e0d..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-#include <common.h>
-#include <asm/arch/power.h>
-
-#define        CONFIG_NORMAL_INFORM    0x12345678
-
-void boot_inform_clear(void)
-{
-       struct exynos4_power *power =
-               (struct exynos4_power *)samsung_get_base_power();
-
-       /* clear INFORM3 - reset status */
-       writel(0, &power->inform3);
-
-       /* set INFORM2 for normal boot */
-       writel(CONFIG_NORMAL_INFORM, &power->inform2);
-}
-
index a97c567..514113b 100644 (file)
@@ -132,10 +132,6 @@ static int process_rqt_cmd(const struct rqt_box *rqt)
                g_dnl_unregister();
                dfu_free_entities();
 
-#ifdef CONFIG_BOOT_INFORM
-               /* set normal boot */
-               boot_inform_clear();
-#endif
                run_command("reset", 0);
                break;
        case RQT_CMD_POWEROFF: