From: Marek Vasut Date: Fri, 11 Jan 2013 03:19:07 +0000 (+0000) Subject: mx23: ssp: Fix ssp-regs.h for MX23 X-Git-Tag: v2013.04-rc1~48^2~34^2~36 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=95e873d6011e299852e679cb7d5e74c4e6f67808;p=u-boot mx23: ssp: Fix ssp-regs.h for MX23 Disable SSP2 and SSP3 ports on MX23. Signed-off-by: Marek Vasut Signed-off-by: Otavio Salvador Cc: Fabio Estevam Cc: Stefano Babic --- diff --git a/arch/arm/include/asm/arch-mxs/regs-ssp.h b/arch/arm/include/asm/arch-mxs/regs-ssp.h index 4a75029221..b97ac352dd 100644 --- a/arch/arm/include/asm/arch-mxs/regs-ssp.h +++ b/arch/arm/include/asm/arch-mxs/regs-ssp.h @@ -58,10 +58,12 @@ static inline struct mxs_ssp_regs *mxs_ssp_regs_by_bus(unsigned int port) return (struct mxs_ssp_regs *)MXS_SSP0_BASE; case 1: return (struct mxs_ssp_regs *)MXS_SSP1_BASE; +#ifdef CONFIG_MX28 case 2: return (struct mxs_ssp_regs *)MXS_SSP2_BASE; case 3: return (struct mxs_ssp_regs *)MXS_SSP3_BASE; +#endif default: return NULL; }