diff options
author | Roger Quadros <rogerq@ti.com> | 2013-11-11 16:56:42 +0200 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-12-04 08:12:09 -0500 |
commit | afdc6321316ca5a6bfc7b916328f45ab4720007e (patch) | |
tree | b71367b34ab932942ee9a452548330a10a860730 | |
parent | a087a7fb9238caecfe0b57c63ccc686ffbccefa7 (diff) | |
download | u-boot-imx-afdc6321316ca5a6bfc7b916328f45ab4720007e.zip u-boot-imx-afdc6321316ca5a6bfc7b916328f45ab4720007e.tar.gz u-boot-imx-afdc6321316ca5a6bfc7b916328f45ab4720007e.tar.bz2 |
ARM: omap5_uevm: Add SATA support
The uevm has a SATA port. Inititialize the SATA controller.
Signed-off-by: Roger Quadros <rogerq@ti.com>
-rw-r--r-- | board/ti/omap5_uevm/evm.c | 7 | ||||
-rw-r--r-- | include/configs/omap5_uevm.h | 10 |
2 files changed, 17 insertions, 0 deletions
diff --git a/board/ti/omap5_uevm/evm.c b/board/ti/omap5_uevm/evm.c index bb3a699..af854da 100644 --- a/board/ti/omap5_uevm/evm.c +++ b/board/ti/omap5_uevm/evm.c @@ -20,6 +20,7 @@ #include <asm/arch/clock.h> #include <asm/arch/ehci.h> #include <asm/ehci-omap.h> +#include <asm/arch/sata.h> #define DIE_ID_REG_BASE (OMAP54XX_L4_CORE_BASE + 0x2000) #define DIE_ID_REG_OFFSET 0x200 @@ -67,6 +68,12 @@ int board_init(void) return 0; } +int board_late_init(void) +{ + omap_sata_init(); + return 0; +} + int board_eth_init(bd_t *bis) { return 0; diff --git a/include/configs/omap5_uevm.h b/include/configs/omap5_uevm.h index 4d3a800..2f128b8 100644 --- a/include/configs/omap5_uevm.h +++ b/include/configs/omap5_uevm.h @@ -69,4 +69,14 @@ /* Max time to hold reset on this board, see doc/README.omap-reset-time */ #define CONFIG_OMAP_PLATFORM_RESET_TIME_MAX_USEC 16296 +#define CONFIG_BOARD_LATE_INIT +#define CONFIG_CMD_SCSI +#define CONFIG_LIBATA +#define CONFIG_SCSI_AHCI +#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 /* __CONFIG_OMAP5_EVM_H */ |