summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrEagle <dreagle@doukki.net>2014-09-07 18:01:21 +0200
committerPrafulla Wadaskar <prafulla@marvell.com>2014-10-01 07:04:47 -0400
commit0f88a5a98eb9d8d5158b074a127a4bf8d4ce8610 (patch)
tree70cdf88afb0288a493244fc0b8e0cd479d4926bd
parent4dfb0e4d3e75763d6fbe8788316bea9ba23e8e01 (diff)
downloadu-boot-imx-0f88a5a98eb9d8d5158b074a127a4bf8d4ce8610.zip
u-boot-imx-0f88a5a98eb9d8d5158b074a127a4bf8d4ce8610.tar.gz
u-boot-imx-0f88a5a98eb9d8d5158b074a127a4bf8d4ce8610.tar.bz2
ARM: sheevaplug: add MVSATA driver
This patch add MVSATA driver to sheevaplug Signed-off-by: Gerald Kerma <drEagle@doukki.net> Changes in v1: - add MVSATA driver to sheevaplug - enable ext4 FS support Signed-off-by: Prafulla Wadaskar <prafulla@marvell.com>
-rw-r--r--include/configs/sheevaplug.h26
1 files changed, 25 insertions, 1 deletions
diff --git a/include/configs/sheevaplug.h b/include/configs/sheevaplug.h
index d89bc37..9661b8f 100644
--- a/include/configs/sheevaplug.h
+++ b/include/configs/sheevaplug.h
@@ -1,5 +1,6 @@
/*
- * (C) Copyright 2009
+ * (C) Copyright 2009-2014
+ * Gerald Kerma <dreagle@doukki.net>
* Marvell Semiconductor <www.marvell.com>
* Written-by: Prafulla Wadaskar <prafulla@marvell.com>
*
@@ -23,12 +24,21 @@
#define CONFIG_SKIP_LOWLEVEL_INIT /* disable board lowlevel_init */
/*
+ * Compression configuration
+ */
+#define CONFIG_BZIP2
+#define CONFIG_LZMA
+#define CONFIG_LZO
+
+/*
* Commands configuration
*/
#define CONFIG_SYS_NO_FLASH /* Declare no flash (NOR/SPI) */
#include <config_cmd_default.h>
+#define CONFIG_CMD_BOOTZ
#define CONFIG_CMD_DHCP
#define CONFIG_CMD_ENV
+#define CONFIG_CMD_IDE
#define CONFIG_CMD_MII
#define CONFIG_CMD_MMC
#define CONFIG_CMD_NAND
@@ -92,9 +102,23 @@
#endif /* CONFIG_CMD_MMC */
/*
+ * SATA driver configuration
+ */
+#ifdef CONFIG_CMD_IDE
+#define __io
+#define CONFIG_IDE_PREINIT
+#define CONFIG_DOS_PARTITION
+#define CONFIG_MVSATA_IDE_USE_PORT0
+#define CONFIG_MVSATA_IDE_USE_PORT1
+#define CONFIG_SYS_ATA_IDE0_OFFSET MV_SATA_PORT0_OFFSET
+#define CONFIG_SYS_ATA_IDE1_OFFSET MV_SATA_PORT1_OFFSET
+#endif /* CONFIG_CMD_IDE */
+
+/*
* File system
*/
#define CONFIG_CMD_EXT2
+#define CONFIG_CMD_EXT4
#define CONFIG_CMD_FAT
#define CONFIG_CMD_JFFS2
#define CONFIG_CMD_UBI