Commit 9d8028e9 authored by André Przywara's avatar André Przywara Committed by TrustedFirmware Code Review
Browse files

Merge changes from topic "fpga_cmdline" into integration

* changes:
  arm_fpga: Predefine DTB and BL33 load addresses
  arm_fpga: Add Klein and Matterhorn support
  arm_fpga: Support more CPU clusters
parents 8d5db315 c5346ed5
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
* that are present will still be indexed appropriately regardless of any empty * that are present will still be indexed appropriately regardless of any empty
* entries in the array used to represent the topology. * entries in the array used to represent the topology.
*/ */
#define FPGA_MAX_CLUSTER_COUNT 2 #define FPGA_MAX_CLUSTER_COUNT 4
#define FPGA_MAX_CPUS_PER_CLUSTER 8 #define FPGA_MAX_CPUS_PER_CLUSTER 8
#define FPGA_MAX_PE_PER_CPU 4 #define FPGA_MAX_PE_PER_CPU 4
......
...@@ -24,15 +24,10 @@ ifeq (${TRUSTED_BOARD_BOOT}, 1) ...@@ -24,15 +24,10 @@ ifeq (${TRUSTED_BOARD_BOOT}, 1)
$(error "TRUSTED_BOARD_BOOT must be disabled") $(error "TRUSTED_BOARD_BOOT must be disabled")
endif endif
ifndef PRELOADED_BL33_BASE PRELOADED_BL33_BASE := 0x80080000
$(error "PRELOADED_BL33_BASE is not set")
endif
ifndef FPGA_PRELOADED_DTB_BASE FPGA_PRELOADED_DTB_BASE := 0x80070000
$(error "FPGA_PRELOADED_DTB_BASE is not set")
else
$(eval $(call add_define,FPGA_PRELOADED_DTB_BASE)) $(eval $(call add_define,FPGA_PRELOADED_DTB_BASE))
endif
# Treating this as a memory-constrained port for now # Treating this as a memory-constrained port for now
USE_COHERENT_MEM := 0 USE_COHERENT_MEM := 0
...@@ -64,7 +59,10 @@ else ...@@ -64,7 +59,10 @@ else
lib/cpus/aarch64/neoverse_zeus.S \ lib/cpus/aarch64/neoverse_zeus.S \
lib/cpus/aarch64/cortex_hercules_ae.S \ lib/cpus/aarch64/cortex_hercules_ae.S \
lib/cpus/aarch64/cortex_a65.S \ lib/cpus/aarch64/cortex_a65.S \
lib/cpus/aarch64/cortex_a65ae.S lib/cpus/aarch64/cortex_a65ae.S \
lib/cpus/aarch64/cortex_klein.S \
lib/cpus/aarch64/cortex_matterhorn.S
# AArch64/AArch32 cores # AArch64/AArch32 cores
FPGA_CPU_LIBS += lib/cpus/aarch64/cortex_a55.S \ FPGA_CPU_LIBS += lib/cpus/aarch64/cortex_a55.S \
lib/cpus/aarch64/cortex_a75.S lib/cpus/aarch64/cortex_a75.S
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment