st_smi: Change the flash probing method
authorArmando Visconti <armando.visconti@st.com>
Mon, 7 May 2012 07:30:27 +0000 (13:00 +0530)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 7 Jul 2012 12:07:39 +0000 (14:07 +0200)
commit6d6d23c143f50389018fd1f5091a7101247d79d5
tree9d4a93e3ae9cc52301befbd4f2492910f62fb4ef
parentae3e0cc924579bcea0906a6888a7bc01a19157e4
st_smi: Change the flash probing method

THis patch introduces a new methodology for flash probing
in which flash_devices[] table, looked-up thru the dev_id, is
used to locate the flash geometry and information.

Signed-off-by: Armando Visconti <armando.visconti@st.com>
Signed-off-by: Amit Virdi <amit.virdi@st.com>
Signed-off-by: Stefan Roese <sr@denx.de>
drivers/mtd/st_smi.c