[PATCH 1/2] TC1: Fix TC1 build for latest upstream changes
    [PATCH 2/2] VEA5: Fix A5 build for latest upstream changes

The two platforms are relatively simple to fix because they follow the
TC2 and A9 BSPs very closely.  Perhaps close enough to some more code
to be moved to common areas ;-)

These examples will show you the simple steps you will need to take to
get your BSP working.

However, your BSP may be using old functionality that my BSPs were not.

The main change to watch out for is the deletion of the macro
IS_PRIMARY_CORE() which has been replaced with a function that the BSP
must provide.  The change came about with this commit:

--------------------------------------------------------------------------------
commit bebda7ceec3d3024c76b3c2ed0c9b4e502a13d61
Author: oliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>
Date:   Fri May 10 12:41:27 2013 +0000

    ArmPlatformPkg/ArmPlatformLib: Added support for ArmPlatformIsPrimaryCore()
    
    Checking if a core if the primary/boot core used to be done with the macro
    IS_PRIMARY_CORE().
    Some platforms exposes configuration registers to change the primary core.
    Replacing the macro IS_PRIMARY_CORE() by ArmPlatformIsPrimaryCore() allows
    some flexibility in the way to check the primary core.
    
    Contributed-under: TianoCore Contribution Agreement 1.0
    Signed-off-by: Olivier Martin <[email protected]>
    Reviewed-by: Leif Lindholm <[email protected]>
    Acked-by: Ryan Harkin <[email protected]>
    
    
    git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14344 
6f19259b-4bc3-4df7-8a09-765794883524
--------------------------------------------------------------------------------

My examples provide this function in a way that works for them, however,
your platforms may use different mechanisms.  I have no specific code
that was using the IS_PRIMARY_CORE() macro, so these patches will not
give an example of how you deal with those changes, but Olivier's
original patch should help a lot there.

Regards,
Ryan.

[1] https://git.linaro.org/gitweb?p=arm/uefi/uefi-next.git;a=summary

_______________________________________________
boot-architecture mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/boot-architecture

Reply via email to