diff --git a/include/configs/T104xRDB.h b/include/configs/T104xRDB.h
index 0159b97..8bbed7e 100644
--- a/include/configs/T104xRDB.h
+++ b/include/configs/T104xRDB.h
@@ -518,8 +518,10 @@
 #define CONFIG_SYS_DPAA_FMAN
 #define CONFIG_SYS_DPAA_PME
 
+#ifdef CONFIG_T1040RDB
 #define CONFIG_QE
 #define CONFIG_U_QE
+#endif
 
 /* Default address of microcode for the Linux Fman driver */
 #if defined(CONFIG_SPIFLASH)