On Monday, May 23, 2011 17:49:42 Matthew McClintock wrote:
> --- a/common/cmd_mmc.c
> +++ b/common/cmd_mmc.c
> @@ -180,7 +180,9 @@ int do_mmcops(cmd_tbl_t *cmdtp, int flag, int argc,
> char * const argv[]) mmc_dev = mmc_get_dev(curr_device);
>               if (mmc_dev != NULL &&
>                               mmc_dev->type != DEV_TYPE_UNKNOWN) {
> +#ifdef CONFIG_PARTITIONS
>                       print_part(mmc_dev);
> +#endif

how about adding this logic to the header ?  then print_part() is 
transparently turned into a stub for all users ...
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to