diff options
author | Rob Herring <rob.herring@calxeda.com> | 2013-08-24 10:10:54 -0500 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-09-06 13:09:07 -0400 |
commit | 344ca0b40cf3a8feb1e7f9d4ff9e5041be706266 (patch) | |
tree | 09bffaeb6498f4bdf51454b1098fbc57b96aaed1 /include/configs/highbank.h | |
parent | 7610b41ddf3c8d1234b38817621f29407deaf32f (diff) | |
download | u-boot-imx-344ca0b40cf3a8feb1e7f9d4ff9e5041be706266.zip u-boot-imx-344ca0b40cf3a8feb1e7f9d4ff9e5041be706266.tar.gz u-boot-imx-344ca0b40cf3a8feb1e7f9d4ff9e5041be706266.tar.bz2 |
ahci: convert to use libata functions and definitions
libata already has similar functions as implemented in the ahci code.
Refactor the code to use the libata variants and remove the dependency on
ata.h. Convert some defines to use the version from libata.h. Also, remove
some unnecessary memset's of bss data.
This is a step toward hopefully merging ahci.c and dw_ahsata.c which are
essentially the same driver.
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Reviewed-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'include/configs/highbank.h')
-rw-r--r-- | include/configs/highbank.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/highbank.h b/include/configs/highbank.h index a5743d6..afb6e64 100644 --- a/include/configs/highbank.h +++ b/include/configs/highbank.h @@ -39,6 +39,7 @@ #define CONFIG_SYS_BOOTCOUNT_ADDR 0xfff3cf0c #define CONFIG_MISC_INIT_R +#define CONFIG_LIBATA #define CONFIG_SCSI_AHCI #define CONFIG_SCSI_AHCI_PLAT #define CONFIG_SYS_SCSI_MAX_SCSI_ID 5 |