diff options
author | Wolfgang Denk <wd@pollux.denx.de> | 2007-01-30 00:50:40 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2007-01-30 00:50:40 +0100 |
commit | f8db84f132b1e335f20f96138a1f09ed97b08664 (patch) | |
tree | dd31c4563cb6fb067f1d44f64e2ffca7f9b3ec13 /board/lpc2292sodimm/mmc.c | |
parent | 6bd2447ee47ee23c18d2b3c7ccd5a20f7626f5b3 (diff) | |
download | u-boot-imx-f8db84f132b1e335f20f96138a1f09ed97b08664.zip u-boot-imx-f8db84f132b1e335f20f96138a1f09ed97b08664.tar.gz u-boot-imx-f8db84f132b1e335f20f96138a1f09ed97b08664.tar.bz2 |
LPC2292 SODIMM port coding style cleanup.
Diffstat (limited to 'board/lpc2292sodimm/mmc.c')
-rw-r--r-- | board/lpc2292sodimm/mmc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/board/lpc2292sodimm/mmc.c b/board/lpc2292sodimm/mmc.c index e361db1..1c0922f 100644 --- a/board/lpc2292sodimm/mmc.c +++ b/board/lpc2292sodimm/mmc.c @@ -41,8 +41,8 @@ block_dev_desc_t * mmc_get_dev(int dev) return (block_dev_desc_t *)(&mmc_dev); } -unsigned long mmc_block_read(int dev, - unsigned long start, +unsigned long mmc_block_read(int dev, + unsigned long start, lbaint_t blkcnt, unsigned long *buffer) { @@ -52,7 +52,7 @@ unsigned long mmc_block_read(int dev, unsigned long addr = start; #ifdef MMC_DEBUG - printf("mmc_block_read: start=%lu, blkcnt=%lu\n", start, + printf("mmc_block_read: start=%lu, blkcnt=%lu\n", start, (unsigned long)blkcnt); #endif @@ -64,7 +64,7 @@ unsigned long mmc_block_read(int dev, rc++; addr++; p += hw_sect_size; - } + } return rc; } |