diff options
author | Jon Nettleton <jon@solid-run.com> | 2018-05-28 13:35:15 +0300 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2018-06-05 07:29:08 +0200 |
commit | d6db446f70c56de5cf57077fdb2329aaa58b740d (patch) | |
tree | e686246d959a08ad3c3f75e98fed65846a35ad28 /include/configs/clearfog.h | |
parent | 28be54dc59a038483650bd3c847b5444b371c2d0 (diff) | |
download | u-boot-d6db446f70c56de5cf57077fdb2329aaa58b740d.tar.gz |
arm: mvebu: enable sata support for clearfog
The a38x sata interfaces run in ahci mode and can
be accessed via the scsi command.
Signed-off-by: Jon Nettleton <jon@solid-run.com>
[baruch: rebase on current upstream]
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Reviewed-by: Stefan Roese <sr@denx.de>
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'include/configs/clearfog.h')
-rw-r--r-- | include/configs/clearfog.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/configs/clearfog.h b/include/configs/clearfog.h index f57f9b21ab..ed6f000db1 100644 --- a/include/configs/clearfog.h +++ b/include/configs/clearfog.h @@ -62,6 +62,15 @@ #define CONFIG_PCI_SCAN_SHOW #endif +/* SATA support */ +#ifdef CONFIG_SCSI +#define CONFIG_SCSI_AHCI_PLAT +#define CONFIG_SYS_SCSI_MAX_SCSI_ID 1 +#define CONFIG_SYS_SCSI_MAX_LUN 1 +#define CONFIG_SYS_SCSI_MAX_DEVICE (CONFIG_SYS_SCSI_MAX_SCSI_ID * \ + CONFIG_SYS_SCSI_MAX_LUN) +#endif + /* Keep device tree and initrd in lower memory so the kernel can access them */ #define RELOCATION_LIMITS_ENV_SETTINGS \ "fdt_high=0x10000000\0" \ |