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

Segher Boessenkool segher at kernel.crashing.org
Sat Jan 21 07:22:03 AEDT 2017


On Fri, Jan 20, 2017 at 05:46:13PM +0000, Darren Stevens wrote:
> --- 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


More information about the Linuxppc-dev mailing list