diff --git a/configs/mx6cuboxi_defconfig b/configs/mx6cuboxi_defconfig
index c35ea92bd2e39d2d2d70241233408ddcbfb3efb6..dd974b21931016bb567c2a6755c852ee20823b70 100644
--- a/configs/mx6cuboxi_defconfig
+++ b/configs/mx6cuboxi_defconfig
@@ -23,6 +23,7 @@ CONFIG_SPL_I2C_SUPPORT=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_SATA=y
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_EXT4_WRITE=y
 # CONFIG_SPL_PARTITION_UUIDS is not set
diff --git a/include/configs/mx6cuboxi.h b/include/configs/mx6cuboxi.h
index 5fda6bd8672b13871b8054f7c1001737b912861d..05a9ffde2b92945f93f0256cc279ec02df95c864 100644
--- a/include/configs/mx6cuboxi.h
+++ b/include/configs/mx6cuboxi.h
@@ -22,7 +22,6 @@
 #define CONFIG_SYS_FSL_ESDHC_ADDR	USDHC2_BASE_ADDR
 
 /* SATA Configuration */
-#define CONFIG_CMD_SATA
 #ifdef CONFIG_CMD_SATA
 #define CONFIG_DWC_AHSATA
 #define CONFIG_SYS_SATA_MAX_DEVICE      1