aboutsummaryrefslogtreecommitdiff
path: root/fwu
diff options
context:
space:
mode:
Diffstat (limited to 'fwu')
-rw-r--r--fwu/ns_bl1u/ns_bl1u_main.c1
-rw-r--r--fwu/ns_bl1u/ns_bl1u_tests.c9
-rw-r--r--fwu/ns_bl2u/ns_bl2u_main.c1
3 files changed, 4 insertions, 7 deletions
diff --git a/fwu/ns_bl1u/ns_bl1u_main.c b/fwu/ns_bl1u/ns_bl1u_main.c
index 46c226367..4a15e8606 100644
--- a/fwu/ns_bl1u/ns_bl1u_main.c
+++ b/fwu/ns_bl1u/ns_bl1u_main.c
@@ -6,6 +6,7 @@
#include <arch_helpers.h>
#include <assert.h>
+#include <bl1.h>
#include <debug.h>
#include <errno.h>
#include <image_loader.h>
diff --git a/fwu/ns_bl1u/ns_bl1u_tests.c b/fwu/ns_bl1u/ns_bl1u_tests.c
index 082439a90..16ae2591a 100644
--- a/fwu/ns_bl1u/ns_bl1u_tests.c
+++ b/fwu/ns_bl1u/ns_bl1u_tests.c
@@ -9,6 +9,7 @@
* BL1.
******************************************************************************/
+#include <bl1.h>
#include <debug.h>
#include <errno.h>
#include <io_fip.h>
@@ -18,12 +19,6 @@
#include <tftf.h>
#include <tftf_lib.h>
-/* Expected number of SMC calls supported in BL1 */
-#define BL1_NUM_SMC_CALLS 11
-
-/* Expected version of BL1 SMC implementation */
-#define BL1_SMC_VER_VALUE 1
-
typedef struct {
/* Description to print before sending the SMC */
const char *description;
@@ -49,7 +44,7 @@ static const ns_bl1u_test_t tests[] = {
{
.description = "BL1_SMC_VERSION",
.args = { BL1_SMC_VERSION, 0, 0, 0, 0 },
- .expect = BL1_SMC_VER_VALUE,
+ .expect = BL1_VERSION,
},
{
diff --git a/fwu/ns_bl2u/ns_bl2u_main.c b/fwu/ns_bl2u/ns_bl2u_main.c
index 815859de1..babcf93e0 100644
--- a/fwu/ns_bl2u/ns_bl2u_main.c
+++ b/fwu/ns_bl2u/ns_bl2u_main.c
@@ -5,6 +5,7 @@
*/
#include <arch_helpers.h>
+#include <bl1.h>
#include <debug.h>
#include <firmware_image_package.h>
#include <fwu_nvm.h>