2023-05-29 14:16:45 -04:00
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
#
|
2023-06-05 16:50:08 -04:00
|
|
|
# Copyright (c) 2020 Florent Kermarrec <florent@enjoy-digital.fr>
|
2023-05-29 14:16:45 -04:00
|
|
|
# Copyright (c) 2020 Dolu1990 <charles.papon.90@gmail.com>
|
2023-06-15 12:24:35 -04:00
|
|
|
# Copyright (c) 2023 Peter McGoron
|
2023-05-29 14:16:45 -04:00
|
|
|
#
|
|
|
|
|
2023-06-05 16:50:08 -04:00
|
|
|
# Command for platform specific "make run"
|
|
|
|
platform-runcmd = echo LiteX/VexRiscv
|
|
|
|
|
|
|
|
PLATFORM_RISCV_XLEN = 32
|
|
|
|
PLATFORM_RISCV_ABI = ilp32
|
|
|
|
#PLATFORM_RISCV_ISA = rv32ima ## XXX: Broken on new binutils
|
|
|
|
PLATFORM_RISCV_ISA = rv32ima_zicsr_zifencei
|
|
|
|
PLATFORM_RISCV_CODE_MODEL = medany
|
2023-05-29 14:16:45 -04:00
|
|
|
platform-objs-y += platform.o
|
2023-06-05 16:50:08 -04:00
|
|
|
|
|
|
|
# Blobs to build
|
|
|
|
FW_TEXT_START=0x40F00000
|
|
|
|
FW_JUMP=y
|
|
|
|
FW_JUMP_ADDR=0x40000000
|
|
|
|
FW_JUMP_FDT_ADDR=0x40EF0000
|