diff --git a/include/configs/T104xRDB.h b/include/configs/T104xRDB.h
index 0159b97f7e6cec7487d1af09724db2f1fccdfe89..8bbed7e7bf4a88900cb31f817ba24dd3d408d55d 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)