Thread (14 messages) flat view 14 messages, 5 authors, 2011-02-18

[PATCH V3 3/4] ARM: Xilinx: base header files and assembly macros

From: Jamie Iles <hidden>
Date: 2011-02-18 00:45:36
Also in: lkml

On Thu, Feb 17, 2011 at 05:37:47PM -0700, John Linn wrote:
quoted
quoted
+static inline void arch_reset(char mode, const char *cmd)
+{
+	/* Add architecture specific reset processing here */
I think you can add cpu_reset(0) in here to try a soft reset by
jumping
quoted
to the reset vector.  This should give you some reset functionality.
Hi Jamie,

How strongly do you feel that this has to be in on this initial patch
set?

There will be many more coming later and I'd like to postpone that one
as it's really additional
functionality vs a bug (to me anyway).
I don't have a strong opinion on it.  If you leave it as it is so that 
arch_reset() will return then the generic ARM code will issue a printk 
to tell the user that it failed then drop into an infinite loop so it 
should be obvious that reset isn't implemented!

If reset is nontrivial then you're probably right to leave it out of 
this patch and put it into another later on.

Jamie
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help