]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
st_smi: Enhance the error handling
authorAmit Virdi <amit.virdi@st.com>
Mon, 7 May 2012 07:30:22 +0000 (13:00 +0530)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 7 Jul 2012 12:07:38 +0000 (14:07 +0200)
commit69fcb55f71c9e2c40a0f1de6f70b26a9ec02cfb8
tree3f891bca3208ac68d8f598199ce0a381dd024ec0
parent0e88ff08febcb88fc4081f0393c4fca02b847146
st_smi: Enhance the error handling

This commit does the following:
 - Reports error if SNOR flash is not found on the board
 - Changes smi_read_sr to return error using which a retry mechanism is
   implemented for reading flash status

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>
drivers/mtd/st_smi.c