Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5e3aa527 authored by Russell King's avatar Russell King
Browse files

ARM: restart: remove comments about adding code to arch_reset()



arch_reset() is deprecated; systems should hook into system restart via
the 'restart' method in the platforms machine description record.

Acked-by: default avatarNicolas Pitre <nico@linaro.org>
Acked-by: default avatarJamie Iles <jamie@jamieiles.com>
Acked-by: default avatarTony Lindgren <tony@atomide.com>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent e6849374
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -12,14 +12,10 @@
 * GNU General Public License for more details.
 *
 */

#include <mach/hardware.h>

void arch_idle(void);

static inline void arch_reset(char mode, const char *cmd)
{
	for (;;) ;  /* depends on IPC w/ other core */
}

/* low level hardware reset hook -- for example, hitting the
+0 −1
Original line number Diff line number Diff line
@@ -25,7 +25,6 @@ static inline void arch_idle(void)

static inline void arch_reset(int mode, const char *cmd)
{
	/* Watchdog reset to go here. */
}

#endif /* __ASM_ARCH_SYSTEM_H */
+0 −1
Original line number Diff line number Diff line
@@ -19,7 +19,6 @@ static inline void arch_idle(void)

static inline void arch_reset(char mode, const char *cmd)
{
	/* yet to be implemented - TODO */
}

#endif
+0 −1
Original line number Diff line number Diff line
@@ -22,7 +22,6 @@ static inline void arch_idle(void)

static inline void arch_reset(char mode, const char *cmd)
{
	/* Add architecture specific reset processing here */
}

#endif