arm64: provide early SoC initialization

Some of the SoC's need an early hook to configure
certain registers. One example of this is on t132
where ramstage is the first thing being ran on the
arm64 core and it is the only entity that can configure
certain registers required for the rest of ramstage.
Therefore, provide the opportunity for the SoC to
implement such requirements.

TEST=Built and ran through coreboot.

Original-Change-Id: Ib352f3788872f888581b398c9b394b7c4e54b02a
Original-Signed-off-by: Aaron Durbin <>
Original-Reviewed-by: Tom Warren <>
Original-Reviewed-by: Furquan Shaikh <>
Original-Commit-Queue: Furquan Shaikh <>
(cherry picked from commit 2c50e2b39e75d1383e8e573c576630a5b7313349)
Signed-off-by: Marc Jones <>

Change-Id: I38df63e46c5c21b2d319fc9eb42053c3a0d61bc8
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <>
Reviewed-by: Paul Menzel <>
4 files changed