Re: [U-Boot] [PATCH] ARM: HYP/non-sec: Make a variable as a local one

2014-09-18 Thread Yuantian Tang
> -Original Message- > From: Albert ARIBAUD [mailto:albert.u.b...@aribaud.net] > Sent: Thursday, September 18, 2014 5:44 PM > To: Tang Yuantian-B29983 > Cc: andre.przyw...@linaro.org; i...@hellion.org.uk; marc.zyng...@arm.com; > u-boot@lists.denx.de; Jin Zhengxiong-R64188 > Subject: Re: [PA

Re: [U-Boot] [PATCH] ARM: HYP/non-sec: Make a variable as a local one

2014-09-18 Thread Albert ARIBAUD
Hi Tang, Please fix subject / commit summary to indicate which variable is to be made local. On Thu, 18 Sep 2014 17:12:34 +0800, Tang Yuantian wrote: > Defining variable gic_dist_addr as a globe one prevents some > functions, which use this variable, from being used before relocation > which ha

[U-Boot] [PATCH] ARM: HYP/non-sec: Make a variable as a local one

2014-09-18 Thread Tang Yuantian
Defining variable gic_dist_addr as a globe one prevents some functions, which use this variable, from being used before relocation which happened in the deep sleep resume process on Freescale SoC platforms. Signed-off-by: Tang Yuantian --- arch/arm/cpu/armv7/virt-v7.c | 9 +++-- 1 file chang