Remove mbedtls dependecy

TF-M are not any longer depends on mbedtls, just on
mbed-crypto.

Change-Id: I15c1592327e0803ec28324349f4b45238f026f51
Signed-off-by: Tamas Ban <tamas.ban@arm.com>
diff --git a/cppcheck/tfm-suppress-list.txt b/cppcheck/tfm-suppress-list.txt
index d59b338..a034c24 100644
--- a/cppcheck/tfm-suppress-list.txt
+++ b/cppcheck/tfm-suppress-list.txt
@@ -33,8 +33,6 @@
 //CppCheck fails to understand macro definitions in compile_commands.json, which
 //have \ characters escaping the opening and closing ". As a result we get the
 //following false alarms.
-preprocessorErrorDirective:*/mbedtls/platform.h:29
-preprocessorErrorDirective:*/mbedtls/sha256.h:29
 
 //CppCheck ignores macros defined on the command line when using a project file
 //(e.g. compile_commands.json). As a result we ca not set compiler specific
diff --git a/report_parser/report_parser.py b/report_parser/report_parser.py
index 859ebe7..3642744 100644
--- a/report_parser/report_parser.py
+++ b/report_parser/report_parser.py
@@ -64,8 +64,7 @@
 
 def dependencies_mdt_collect(path_list,
                              out_f=None,
-                             expected_paths=["mbedtls",
-                                             "mbedcrypto",
+                             expected_paths=["mbedcrypto",
                                              "cmsis",
                                              "checkpatch"]):
     """ Collect dependencies checkout metadata. It creates a json report which
@@ -85,19 +84,6 @@
         print(err_msg)
         raise Exception(err_msg)
 
-    for d in list_subdirs(cpaths["mbedtls"]):
-        print("mbedtls dir: ", d)
-        # if checkout directory name contains a git reference convert to short
-        d = convert_git_ref_path(d)
-
-        git_info = get_local_git_info(d)
-        tag = os.path.split(git_info["dir"])[-1].split("-")[-1]
-
-        # Absolute paths will not work in jenkins since it will change the
-        # workspaace directory between stages convert to relative path
-        git_info["dir"] = os.path.relpath(git_info["dir"], cwd)
-        data["mbedtls"][tag] = git_info
-
     for d in list_subdirs(cpaths["mbedcrypto"]):
         print("mbed-crypto dir: ", d)
         # if checkout directory name contains a git reference convert to short
diff --git a/run-cppcheck.sh b/run-cppcheck.sh
index 467e5e5..6c12942 100755
--- a/run-cppcheck.sh
+++ b/run-cppcheck.sh
@@ -131,7 +131,7 @@
 echo
 echo '******* Install external projects to their final place ***************'
 echo
-make -j mbedtls_mcuboot_lib_install
+make -j mbedcrypto_mcuboot_lib_install
 
 #Now run cppcheck.
 echo