summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2013-01-11 03:19:07 +0000
committerStefano Babic <sbabic@denx.de>2013-01-21 12:05:20 +0100
commit95e873d6011e299852e679cb7d5e74c4e6f67808 (patch)
treefe3aa1b9882f54e3edee45b4b5c4188e7bf300ff /arch
parent06dc8160a09a81c947509110f69875992a9d6875 (diff)
downloadu-boot-imx-95e873d6011e299852e679cb7d5e74c4e6f67808.zip
u-boot-imx-95e873d6011e299852e679cb7d5e74c4e6f67808.tar.gz
u-boot-imx-95e873d6011e299852e679cb7d5e74c4e6f67808.tar.bz2
mx23: ssp: Fix ssp-regs.h for MX23
Disable SSP2 and SSP3 ports on MX23. Signed-off-by: Marek Vasut <marex@denx.de> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Cc: Fabio Estevam <fabio.estevam@freescale.com> Cc: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/include/asm/arch-mxs/regs-ssp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-mxs/regs-ssp.h b/arch/arm/include/asm/arch-mxs/regs-ssp.h
index 4a75029..b97ac35 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;
}