scp scmi-v2: Build scmi updated to use scmi-v2

build_package build_scmi_lib_scp_tools has been updated to work with
scmi-v2 as the build command has changed for this version.
The clock and sensor protocols have been excluded as they could not run
on hardware.

In addition, the branch for clone_tf_for_scp_tools is updated.

Signed-off-by: Joel Goddard <joel.goddard@arm.com>
Signed-off-by: Nicola Mazzucato <nicola.mazzucato@arm.com>
Co-authored-by: Nicola Mazzucato <nicola.mazzucato@arm.com>
Change-Id: Ib22ab4571f2d8b9ae2f8965b51d8bb15cfb6011c
diff --git a/script/build_package.sh b/script/build_package.sh
index 5088d13..099a82a 100755
--- a/script/build_package.sh
+++ b/script/build_package.sh
@@ -627,7 +627,7 @@
 
 		cd "$scp_tools_arm_tf"
 
-		git checkout --track origin/dev/pedro/juno
+		git checkout --track origin/juno-v4.3
 
 		git show --quiet --no-color | sed 's/^/  > /g'
 
@@ -671,15 +671,17 @@
 	cflags="$cflags -fdata-sections"
 	cflags="$cflags -DAARCH64"
 	cflags="$cflags -DPRId32=\"ld\""
+	cflags="$cflags -DVERBOSE_LEVEL=3"
 
 	cflags="$cflags $std_libs"
 
-	protocols="power,system_power,performance,sensor"
+	protocols="performance,power_domain,system_power,reset"
 
 	echo "Building SCMI library (SCP-tools) ..."
 
 	make "CROSS_COMPILE=$cross_compile" \
 		"CFLAGS=$cflags" \
+		"PLAT=baremetal" \
 		"PROTOCOLS=$protocols" \
 		"clean" \
 		"all"