From 8c32bc26e7bc58f028c1b31dd226610d3d388237 Mon Sep 17 00:00:00 2001 From: Soby Mathew Date: Thu, 12 Feb 2015 14:45:02 +0000 Subject: Export maximum affinity using PLATFORM_MAX_AFFLVL macro This patch removes the plat_get_max_afflvl() platform API and instead replaces it with a platform macro PLATFORM_MAX_AFFLVL. This is done because the maximum affinity level for a platform is a static value and it is more efficient for it to be defined as a platform macro. NOTE: PLATFORM PORTS NEED TO BE UPDATED ON MERGE OF THIS COMMIT Fixes ARM-Software/tf-issues#265 Change-Id: I31d89b30c2ccda30d28271154d869060d50df7bf --- include/plat/common/platform.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include/plat/common') diff --git a/include/plat/common/platform.h b/include/plat/common/platform.h index 18b7eae2..8188f456 100644 --- a/include/plat/common/platform.h +++ b/include/plat/common/platform.h @@ -177,7 +177,6 @@ struct entry_point_info *bl31_plat_get_next_image_ep_info(uint32_t type); * Mandatory PSCI functions (BL3-1) ******************************************************************************/ int platform_setup_pm(const struct plat_pm_ops **); -int plat_get_max_afflvl(void); unsigned int plat_get_aff_count(unsigned int, unsigned long); unsigned int plat_get_aff_state(unsigned int, unsigned long); -- cgit v1.2.3