]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board: ge: bx50v3: make SATA optional and disabled by default
authorAndrew Shadura <andrew.shadura@collabora.co.uk>
Tue, 24 May 2016 13:56:21 +0000 (15:56 +0200)
committerStefano Babic <sbabic@denx.de>
Tue, 7 Jun 2016 16:13:07 +0000 (18:13 +0200)
The SATA support is only useful for development and shouldn't be enabled
in production, so it has to be disabled in U-boot by default.

Signed-off-by: Andrew Shadura <andrew.shadura@collabora.co.uk>
include/configs/ge_bx50v3.h

index ccaa2b4e39e603dd5e60f20b25868fcd18f883de..98f20c6daabce57a0c395919d1f161a3e02d2634 100644 (file)
 #define CONFIG_MXC_OCOTP
 
 /* SATA Configs */
-#define CONFIG_CMD_SATA
+#ifdef CONFIG_CMD_SATA
 #define CONFIG_DWC_AHSATA
 #define CONFIG_SYS_SATA_MAX_DEVICE     1
 #define CONFIG_DWC_AHSATA_PORT_ID      0
 #define CONFIG_DWC_AHSATA_BASE_ADDR    SATA_ARB_BASE_ADDR
 #define CONFIG_LBA48
 #define CONFIG_LIBATA
+#endif
 
 /* MMC Configs */
 #define CONFIG_FSL_ESDHC