summaryrefslogtreecommitdiff
path: root/disk/part_dos.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-01-29 20:02:07 -0500
committerWolfgang Denk <wd@denx.de>2009-02-18 00:50:51 +0100
commit7bd2722e890bc877a3c057d7ccddc80451c99939 (patch)
tree2d5fc7c352117c0c76ffc0c8dce2fc7d59eac6eb /disk/part_dos.c
parentf05fa9205e04986176dc7ab8b710bcb5fbe9f338 (diff)
downloadu-boot-imx-7bd2722e890bc877a3c057d7ccddc80451c99939.zip
u-boot-imx-7bd2722e890bc877a3c057d7ccddc80451c99939.tar.gz
u-boot-imx-7bd2722e890bc877a3c057d7ccddc80451c99939.tar.bz2
disk: convert part_* files to COBJ-$(CONFIG_XXX) style
Move the CONFIG_XXX out of the part_XXX.c file and into Makefile to avoid pointless compiles. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'disk/part_dos.c')
-rw-r--r--disk/part_dos.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/disk/part_dos.c b/disk/part_dos.c
index 4d778ec..4ab0b40 100644
--- a/disk/part_dos.c
+++ b/disk/part_dos.c
@@ -35,12 +35,12 @@
#include <ide.h>
#include "part_dos.h"
-#if (defined(CONFIG_CMD_IDE) || \
- defined(CONFIG_CMD_SATA) || \
- defined(CONFIG_CMD_SCSI) || \
- defined(CONFIG_CMD_USB) || \
- defined(CONFIG_MMC) || \
- defined(CONFIG_SYSTEMACE) ) && defined(CONFIG_DOS_PARTITION)
+#if defined(CONFIG_CMD_IDE) || \
+ defined(CONFIG_CMD_SATA) || \
+ defined(CONFIG_CMD_SCSI) || \
+ defined(CONFIG_CMD_USB) || \
+ defined(CONFIG_MMC) || \
+ defined(CONFIG_SYSTEMACE)
/* Convert char[4] in little endian format to the host format integer
*/