]> git.baikalelectronics.ru Git - arm-tf.git/commit
arm_fpga: Add ROM trampoline
authorAndre Przywara <andre.przywara@arm.com>
Mon, 3 Aug 2020 12:06:38 +0000 (13:06 +0100)
committerAndre Przywara <andre.przywara@arm.com>
Tue, 29 Sep 2020 12:28:25 +0000 (13:28 +0100)
commitf45c6d8623309a256718212a1a2c72ad5efe925d
treea099d43e8725288b612658475b0e9573489540f1
parentb48883c79a7abd1495ba55c3d0dcc95464c30c7e
arm_fpga: Add ROM trampoline

The application cores of the FPGAs used in Arm Ltd. start execution at
address 0x0. This is the location of some (emulated) ROM area (which can
be written to by the uploading tool).
Since the arm_fpga port is configured to run from DRAM, we load BL31 to
the beginning of DRAM (mapped at 2GB). This requires some small
trampoline code in the "ROM" to jump to the BL31 entry point.

To avoid some extra magic binary, add a tiny assembly file with that
trivial jump instruction to the tree, so this binary can be created
alongside BL31.

Change-Id: I9e4439fc0f093fa24dd49a8377c9edb030fbb477
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
plat/arm/board/arm_fpga/platform.mk
plat/arm/board/arm_fpga/rom_trampoline.S [new file with mode: 0644]