aboutsummaryrefslogtreecommitdiff
path: root/include/drivers
diff options
context:
space:
mode:
authorScott Branden <scott.branden@broadcom.com>2016-07-08 12:09:23 -0700
committerSheetal Tigadoli <sheetal.tigadoli@broadcom.com>2020-04-01 12:36:02 +0530
commit5c38088881ffd10f9a2dc1cc2af7300295eb6f04 (patch)
tree9b7da6ddbdce68732fa27c169b93d762dd8e7bca /include/drivers
parent0edfd3772a6d0e0dd68f5e650eb93c441e05e685 (diff)
downloadtrusted-firmware-a-5c38088881ffd10f9a2dc1cc2af7300295eb6f04.tar.gz
drivers: Add support to retrieve plat_toc_flags
Add support to retrieve plat_toc_flags value from FIP header flags. plat_toc_flags is for platform specific use. It is stored in FIP header by fiptool using --plat-toc-flags option. Change-Id: Ibadd91b4f28e6503f4426e4efd404bbe512ad124 Signed-off-by: Scott Branden <scott.branden@broadcom.com> Signed-off-by: Sheetal Tigadoli <sheetal.tigadoli@broadcom.com>
Diffstat (limited to 'include/drivers')
-rw-r--r--include/drivers/io/io_fip.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/drivers/io/io_fip.h b/include/drivers/io/io_fip.h
index e0b57463f7..7e654361d1 100644
--- a/include/drivers/io/io_fip.h
+++ b/include/drivers/io/io_fip.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2014, ARM Limited and Contributors. All rights reserved.
+ * Copyright (c) 2014-2020, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
@@ -10,5 +10,6 @@
struct io_dev_connector;
int register_io_dev_fip(const struct io_dev_connector **dev_con);
+int fip_dev_get_plat_toc_flag(io_dev_info_t *dev_info, uint16_t *plat_toc_flag);
#endif /* IO_FIP_H */