[U-Boot] [PATCH] arm: PSCI: remove CONFIG_MP to support LS1012A

2017-01-06 Thread Chenhui Zhao
To support PSCI on LS1012A, remove the macro CONFIG_MP. And, do code cleanup. Signed-off-by: Chenhui Zhao --- arch/arm/cpu/armv8/cpu-dt.c | 14 arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 33 +-- arch/arm/cpu/armv8/sec_firmware.c

Re: [U-Boot] [PATCH] arm: psci: save and restore registers from r4 to r12

2016-10-13 Thread Chenhui Zhao
On Thu, Oct 13, 2016 at 5:52 PM, Chen-Yu Tsai wrote: > On Sat, Oct 8, 2016 at 7:08 PM, Chenhui Zhao wrote: >> Save and restore core registers from r4 to r12 so that PSCI code won't >> break their value. >> >> Signed-off-by: Chenhui Zhao >> Signed-off-by: Al

[U-Boot] [PATCH] arm: psci: save and restore registers from r4 to r12

2016-10-08 Thread Chenhui Zhao
Save and restore core registers from r4 to r12 so that PSCI code won't break their value. Signed-off-by: Chenhui Zhao Signed-off-by: Alison Wang Signed-off-by: Abhimanyu Saini --- arch/arm/cpu/armv7/psci.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/ar

[U-Boot] [PATCH] arm: psci: save and restore registers from r4 to r12

2016-10-08 Thread Chenhui Zhao
Save and restore core registers from r4 to r12 so that PSCI code won't break their value. Signed-off-by: Chenhui Zhao Signed-off-by: Alison Wang Signed-off-by: Abhimanyu Saini --- arch/arm/cpu/armv7/psci.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/ar

Re: [U-Boot] [PATCH 3/9] ARM: ARMv7: PSCI: move target PC in each CPU stack no longer is shared

2016-03-19 Thread Chenhui Zhao
...@siemens.com; Frank Li; Peng Fan; Zhengxiong Jin; Chenhui Zhao; o...@buserror.net; u-boot@lists.denx.de; Dongsheng Wang Subject: [PATCH 3/9] ARM: ARMv7: PSCI: move target PC in each CPU stack no longer is shared From: Wang Dongsheng All of cpu share the same targetPC space that is unsafe. So

[U-Boot] [PATCH] arm: ls1021atwr: program the regulator for deep sleep

2015-05-15 Thread Chenhui Zhao
Program the external regulator to switch off voltage in deep sleep. Signed-off-by: Chenhui Zhao --- board/freescale/ls1021atwr/ls1021atwr.c | 34 + 1 file changed, 34 insertions(+) diff --git a/board/freescale/ls1021atwr/ls1021atwr.c b/board/freescale

[U-Boot] [PATCH] arm: ls102xa: workaround for cache coherency problem

2015-01-23 Thread Chenhui Zhao
The RCPM FSM may not be reset after power-on, for example, in the cases of cold boot and wakeup from deep sleep. It causes cache coherency problem and may block deep sleep. Therefore, reset them if they are not be reset. Signed-off-by: Chenhui Zhao --- arch/arm/cpu/armv7/ls102xa/cpu.c | 28

[U-Boot] [PATCH] arm: ls102xa: clear EPU registers for deep sleep

2014-10-22 Thread Chenhui Zhao
After wakeup from deep sleep, Clear EPU registers as early as possible to prevent from possible issue. It's also safe to clear at normal boot. Signed-off-by: Chenhui Zhao --- arch/arm/cpu/armv7/ls102xa/Makefile|1 + arch/arm/cpu/armv7/ls102xa/cpu.c | 16 +++ arc

[U-Boot] [PATCH v2] fsl_esdhc: Fix esdhc disabled problem on some platforms

2011-01-04 Thread Chenhui Zhao
Some new platform's esdhc pins don't share with other function. The eSDHC shouldn't be disabled, even if "esdhc" isn't defined in hwconfig env variable. Use CONFIG_FSL_ESDHC_PIN_MUX to fix this problem. Signed-off-by: Chenhui Zhao Signed-off-by: Li Yang --- C

[U-Boot] [PATCH] fsl_esdhc: Fix esdhc disabled problem on some platforms

2010-12-27 Thread Chenhui Zhao
23ea15a7c7c7143bf527c6d Author: Anton Vorontsov Date: Wed Jun 10 00:25:29 2009 +0400 fsl_esdhc: Add device tree fixups Signed-off-by: Chenhui Zhao Signed-off-by: Li Yang --- drivers/mmc/fsl_esdhc.c |2 ++ include/configs/MPC837XEMDS.h |1 + include/configs/MPC837XER