Example: Update example partition
- Add load info and intermedia files to example partition.
- Update the IRQ API from 'tfm_enable_irq' to 'psa_irq_enable'.
- Update the readme file, remove the 'tfm_partition_ipc' attribute.
Signed-off-by: Shawn Shan <Shawn.Shan@arm.com>
Change-Id: I426936b2b625b66a302c5b429c800ae8512642d9
diff --git a/example_partition/tfm_example_partition.c b/example_partition/tfm_example_partition.c
index 4c1f00d..7a1eeb4 100644
--- a/example_partition/tfm_example_partition.c
+++ b/example_partition/tfm_example_partition.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020, Arm Limited. All rights reserved.
+ * Copyright (c) 2020-2021, Arm Limited. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*
@@ -85,7 +85,7 @@
psa_signal_t signals;
/* Enable timer IRQ */
- tfm_enable_irq(TFM_EXAMPLE_SIGNAL_TIMER_0_IRQ);
+ psa_irq_enable(TFM_EXAMPLE_SIGNAL_TIMER_0_IRQ);
/* Continually wait for one or more of the partition's RoT Service or
* interrupt signals to be asserted and then handle the asserted signal(s).