diff options
| author | Kim Phillips <kim.phillips@freescale.com> | 2007-10-18 10:02:16 -0500 |
|---|---|---|
| committer | Kim Phillips <kim.phillips@freescale.com> | 2007-10-18 10:02:16 -0500 |
| commit | f147dd15e840230a3911c649b2a81c749d32db1c (patch) | |
| tree | 03023c12770b6c33c4e9f75615c4a3319d497c90 /cpu/pxa/mmc.c | |
| parent | 8ffc774993725a0646aa8d1995d968c95aee9e3c (diff) | |
| parent | eff786a9b89144478f478c4193fcad5b498feb72 (diff) | |
| download | olio-uboot-2014.01-f147dd15e840230a3911c649b2a81c749d32db1c.tar.xz olio-uboot-2014.01-f147dd15e840230a3911c649b2a81c749d32db1c.zip | |
Merge git://www.denx.de/git/u-boot
Diffstat (limited to 'cpu/pxa/mmc.c')
| -rw-r--r-- | cpu/pxa/mmc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpu/pxa/mmc.c b/cpu/pxa/mmc.c index 0fbaa162f..d76e0cdfe 100644 --- a/cpu/pxa/mmc.c +++ b/cpu/pxa/mmc.c @@ -438,11 +438,11 @@ mmc_init(int verbose) /* FIXME fill in the correct size (is set to 32MByte) */ mmc_dev.blksz = 512; mmc_dev.lba = 0x10000; - sprintf(mmc_dev.vendor,"Man %02x%02x%02x Snr %02x%02x%02x", + sprintf((char*)mmc_dev.vendor,"Man %02x%02x%02x Snr %02x%02x%02x", cid->id[0], cid->id[1], cid->id[2], cid->sn[0], cid->sn[1], cid->sn[2]); - sprintf(mmc_dev.product,"%s",cid->name); - sprintf(mmc_dev.revision,"%x %x",cid->hwrev, cid->fwrev); + sprintf((char*)mmc_dev.product,"%s",cid->name); + sprintf((char*)mmc_dev.revision,"%x %x",cid->hwrev, cid->fwrev); mmc_dev.removable = 0; mmc_dev.block_read = mmc_bread; |