• Sandrine Bailleux's avatar
    Juno: Rework platform reset handler · 23d39dbc
    Sandrine Bailleux authored
    This patch splits the Juno reset handler in 4 distinct pieces:
    
     - Detection of the board revision;
     - Juno R0 specific handler;
     - Juno R1 specific handler;
     - Juno R2 specific handler.
    
    Depending on the board revision, the appropriate handler is called.
    This makes the code easier to understand and maintain.
    
    This patch is mainly cosmetic. The only functional change introduced
    is that the Juno platform reset handler will now spin infinitely if
    the board revision is not recognised. Previously, it would have
    assumed that it was running on Juno R1 in this case.
    
    Change-Id: I54ed77c4665085ead9d1573316c9c884d7d3ffa0
    23d39dbc
juno_def.h 3.39 KB