n1sdp: modify the build config
The boot flow has been changed and is now
more aligned to TBBR based one. These changes require
modifications in build config.
Signed-off-by: sahil <sahil@arm.com>
Change-Id: Ida67a17d44d6a290fd08c0069f21d62959f2683c
diff --git a/group/tf-l1-build-plat/n1sdp-default:nil b/group/tf-l1-build-plat/n1sdp-default:nil
deleted file mode 100644
index aab4796..0000000
--- a/group/tf-l1-build-plat/n1sdp-default:nil
+++ /dev/null
@@ -1,6 +0,0 @@
-#
-# Copyright (c) 2019-2020 Arm Limited. All rights reserved.
-#
-# SPDX-License-Identifier: BSD-3-Clause
-#
-
diff --git a/group/tf-l1-build-plat/n1sdp-tbb:nil b/group/tf-l1-build-plat/n1sdp-tbb:nil
new file mode 100644
index 0000000..b8939c8
--- /dev/null
+++ b/group/tf-l1-build-plat/n1sdp-tbb:nil
@@ -0,0 +1,5 @@
+#
+# Copyright (c) 2022, Arm Limited. All rights reserved.
+#
+# SPDX-License-Identifier: BSD-3-Clause
+#
diff --git a/script/trusted-firmware.nomination.py b/script/trusted-firmware.nomination.py
index 16af9f7..399c174 100644
--- a/script/trusted-firmware.nomination.py
+++ b/script/trusted-firmware.nomination.py
@@ -34,7 +34,7 @@
# Run Coverity MISRA checks and boot test for n1sdp platform changes
"path:plat/arm/board/n1sdp":
- ["tf-l2-coverity-misra-nominated/n1sdp-default:coverity-tf-misra.diff"],
+ ["tf-l2-coverity-misra-nominated/n1sdp-tbb:coverity-tf-misra.diff"],
# Run Coverity MISRA checks for arm_fpga platform changes
"path:plat/arm/board/arm_fpga":
diff --git a/tf_config/n1sdp-tbb b/tf_config/n1sdp-tbb
new file mode 100644
index 0000000..6ba2c89
--- /dev/null
+++ b/tf_config/n1sdp-tbb
@@ -0,0 +1,7 @@
+ARM_ROTPK_LOCATION=devel_rsa
+CREATE_KEYS=1
+CROSS_COMPILE=aarch64-none-elf-
+GENERATE_COT=1
+PLAT=n1sdp
+ROT_KEY=plat/arm/board/common/rotpk/arm_rotprivk_rsa.pem
+TRUSTED_BOARD_BOOT=1