diff options
author | Vipin KUMAR | 2012-05-07 13:00:19 +0530 |
---|---|---|
committer | Albert ARIBAUD | 2012-07-07 14:07:38 +0200 |
commit | f3fcf92d595b297b47a1b58b8ec39f93f40ef912 (patch) | |
tree | f7993a0d0efaac1ea918b75503baa373418e119b /include/configs/spear-common.h | |
parent | 0def98e7be905e4e02eb22cb312bb4e3b327d2fa (diff) |
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>
Diffstat (limited to 'include/configs/spear-common.h')
-rw-r--r-- | include/configs/spear-common.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/configs/spear-common.h b/include/configs/spear-common.h index 8d0f0369ca9..75cc5fff64c 100644 --- a/include/configs/spear-common.h +++ b/include/configs/spear-common.h @@ -55,10 +55,10 @@ #if defined(CONFIG_FLASH_PNOR) #define CONFIG_SPEAR_EMI 1 #else -#define CONFIG_SPEARSMI 1 +#define CONFIG_ST_SMI #endif -#if defined(CONFIG_SPEARSMI) +#if defined(CONFIG_ST_SMI) #define CONFIG_SYS_MAX_FLASH_BANKS 2 #define CONFIG_SYS_FLASH_BASE (0xF8000000) @@ -125,7 +125,7 @@ * U-Boot Environment placing definitions. */ #if defined(CONFIG_ENV_IS_IN_FLASH) -#ifdef CONFIG_SPEARSMI +#ifdef CONFIG_ST_SMI /* * Environment is in serial NOR flash */ |