Juno: Rework platform reset handler
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
1 parent 4266228 commit 23d39dbc7e3a74dad630e2dea977f89242e0bdae
@Sandrine Bailleux Sandrine Bailleux authored on 18 Nov 2015
Showing 2 changed files
View
plat/arm/board/juno/aarch64/juno_helpers.S
View
plat/arm/board/juno/juno_def.h