From: DrEagle Date: Sun, 7 Sep 2014 16:01:21 +0000 (+0200) Subject: ARM: sheevaplug: add MVSATA driver X-Git-Tag: v2014.10~37^2~1^2~4 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0f88a5a98eb9d8d5158b074a127a4bf8d4ce8610;p=u-boot ARM: sheevaplug: add MVSATA driver This patch add MVSATA driver to sheevaplug Signed-off-by: Gerald Kerma Changes in v1: - add MVSATA driver to sheevaplug - enable ext4 FS support Signed-off-by: Prafulla Wadaskar --- diff --git a/include/configs/sheevaplug.h b/include/configs/sheevaplug.h index d89bc37206..9661b8fd36 100644 --- a/include/configs/sheevaplug.h +++ b/include/configs/sheevaplug.h @@ -1,5 +1,6 @@ /* - * (C) Copyright 2009 + * (C) Copyright 2009-2014 + * Gerald Kerma * Marvell Semiconductor * Written-by: Prafulla Wadaskar * @@ -22,13 +23,22 @@ #define CONFIG_MACH_SHEEVAPLUG /* Machine type */ #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 +#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 @@ -91,10 +101,24 @@ #define CONFIG_SYS_MMC_BASE KW_SDIO_BASE #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