st_smi: Add support for SPEAr SMI driver
authorVipin KUMAR <vipin.kumar@st.com>
Mon, 7 May 2012 07:30:19 +0000 (13:00 +0530)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 7 Jul 2012 12:07:38 +0000 (14:07 +0200)
commitf3fcf92d595b297b47a1b58b8ec39f93f40ef912
treef7993a0d0efaac1ea918b75503baa373418e119b
parent0def98e7be905e4e02eb22cb312bb4e3b327d2fa
st_smi: Add support for SPEAr SMI driver

SMI is the serial memory interface controller provided by ST.

Earlier, a driver exists in the u-boot source code for the SMI IP. However, it
was specific to spear platforms. This commit converts the same driver to a more
generic driver. As a result, the driver files are renamed to st_smi.c and
st_smi.h and moved into drivers/mtd folder for reusability by other platforms
using smi controller peripheral.

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>
arch/arm/include/asm/arch-spear/spr_smi.h [deleted file]
drivers/mtd/Makefile
drivers/mtd/spr_smi.c [deleted file]
drivers/mtd/st_smi.c [new file with mode: 0644]
include/configs/spear-common.h
include/linux/mtd/st_smi.h [new file with mode: 0644]