part.c (b0fce99bfc116c2ddb4506268d6e4a0a7054478d) part.c (149dded2b178bc0fb62cb6f61b87968d914b580a)
1/*
2 * (C) Copyright 2001
3 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4 *
5 * See file CREDITS for list of people who contributed to this
6 * project.
7 *
8 * This program is free software; you can redistribute it and/or

--- 19 unchanged lines hidden (view full) ---

28#undef PART_DEBUG
29
30#ifdef PART_DEBUG
31#define PRINTF(fmt,args...) printf (fmt ,##args)
32#else
33#define PRINTF(fmt,args...)
34#endif
35
1/*
2 * (C) Copyright 2001
3 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4 *
5 * See file CREDITS for list of people who contributed to this
6 * project.
7 *
8 * This program is free software; you can redistribute it and/or

--- 19 unchanged lines hidden (view full) ---

28#undef PART_DEBUG
29
30#ifdef PART_DEBUG
31#define PRINTF(fmt,args...) printf (fmt ,##args)
32#else
33#define PRINTF(fmt,args...)
34#endif
35
36#if (CONFIG_COMMANDS & CFG_CMD_IDE) || (CONFIG_COMMANDS & CFG_CMD_SCSI)
36#if ((CONFIG_COMMANDS & CFG_CMD_IDE) || \
37 (CONFIG_COMMANDS & CFG_CMD_SCSI) || \
38 (CONFIG_COMMANDS & CFG_CMD_USB) )
37
38/* ------------------------------------------------------------------------- */
39/*
40 * reports device info to the user
41 */
42void dev_print (block_dev_desc_t *dev_desc)
43{
44 ulong lba512; /* number of blocks if 512bytes block size */

--- 207 unchanged lines hidden ---
39
40/* ------------------------------------------------------------------------- */
41/*
42 * reports device info to the user
43 */
44void dev_print (block_dev_desc_t *dev_desc)
45{
46 ulong lba512; /* number of blocks if 512bytes block size */

--- 207 unchanged lines hidden ---