commit | 180d13dbcc2ca65c11b87a48db28db646ca5ad29 | [log] [tgz] |
---|---|---|
author | Vipin Kumar <vipin.kumar@st.com> | Mon May 07 13:00:25 2012 +0530 |
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | Sat Jul 07 14:07:39 2012 +0200 |
tree | 7a6de91a175f462344ccf7fb0569178391368269 | |
parent | 106c83f0ccb2ee528be5fa77f31aedc92a216185 [diff] |
st_smi: Fix smi read status smi_read_sr fails sometimes because of TFF not getting set within assumed time. This condition may arise because of, for example, smi memory being in a erase mode. This fix is to enable reading the status register until timeout. Signed-off-by: Vipin Kumar <vipin.kumar@st.com> Signed-off-by: Amit Virdi <amit.virdi@st.com> Signed-off-by: Stefan Roese <sr@denx.de>