]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - common/cmd_universe.c
UBI: Set ubi_dev.type back to DEV_TYPE_NONE upon failing initialization
[karo-tx-uboot.git] / common / cmd_universe.c
index cc55dc9303492d8e44654f69f9bb812d56aeef1f..ea977828a05e35c359c4b3765e86f03601d3a3ee 100644 (file)
@@ -28,8 +28,6 @@
 
 #include <universe.h>
 
-#if (CONFIG_COMMANDS & CFG_CMD_UNIVERSE) || defined(CONFIG_CMD_UNIVERSE)
-
 #define PCI_VENDOR PCI_VENDOR_ID_TUNDRA
 #define PCI_DEVICE PCI_DEVICE_ID_TUNDRA_CA91C042
 
@@ -386,5 +384,3 @@ U_BOOT_CMD(
        "                                      02 -> D16 Data Width\n"
        "                                      03 -> D32 Data Width\n"
 );
-
-#endif /* (CONFIG_COMMANDS & CFG_CMD_UNIVERSE) */