summaryrefslogtreecommitdiff
path: root/fs/ext2
diff options
context:
space:
mode:
authorwdenk <wdenk>2005-03-04 11:27:31 +0000
committerwdenk <wdenk>2005-03-04 11:27:31 +0000
commitb05dcb58fe04c6274fc942fa93efe77072395951 (patch)
tree214508184e4332109c02b2a958e9fefeec7a00b4 /fs/ext2
parent47b1e3d77fcd951df45259a4b20cc116d226e10f (diff)
downloadu-boot-imx-b05dcb58fe04c6274fc942fa93efe77072395951.zip
u-boot-imx-b05dcb58fe04c6274fc942fa93efe77072395951.tar.gz
u-boot-imx-b05dcb58fe04c6274fc942fa93efe77072395951.tar.bz2
* Fix get_partition_info() parameter error in all other calls
(common/cmd_ide.c, common/cmd_reiser.c, common/cmd_scsi.c). * Enable USB and IDE support for INKA4x0 board * Patch by Andrew Dyer, 28 February 2005: fix ext2load passing an incorrect pointer to get_partition_info() resulting in load failure for devices other than 0
Diffstat (limited to 'fs/ext2')
-rw-r--r--fs/ext2/dev.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/fs/ext2/dev.c b/fs/ext2/dev.c
index 35a576d..1469e98 100644
--- a/fs/ext2/dev.c
+++ b/fs/ext2/dev.c
@@ -33,7 +33,6 @@
static block_dev_desc_t *ext2fs_block_dev_desc;
static disk_partition_t part_info;
-#undef DEBUG
int ext2fs_set_blk_dev (block_dev_desc_t * rbdd, int part)
{
ext2fs_block_dev_desc = rbdd;
@@ -74,9 +73,7 @@ int ext2fs_devread (int sector, int byte_offset, int byte_len, char *buf) {
sector += byte_offset >> SECTOR_BITS;
byte_offset &= SECTOR_SIZE - 1;
-#if defined(DEBUG)
- printf (" <%d, %d, %d>\n", sector, byte_offset, byte_len);
-#endif
+ debug (" <%d, %d, %d>\n", sector, byte_offset, byte_len);
if (ext2fs_block_dev_desc == NULL) {
printf ("** Invalid Block Device Descriptor (NULL)\n");