Hi Dave,

I've applied this patch to uefi-next.git now.  The branch "linaro-tracking"
should have everything there, with an almost-up-to-date edk2 source.

I haven't tested Panda at all, other than built it, so if you want to give
it a test asap (code freeze day is tomorrow) then please do and let me know.

Cheers,
Ryan.


On 10 September 2013 17:17, David Long <[email protected]> wrote:

> From: "David A. Long" <[email protected]>
>
> Signed-off-by: David A. Long <[email protected]>
> ---
>  PandaBoardPkg/Library/PandaBoardLib/PandaBoardHelper.S | 17
> +++++++++++++++++
>  1 file changed, 17 insertions(+)
>
> diff --git a/PandaBoardPkg/Library/PandaBoardLib/PandaBoardHelper.S
> b/PandaBoardPkg/Library/PandaBoardLib/PandaBoardHelper.S
> index 6405d16..49fcf53 100644
> --- a/PandaBoardPkg/Library/PandaBoardLib/PandaBoardHelper.S
> +++ b/PandaBoardPkg/Library/PandaBoardLib/PandaBoardHelper.S
> @@ -23,6 +23,9 @@
>  GCC_ASM_EXPORT(ArmPlatformPrePiBootAction)
>  GCC_ASM_EXPORT(ArmPlatformGetCorePosition)
>
> +GCC_ASM_EXPORT(ArmPlatformIsPrimaryCore)
> +GCC_ASM_EXPORT(ArmPlatformPeiBootAction)
> +
>  /**
>    ArmPlatformPrePiBootAction
>
> @@ -99,4 +102,18 @@ relocator_end:
>  ASM_PFX(ArmPlatformGetCorePosition):
>    bx    lr
>
> +ASM_PFX(ArmPlatformIsPrimaryCore):
> +  #Bits 8 through 11 are CPU ID
> +  ldr   r1, =0xf00
> +  and   r0, r0, r1
> +  #id for core0 should be 0
> +  ldr   r1, =0x0
> +  cmp   r0, r1
> +  moveq r0, #1
> +  movne r0, #0
> +  mov   pc, lr
> +
> +ASM_PFX(ArmPlatformPeiBootAction):
> +  mov pc, lr
> +
>  ASM_FUNCTION_REMOVE_IF_UNREFERENCED
> --
> 1.8.1.2
>
>
> _______________________________________________
> boot-architecture mailing list
> [email protected]
> http://lists.linaro.org/mailman/listinfo/boot-architecture
>
_______________________________________________
boot-architecture mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/boot-architecture

Reply via email to