Use atf-2.3.inc to hold common parts for atf and atf-tools.
Signed-off-by: Ting Liu <ting.liu@nxp.com>
--- /dev/null
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://license.rst;md5=1dd070c98a281d18d9eefd938729b031"
+
+PV = "2.3+git${SRCPV}"
+
+SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/atf;nobranch=1 \
+ git://github.com/ARMmbed/mbedtls;nobranch=1;destsuffix=git/mbedtls;name=mbedtls \
+"
+SRCREV = "4e40e24590ab908773ef842cd0e17faf233767d4"
+SRCREV_mbedtls = "85da85555e5b086b0250780693c3ee584f63e79f"
+SRCREV_FORMAT = "atf"
+
+S = "${WORKDIR}/git"
-SUMMARY = "Tools for ARM Trusted Firmware, e.g. FIP image creation tool"
-LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://license.rst;md5=e927e02bca647e14efd87e9e914b2443"
-
-SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/atf;nobranch=1"
-SRCREV = "7d748e6f0ec652ba7c43733dc67a3d0b0217390a"
+require atf-${PV}.inc
-S = "${WORKDIR}/git"
+SUMMARY = "Tools for ARM Trusted Firmware, e.g. FIP image creation tool"
DEPENDS += "openssl"