]> git.baikalelectronics.ru Git - arm-tf.git/commit
hikey: Remove unnecessary code
authorVictor Chong <victor.chong@linaro.org>
Sat, 27 May 2017 15:14:25 +0000 (00:14 +0900)
committerVictor Chong <victor.chong@linaro.org>
Wed, 12 Jul 2017 08:27:44 +0000 (17:27 +0900)
commitc0cde3640a5dd56f7d1bf3e7c541abd6919100ef
treefbb44b18a7107900400caaad25d2df0af235b6f8
parent367456df1697326ff7085381debf7b811c5b8cb7
hikey: Remove unnecessary code

PLATFORM_LINKER_FORMAT
and
PLATFORM_LINKER_ARCH
defines are removed from
plat/hisilicon/hikey/include/platform_def.h
since there are already defined in
include/plat/common/common_def.h
which is included by
plat/hisilicon/hikey/hikey_def.h
which is included by
plat/hisilicon/hikey/include/platform_def.h

The line
$(eval $(call FIP_ADD_IMG,SCP_BL2,--scp-fw))
is removed from
plat/hisilicon/hikey/platform.mk
to clear the warning below:

Makefile:544: warning: overriding commands for target `check_SCP_BL2'
plat/hisilicon/hikey/platform.mk:19: warning: ignoring old commands for target `check_SCP_BL2'

$(eval $(call FIP_ADD_IMG,SCP_BL2,--scp-fw))
already exists in
Makefile
and applies to plat hikey so is redundant in
plat/hisilicon/hikey/platform.mk

Signed-off-by: Victor Chong <victor.chong@linaro.org>
plat/hisilicon/hikey/include/platform_def.h
plat/hisilicon/hikey/platform.mk