diff options
author | Atish Patra <atish.patra@wdc.com> | 2020-03-23 12:48:54 -0700 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2020-03-24 13:12:17 +0530 |
commit | 59688948421deea18993836152af66765bdc76f6 (patch) | |
tree | 7320daf2967db9cb917a36cb822202d1816e14e6 /platform/fpga/ariane/config.mk | |
parent | 9a74a64ae08bfeda8dc366e931f5a60838d7bac0 (diff) |
platform: Move ariane standalone fpga project to its own project
Signed-off-by: Atish Patra <atish.patra@wdc.com>
Reviewed-by: Anup Patel <anup.patel@wdc.com>
Diffstat (limited to 'platform/fpga/ariane/config.mk')
-rw-r--r-- | platform/fpga/ariane/config.mk | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/platform/fpga/ariane/config.mk b/platform/fpga/ariane/config.mk new file mode 100644 index 0000000..3556461 --- /dev/null +++ b/platform/fpga/ariane/config.mk @@ -0,0 +1,36 @@ +# +# SPDX-License-Identifier: BSD-2-Clause +# +# Copyright (C) 2019 FORTH-ICS/CARV +# Panagiotis Peristerakis <perister@ics.forth.gr> +# + +#for more infos, check out /platform/template/config.mk + +PLATFORM_RISCV_XLEN = 64 + +# Blobs to build +FW_TEXT_START=0x80000000 +FW_JUMP=n + +ifeq ($(PLATFORM_RISCV_XLEN), 32) + # This needs to be 4MB aligned for 32-bit support + FW_JUMP_ADDR=0x80400000 + else + # This needs to be 2MB aligned for 64-bit support + FW_JUMP_ADDR=0x80200000 + endif +FW_JUMP_FDT_ADDR=0x82200000 + +# Firmware with payload configuration. +FW_PAYLOAD=y + +ifeq ($(PLATFORM_RISCV_XLEN), 32) +# This needs to be 4MB aligned for 32-bit support + FW_PAYLOAD_OFFSET=0x400000 +else +# This needs to be 2MB aligned for 64-bit support + FW_PAYLOAD_OFFSET=0x200000 +endif +FW_PAYLOAD_FDT_ADDR=0x82200000 +FW_PAYLOAD_ALIGN=0x1000 |