Move static vars into functions in bl1
This reduces the scope of these variables and resolves Misra violations
such as:
    bl1/aarch64/bl1_context_mgmt.c:21:[MISRA C-2012 Rule 8.9 (advisory)]
    "bl1_cpu_context" should be defined at block scope.

Signed-off-by: Jimmy Brisson <jimmy.brisson@arm.com>
Change-Id: I9b0b26395bce07e10e61d10158c67f9c22ecce44
1 parent 859df7d commit a14988c6613d396293fd13eb052178a7e8e0d036
@Jimmy Brisson Jimmy Brisson authored on 4 Aug 2020
Showing 2 changed files
View
bl1/aarch64/bl1_context_mgmt.c
View
bl1/bl1_main.c