summaryrefslogtreecommitdiff
path: root/drivers/mtd/onenand/onenand_uboot.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/onenand/onenand_uboot.c')
-rw-r--r--drivers/mtd/onenand/onenand_uboot.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/mtd/onenand/onenand_uboot.c b/drivers/mtd/onenand/onenand_uboot.c
index bd7466ac9d..d614450616 100644
--- a/drivers/mtd/onenand/onenand_uboot.c
+++ b/drivers/mtd/onenand/onenand_uboot.c
@@ -14,9 +14,6 @@
*/
#include <common.h>
-
-#ifdef CONFIG_CMD_ONENAND
-
#include <linux/mtd/compat.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/onenand.h>
@@ -37,5 +34,3 @@ void onenand_init(void)
puts("OneNAND: ");
print_size(onenand_mtd.size, "\n");
}
-
-#endif /* CONFIG_CMD_ONENAND */