Commit cf25ab35 authored by Grant Likely's avatar Grant Likely
Browse files

Add platform specific file for the Armada platforms



Adds a file for Marvell Armada 8k specific configuration.

Signed-off-by: Grant Likely's avatarGrant Likely <grant.likely@arm.com>
parent 0fee817d
......@@ -28,6 +28,7 @@ include $(CURDIR)/scripts/rk3399.mk
endif
ifdef CONFIG_ARMADA_8K
include scripts/mvebu-armada-8k.mk
DTB_TARGET := src/arm64/marvell/$(CONFIG_DEFAULT_DEVICE_TREE).dtb
ifeq ($(CONFIG_DEFAULT_DEVICE_TREE),"armada-8040-mcbin")
TFA_PLAT := a80x0_mcbin
......
# SPDX-License-Identifier: GPL-2.0+
#
# Copyright (C) Arm Limited, 2020
#
# Build config for RockPro64
# Inspired by https://stikonas.eu/wordpress/2019/09/15/blobless-boot-with-rockpro64/
TFA_EXTRA += SCP_BL2=${CURDIR}/binaries-marvell/mrvl_scp_bl2.img
TFA_EXTRA += MV_DDR_PATH=${CURDIR}/mv-ddr
TFA_EXTRA += USE_COHERENT_MEM=0
sdcard-image: SD_IMG=$(CURDIR)/$(TARGET)-sdcard.img
sdcard-image: u-boot
dd if=/dev/zero of=$(SD_IMG) seek=32M count=0
echo "label: dos" | /sbin/sfdisk $(SD_IMG)
dd if=${FLASH_IMAGE} of=$(SD_IMG) seek=1
DTB_TARGET := src/arm64/marvell/armada-8040-mcbin.dtb
UBOOT_EXTRA := EXT_OS_DTB=${DT_PATH}/${DTB_TARGET}
TFA_PLAT := a80x0_mcbin
TFA_EXTRA := MV_DDR_PATH=${CURDIR}/mv-ddr USE_COHERENT_MEM=0 SCP_BL2=${CURDIR}/binaries-marvell/mrvl_scp_bl2.img
FLASH_EXTRA := seek=1
Supports Markdown
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