commit | e8af4da772a393048142ddd3a828b0975945ab5b | [log] [tgz] |
---|---|---|
author | Akshay Belsare <akshay.belsare@amd.com> | Thu Apr 06 11:09:20 2023 +0530 |
committer | Akshay Belsare <akshay.belsare@amd.com> | Thu Apr 06 14:33:02 2023 +0530 |
tree | db471b4fec6576851392339613c31223b14058e9 | |
parent | cdadc08e1094e4a3ace5c71c03d49f79f4de9678 [diff] |
feat(zynqmp): add hooks for custom runtime setup Add runtime setup hooks (via custom_runtime_setup()) for low level operations related to setting up the system to correct state. Change-Id: I4af7050dba2ee2446366d482bef5f5c5dde4bddf Signed-off-by: Amit Nagal <amit.nagal@amd.com> Signed-off-by: Akshay Belsare <akshay.belsare@amd.com>
diff --git a/plat/xilinx/zynqmp/bl31_zynqmp_setup.c b/plat/xilinx/zynqmp/bl31_zynqmp_setup.c index 50fd67b..c99d1b1 100644 --- a/plat/xilinx/zynqmp/bl31_zynqmp_setup.c +++ b/plat/xilinx/zynqmp/bl31_zynqmp_setup.c
@@ -239,6 +239,8 @@ panic(); } #endif + + custom_runtime_setup(); } /*
diff --git a/plat/xilinx/zynqmp/custom_sip_svc.c b/plat/xilinx/zynqmp/custom_sip_svc.c index fbb0a33..7ffffd2 100644 --- a/plat/xilinx/zynqmp/custom_sip_svc.c +++ b/plat/xilinx/zynqmp/custom_sip_svc.c
@@ -23,3 +23,7 @@ void custom_mmap_add(void) { } + +void custom_runtime_setup(void) +{ +}
diff --git a/plat/xilinx/zynqmp/include/custom_svc.h b/plat/xilinx/zynqmp/include/custom_svc.h index ef0eb67..7ccde24 100644 --- a/plat/xilinx/zynqmp/include/custom_svc.h +++ b/plat/xilinx/zynqmp/include/custom_svc.h
@@ -15,5 +15,6 @@ void custom_early_setup(void); void custom_mmap_add(void); +void custom_runtime_setup(void); #endif /* CUSTOM_SVC_H */