]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
st_smi: Fix bug in flash_print_info()
authorArmando Visconti <armando.visconti@st.com>
Mon, 7 May 2012 07:30:28 +0000 (13:00 +0530)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 7 Jul 2012 12:07:39 +0000 (14:07 +0200)
commitcf9026deb8d83b00c37b19ec7b63491e9338d49f
treee09a3c830cc72e098e16a977d455767103b48171
parent6d6d23c143f50389018fd1f5091a7101247d79d5
st_smi: Fix bug in flash_print_info()

If the flash size was smaller than 1MB then flash_print_info()
was erroneously reporting 0 MB.

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