summaryrefslogtreecommitdiff
path: root/drivers/mmc/imx_esdhc.c
diff options
context:
space:
mode:
authorTerry Lv <r65388@freescale.com>2011-11-10 10:46:49 +0800
committerTerry Lv <r65388@freescale.com>2011-11-10 16:11:41 +0800
commit97efee177f82b082db9d2019ed641c5b99b3f54b (patch)
tree592131af109bd2349cadad6581f94d92e4da6e2a /drivers/mmc/imx_esdhc.c
parenta30b8dbe9cc199067c0cc5a2dc0d7322c9f4303a (diff)
downloadu-boot-imx-97efee177f82b082db9d2019ed641c5b99b3f54b.zip
u-boot-imx-97efee177f82b082db9d2019ed641c5b99b3f54b.tar.gz
u-boot-imx-97efee177f82b082db9d2019ed641c5b99b3f54b.tar.bz2
ENGR00161852: remove u-boot build warnings for mx6q
Remove u-boot build warnings for mx6q. Signed-off-by: Terry Lv <r65388@freescale.com>
Diffstat (limited to 'drivers/mmc/imx_esdhc.c')
-rw-r--r--drivers/mmc/imx_esdhc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/imx_esdhc.c b/drivers/mmc/imx_esdhc.c
index ab7f585..b242755 100644
--- a/drivers/mmc/imx_esdhc.c
+++ b/drivers/mmc/imx_esdhc.c
@@ -168,7 +168,7 @@ esdhc_send_cmd(struct mmc *mmc, struct mmc_cmd *cmd, struct mmc_data *data)
{
uint xfertyp, mixctrl;
uint irqstat;
- u32 tmp, sysctl_restore;
+ u32 tmp, sysctl_restore = 0;
struct fsl_esdhc_cfg *cfg = (struct fsl_esdhc_cfg *)mmc->priv;
volatile struct fsl_esdhc *regs = (struct fsl_esdhc *)cfg->esdhc_base;