]> git.baikalelectronics.ru Git - arm-tf.git/commit
plat: marvell: armada: a3k: When WTP is empty do not define variables and targets...
authorPali Rohár <pali@kernel.org>
Thu, 15 Oct 2020 11:50:28 +0000 (13:50 +0200)
committerPali Rohár <pali@kernel.org>
Thu, 15 Oct 2020 11:50:28 +0000 (13:50 +0200)
commitc5e1b061ced441c85bd286769d963a1fca05c4da
tree437b1800ad99e3da30d7e78e2c2f5ba237c4b5d5
parenteeb77da64684424ef275330e3e15d8350ecc1b07
plat: marvell: armada: a3k: When WTP is empty do not define variables and targets which depends on it

Some of targets (e.g. mrvl_flash) depends on WTP build option. Other
targets (e.g. fip) can be build also without WTP build option as they do
not depend on it.

This change put all A3720 variables and targets which depends on WTP into
conditional if-endif section, so they are not defined when user has not
supplied WTP build option.

Target mrvl_flash is defined also when WTP was not specified and in this
case it just print error message to help user.

Variables which do not depend on WTP are moved to the top of
a3700_common.mk file.

Signed-off-by: Pali Rohár <pali@kernel.org>
Change-Id: Idb3892233586a0afca3e0e6564279641d2e4b960
plat/marvell/armada/a3k/common/a3700_common.mk