]> git.baikalelectronics.ru Git - arm-tf.git/commit
corstone700: splitting the platform support into FVP and FPGA
authorAbdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
Mon, 6 Jul 2020 15:15:23 +0000 (16:15 +0100)
committerAbdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
Mon, 6 Jul 2020 15:55:43 +0000 (16:55 +0100)
commitef93cfa3a2591084307a41e64f1cbba327310749
tree0b7e30eab374a6131e6ce9bac7bf1fea3f635dce
parent11af40b6308ac75c83e874129bb79bc3a58060bf
corstone700: splitting the platform support into FVP and FPGA

This patch performs the following:

- Creating two corstone700 platforms under corstone700 board:

  fvp and fpga

- Since the FVP and FPGA have IP differences, this commit provides a specific DTS for each platform
- The platform can be specified using the TARGET_PLATFORM Makefile variable
(possible values are: fvp or fpga)
- Allowing to use u-boot by:
  - Enabling NEED_BL33 option
  - Fixing non-secure image base: For no preloaded bl33 we want to
    have the NS base set on shared ram. Setup a memory map region
    for NS in shared map and set the bl33 address in the area.
- Setting the SYS_COUNTER_FREQ_IN_TICKS based on the selected
platform
- Setting ARM_MAP_SHARED_RAM and ARM_MAP_NS_SHARED_RAM to use MT_MEMORY

Change-Id: I4c8ac3387acb1693ab617bcccab00d80e340c163
Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>
Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
24 files changed:
fdts/corstone700.dts [deleted file]
fdts/corstone700.dtsi [new file with mode: 0644]
fdts/corstone700_fpga.dts [new file with mode: 0644]
fdts/corstone700_fvp.dts [new file with mode: 0644]
plat/arm/board/corstone700/common/corstone700_helpers.S [new file with mode: 0644]
plat/arm/board/corstone700/common/corstone700_plat.c [new file with mode: 0644]
plat/arm/board/corstone700/common/corstone700_pm.c [new file with mode: 0644]
plat/arm/board/corstone700/common/corstone700_security.c [new file with mode: 0644]
plat/arm/board/corstone700/common/corstone700_stack_protector.c [new file with mode: 0644]
plat/arm/board/corstone700/common/corstone700_topology.c [new file with mode: 0644]
plat/arm/board/corstone700/common/drivers/mhu/mhu.c [new file with mode: 0644]
plat/arm/board/corstone700/common/drivers/mhu/mhu.h [new file with mode: 0644]
plat/arm/board/corstone700/common/include/platform_def.h [new file with mode: 0644]
plat/arm/board/corstone700/corstone700_helpers.S [deleted file]
plat/arm/board/corstone700/corstone700_plat.c [deleted file]
plat/arm/board/corstone700/corstone700_pm.c [deleted file]
plat/arm/board/corstone700/corstone700_security.c [deleted file]
plat/arm/board/corstone700/corstone700_stack_protector.c [deleted file]
plat/arm/board/corstone700/corstone700_topology.c [deleted file]
plat/arm/board/corstone700/drivers/mhu/mhu.c [deleted file]
plat/arm/board/corstone700/drivers/mhu/mhu.h [deleted file]
plat/arm/board/corstone700/include/platform_def.h [deleted file]
plat/arm/board/corstone700/platform.mk
plat/arm/board/corstone700/sp_min/sp_min-corstone700.mk