On 15/08/2012 08:38, Terry Lv wrote: > Apply new mxc_spi version configs to other soc configs. > > Signed-off-by: Terry Lv <r65...@freescale.com> > --- > arch/arm/include/asm/arch-mx31/imx-regs.h | 4 ++++ > include/configs/efikamx.h | 4 ++++ > include/configs/flea3.h | 3 +++ > include/configs/imx31_litekit.h | 5 +++++ > include/configs/imx31_phycore.h | 4 ++++ > include/configs/mx31ads.h | 4 ++++ > include/configs/mx31pdk.h | 4 ++++ > include/configs/mx35pdk.h | 8 +++++++- > include/configs/mx51evk.h | 4 ++++ > include/configs/qong.h | 4 ++++ > include/configs/tt01.h | 5 +++++ > 11 files changed, 48 insertions(+), 1 deletions(-) > > diff --git a/arch/arm/include/asm/arch-mx31/imx-regs.h > b/arch/arm/include/asm/arch-mx31/imx-regs.h > index 0147920..4f9c78c 100644 > --- a/arch/arm/include/asm/arch-mx31/imx-regs.h > +++ b/arch/arm/include/asm/arch-mx31/imx-regs.h > @@ -24,6 +24,10 @@ > #ifndef __ASM_ARCH_MX31_IMX_REGS_H > #define __ASM_ARCH_MX31_IMX_REGS_H > > +#define CSPI1_BASE_ADDR 0x43fa4000 > +#define CSPI2_BASE_ADDR 0x50010000 > +#define CSPI3_BASE_ADDR 0x53f84000 > + > #if !(defined(__KERNEL_STRICT_NAMES) || defined(__ASSEMBLY__)) > #include <asm/types.h> > > diff --git a/include/configs/efikamx.h b/include/configs/efikamx.h > index a07c8b5..1fe558d 100644 > --- a/include/configs/efikamx.h > +++ b/include/configs/efikamx.h > @@ -99,6 +99,10 @@ > > #define CONFIG_HARD_SPI > #define CONFIG_MXC_SPI > +#define CONFIG_SPI_VER_2_3 1 > +#define CONFIG_CSPI1_BASE_ADDR CSPI1_BASE_ADDR > +#define CONFIG_CSPI2_BASE_ADDR CSPI2_BASE_ADDR > +#define CONFIG_CSPI3_BASE_ADDR CSPI3_BASE_ADDR
These are not configurable. If a board is a MX5, they are fixed from imx-regs.h. See also my previous answer to Patch 2/3. Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sba...@denx.de ===================================================================== _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot