Re: [PATCH] powerpc/pasemi/nemo: Fix low memory values for boot.

From
Segher Boessenkool <hidden>
Date
2017-01-20 20:22:14
Reply to
Darren Stevens, 2017-01-20
On Fri, Jan 20, 2017 at 05:46:13PM +0000, Darren Stevens wrote:
quoted hunk ↗ jump to hunk
--- a/arch/powerpc/kernel/head_64.S
+++ b/arch/powerpc/kernel/head_64.S
@@ -79,6 +79,13 @@ _GLOBAL(__start)
    /* NOP this out unconditionally */
 BEGIN_FTR_SECTION
    FIXUP_ENDIAN
+#ifdef CONFIG_PPC_PASEMI_NEMO
+   /*
+    * Zero address 8 so Nemo will boot
+    */
+   li  r0,0
+   std 0,8(0)
+#endif
std r0,8(0)   for clarity?


Segher
Thread (5 messages) 5 messages, 3 authors, last reply 2017-01-24
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help