From a804c1b2c13f0f16fb6999c3d2340fa6bd2865d3 Mon Sep 17 00:00:00 2001 From: Shilpasri G Bhat Date: Thu, 12 Nov 2015 18:41:32 +0530 Subject: occ: hbrt: Change the OCC reset order Modify the OCC reset order such that master OCC is reset after the slave OCCs are reset. In Tuleta/Alpine systems 'proc0' will always be the master OCC, which has to be stopped last when FSP sends OCC_RESET command to Opal. This fixes BZ 119718, SW289036 Signed-off-by: Shilpasri G Bhat Signed-off-by: Stewart Smith --- include/hostservices.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/hostservices.h b/include/hostservices.h index e85abc3..d6bb3e3 100644 --- a/include/hostservices.h +++ b/include/hostservices.h @@ -36,4 +36,7 @@ void host_services_occ_base_setup(void); #define HOMER_IMAGE_SIZE 0x400000 /* 4MB per-chip */ #define OCC_COMMON_SIZE 0x800000 /* 8MB */ +int find_master_and_slave_occ(uint64_t **master, uint64_t **slave, + int *nr_masters, int *nr_slaves); + #endif /* __HOSTSERVICES_H */ -- cgit v1.1