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

2015-01-24 Thread York Sun
On 12/16/2014 10:58 PM, Tang Yuantian wrote: > Defining variable gic_dist_addr as a globe one prevents some > functions, which use it, from being used before relocation > which is the case in the deep sleep resume process on Freescale > SoC platforms. > Besides, we can always get the GIC base add

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

2015-01-14 Thread York Sun
Albert, On 12/16/2014 08:58 PM, Tang Yuantian wrote: > Defining variable gic_dist_addr as a globe one prevents some > functions, which use it, from being used before relocation > which is the case in the deep sleep resume process on Freescale > SoC platforms. > Besides, we can always get the GIC b

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

2014-12-16 Thread Tang Yuantian
Defining variable gic_dist_addr as a globe one prevents some functions, which use it, from being used before relocation which is the case in the deep sleep resume process on Freescale SoC platforms. Besides, we can always get the GIC base address by calling get_gicd_base_address() without referring