blob: bce9ef176b3c7f187cab683586e397ac6e6dfcd6 [file] [log] [blame]
Nishanth Menon0192f892016-10-14 01:13:34 +00001#
2# Copyright (c) 2017-2018, ARM Limited and Contributors. All rights reserved.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6
7PLAT_PATH := plat/ti/k3
Nishanth Menonf49cf9e2017-09-20 01:32:13 -05008TARGET_BOARD ?= generic
Nishanth Menon0192f892016-10-14 01:13:34 +00009
10include ${PLAT_PATH}/common/plat_common.mk
Nishanth Menonf49cf9e2017-09-20 01:32:13 -050011include ${PLAT_PATH}/board/${TARGET_BOARD}/board.mk
Nishanth Menon0192f892016-10-14 01:13:34 +000012
Andrew Davis49dd30c2022-11-11 12:49:38 -060013BL32_BASE ?= 0x9e800000
14$(eval $(call add_define,BL32_BASE))
15
16PRELOADED_BL33_BASE ?= 0x80080000
17$(eval $(call add_define,PRELOADED_BL33_BASE))
18
19K3_HW_CONFIG_BASE ?= 0x82000000
20$(eval $(call add_define,K3_HW_CONFIG_BASE))
21
22PLAT_INCLUDES += -Iplat/ti/k3/board/${TARGET_BOARD}/include
23
Nishanth Menon0192f892016-10-14 01:13:34 +000024# modify BUILD_PLAT to point to board specific build directory
Grant Likely388248a2020-07-30 08:50:10 +010025BUILD_PLAT := $(abspath ${BUILD_BASE})/${PLAT}/${TARGET_BOARD}/${BUILD_TYPE}