]> git.baikalelectronics.ru Git - arm-tf.git/commitdiff
feat(zynqmp): add hooks for custom runtime setup
authorAkshay Belsare <akshay.belsare@amd.com>
Thu, 6 Apr 2023 05:39:20 +0000 (11:09 +0530)
committerAkshay Belsare <akshay.belsare@amd.com>
Thu, 6 Apr 2023 09:03:02 +0000 (14:33 +0530)
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>
plat/xilinx/zynqmp/bl31_zynqmp_setup.c
plat/xilinx/zynqmp/custom_sip_svc.c
plat/xilinx/zynqmp/include/custom_svc.h

index 50fd67b27c7017c6accf8499feabbb51f9ea8865..c99d1b10c4a97c5bf5e36a9096952a984a2b5899 100644 (file)
@@ -239,6 +239,8 @@ void bl31_plat_runtime_setup(void)
                panic();
        }
 #endif
+
+       custom_runtime_setup();
 }
 
 /*
index fbb0a33f75b80c4fd5d86f09f571829987cc5aee..7ffffd2586fe74798221125d60f0cff3aaa2f38f 100644 (file)
@@ -23,3 +23,7 @@ void custom_early_setup(void)
 void custom_mmap_add(void)
 {
 }
+
+void custom_runtime_setup(void)
+{
+}
index ef0eb675cb2c37e18720c49288c6c2c959c4f85b..7ccde2401686e6d84003f75f89e6e41e276e7ac8 100644 (file)
@@ -15,5 +15,6 @@ uint64_t custom_smc_handler(uint32_t smc_fid, uint64_t x1, uint64_t x2,
 
 void custom_early_setup(void);
 void custom_mmap_add(void);
+void custom_runtime_setup(void);
 
 #endif /* CUSTOM_SVC_H */