[PATCH V2 25/69] ST SPEAr: Add smi driver for serial NOR flash

viresh kumar viresh.kumar at st.com
Tue Oct 19 01:55:55 EDT 2010


On 10/01/2010 05:25 PM, Viresh KUMAR wrote:
> From: Shiraz Hashim <shiraz.hashim at st.com>
> 
> SPEAr platforms(spear3xx/spear6xx/spear13xx) provide SMI(Serial Memory
> Interface) controller to access serial NOR flash. SMI provides a simple
> interface for SPI/serial NOR flashes and has certain inbuilt commands
> and features to support these flashes easily. It also makes it possible
> to map an address range in order to directly access (read/write) the SNOR
> over address bus. This patch intends to provide serial nor driver support
> for spear platforms which are accessed through SMI.
> 
> Signed-off-by: Shiraz Hashim <shiraz.hashim at st.com>
> Signed-off-by: Viresh Kumar <viresh.kumar at st.com>
> ---
>  arch/arm/plat-spear/include/plat/smi.h |   68 ++
>  drivers/mtd/devices/Kconfig            |    7 +
>  drivers/mtd/devices/Makefile           |    1 +
>  drivers/mtd/devices/spear_smi.c        | 1122 ++++++++++++++++++++++++++++++++
>  4 files changed, 1198 insertions(+), 0 deletions(-)
>  create mode 100644 arch/arm/plat-spear/include/plat/smi.h
>  create mode 100644 drivers/mtd/devices/spear_smi.c

David,

Any review comments on this patch??

-- 
viresh



More information about the linux-arm-kernel mailing list