We define a mechanism to pass board specific parameters to BL31. The idea is BL31 doesn't need to have the board revision knowledge, it only needs to process the board specific parameters to initialize and control specific hardware. In this way, we can support different boards with same BL31 binary.
BRANCH=none BUG=none TEST=booted on oak-rev2 and oak-rev3 boards, and confirmed they got different board arguments in ARM TF
Change-Id: I0df2c6d7d1ffac7d443511c3317c142efeb5701e
27eba67 google/oak: Add soc ARM Trusted Firmware support
src/mainboard/google/oak/mainboard.c | 54 ++++++++++++++++++++++++++++++++++
1 file changed, 54 insertions(+)
Upstream: review.coreboot.org