arm: ls1021atwr: optimize the deep sleep latency
authortang yuantian <Yuantian.Tang@freescale.com>
Thu, 24 Sep 2015 07:52:02 +0000 (15:52 +0800)
committerYork Sun <yorksun@freescale.com>
Fri, 30 Oct 2015 16:19:48 +0000 (09:19 -0700)
commit0210a3698862801169e3149475174b5268602a93
tree0e8ab8910e41db60517dbb1fe71318a9aee7334a
parent6ec9aef2cef311c57652e8d17b09eceac2cebb06
arm: ls1021atwr: optimize the deep sleep latency

It will take more than 1s when wake up from deep sleep. Most of the
time is spent on outputing information. This patch reduced the deep
sleep latency by:
1. avoid outputing system informaton
2. remove flush cache after DDR restore
3. skip reloading second stage uboot binary when SD boot

Signed-off-by: Tang Yuantian <Yuantian.Tang@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
board/freescale/common/arm_sleep.c
board/freescale/ls1021atwr/ls1021atwr.c