ARM64: zynqmp: Enable AHCI when CONFIG_SATA_CEVA is defined
authorMichal Simek <michal.simek@xilinx.com>
Wed, 1 Jun 2016 12:29:33 +0000 (14:29 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 6 Jun 2016 09:23:28 +0000 (11:23 +0200)
Simplify zcu102 board file by moving CONFIG_AHCI enabling to common
file.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
include/configs/xilinx_zynqmp.h
include/configs/xilinx_zynqmp_zcu102.h

index 455481dc5346839c67f5808812ddd53ffa046d18..795d58646e1557d41e3e2c5710f830ffc8becacf 100644 (file)
 # define CONFIG_SYS_EEPROM_SIZE                        (64 * 1024)
 #endif
 
-#ifdef CONFIG_AHCI
+#ifdef CONFIG_SATA_CEVA
+#define CONFIG_AHCI
 #define CONFIG_LIBATA
 #define CONFIG_SCSI_AHCI
 #define CONFIG_SCSI_AHCI_PLAT
index 81079fe7d8b239c91420c309e23713608c530374..09c4a51a2ec0b26f05314512631e12004dc75252 100644 (file)
@@ -41,7 +41,6 @@
 #define CONFIG_CMD_PCA953X
 #define CONFIG_CMD_PCA953X_INFO
 
-#define CONFIG_AHCI
 #define CONFIG_SATA_CEVA
 
 #define CONFIG_ZYNQMP_XHCI_LIST {ZYNQMP_USB0_XHCI_BASEADDR}