]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
powerpc/p2041rdb: Enable SATA support
authorMingkai Hu <Mingkai.hu@freescale.com>
Wed, 27 Jul 2011 01:55:51 +0000 (09:55 +0800)
committerKumar Gala <galak@kernel.crashing.org>
Fri, 29 Jul 2011 13:53:39 +0000 (08:53 -0500)
Signed-off-by: Mingkai Hu <Mingkai.hu@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
include/configs/P2041RDB.h

index c35d76307d6cd96b85655f1bf136e8a902a21ccb..638dbe7a6dcd0acdb8150a8982f7d55d46ee08a3 100644 (file)
 #define CONFIG_DOS_PARTITION
 #endif /* CONFIG_PCI */
 
+/* SATA */
+#define CONFIG_FSL_SATA_V2
+#ifdef CONFIG_FSL_SATA_V2
+#define CONFIG_LIBATA
+#define CONFIG_FSL_SATA
+
+#define CONFIG_SYS_SATA_MAX_DEVICE     2
+#define CONFIG_SATA1
+#define CONFIG_SYS_SATA1               CONFIG_SYS_MPC85xx_SATA1_ADDR
+#define CONFIG_SYS_SATA1_FLAGS         FLAGS_DMA
+#define CONFIG_SATA2
+#define CONFIG_SYS_SATA2               CONFIG_SYS_MPC85xx_SATA2_ADDR
+#define CONFIG_SYS_SATA2_FLAGS         FLAGS_DMA
+
+#define CONFIG_LBA48
+#define CONFIG_CMD_SATA
+#define CONFIG_DOS_PARTITION
+#define CONFIG_CMD_EXT2
+#endif
+
 #ifdef CONFIG_FMAN_ENET
 #define CONFIG_SYS_FM1_DTSEC1_PHY_ADDR 0x2
 #define CONFIG_SYS_FM1_DTSEC2_PHY_ADDR 0x3