Commit 0f88a5a98eb9d8d5158b074a127a4bf8d4ce8610
Committed by
Prafulla Wadaskar
1 parent
4dfb0e4d3e
Exists in
v2017.01-smarct4x
and in
37 other branches
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>
Showing 1 changed file with 25 additions and 1 deletions Side-by-side Diff
include/configs/sheevaplug.h
1 | 1 | /* |
2 | - * (C) Copyright 2009 | |
2 | + * (C) Copyright 2009-2014 | |
3 | + * Gerald Kerma <dreagle@doukki.net> | |
3 | 4 | * Marvell Semiconductor <www.marvell.com> |
4 | 5 | * Written-by: Prafulla Wadaskar <prafulla@marvell.com> |
5 | 6 | * |
6 | 7 | |
7 | 8 | |
... | ... | @@ -23,12 +24,21 @@ |
23 | 24 | #define CONFIG_SKIP_LOWLEVEL_INIT /* disable board lowlevel_init */ |
24 | 25 | |
25 | 26 | /* |
27 | + * Compression configuration | |
28 | + */ | |
29 | +#define CONFIG_BZIP2 | |
30 | +#define CONFIG_LZMA | |
31 | +#define CONFIG_LZO | |
32 | + | |
33 | +/* | |
26 | 34 | * Commands configuration |
27 | 35 | */ |
28 | 36 | #define CONFIG_SYS_NO_FLASH /* Declare no flash (NOR/SPI) */ |
29 | 37 | #include <config_cmd_default.h> |
38 | +#define CONFIG_CMD_BOOTZ | |
30 | 39 | #define CONFIG_CMD_DHCP |
31 | 40 | #define CONFIG_CMD_ENV |
41 | +#define CONFIG_CMD_IDE | |
32 | 42 | #define CONFIG_CMD_MII |
33 | 43 | #define CONFIG_CMD_MMC |
34 | 44 | #define CONFIG_CMD_NAND |
35 | 45 | |
... | ... | @@ -92,9 +102,23 @@ |
92 | 102 | #endif /* CONFIG_CMD_MMC */ |
93 | 103 | |
94 | 104 | /* |
105 | + * SATA driver configuration | |
106 | + */ | |
107 | +#ifdef CONFIG_CMD_IDE | |
108 | +#define __io | |
109 | +#define CONFIG_IDE_PREINIT | |
110 | +#define CONFIG_DOS_PARTITION | |
111 | +#define CONFIG_MVSATA_IDE_USE_PORT0 | |
112 | +#define CONFIG_MVSATA_IDE_USE_PORT1 | |
113 | +#define CONFIG_SYS_ATA_IDE0_OFFSET MV_SATA_PORT0_OFFSET | |
114 | +#define CONFIG_SYS_ATA_IDE1_OFFSET MV_SATA_PORT1_OFFSET | |
115 | +#endif /* CONFIG_CMD_IDE */ | |
116 | + | |
117 | +/* | |
95 | 118 | * File system |
96 | 119 | */ |
97 | 120 | #define CONFIG_CMD_EXT2 |
121 | +#define CONFIG_CMD_EXT4 | |
98 | 122 | #define CONFIG_CMD_FAT |
99 | 123 | #define CONFIG_CMD_JFFS2 |
100 | 124 | #define CONFIG_CMD_UBI |