summaryrefslogtreecommitdiff
path: root/common/Makefile
diff options
context:
space:
mode:
authormushtaq khan <mushtaq_k@procsys.com>2007-04-20 14:23:02 +0530
committerWolfgang Denk <wd@denx.de>2007-05-15 23:25:37 +0200
commit66d9dbec1cc27d6398ee6cf84639dbe14971251e (patch)
tree55c162c1992cf22fb7a94cb71009e5a9e87f36f9 /common/Makefile
parent644e6fb4eb8be90ea04ba34b643a8bf019d680e0 (diff)
downloadu-boot-imx-66d9dbec1cc27d6398ee6cf84639dbe14971251e.zip
u-boot-imx-66d9dbec1cc27d6398ee6cf84639dbe14971251e.tar.gz
u-boot-imx-66d9dbec1cc27d6398ee6cf84639dbe14971251e.tar.bz2
Add driver for S-ATA-controller on Intel processors with South
Bridge, ICH-5, ICH-6 and ICH-7. Implementation: 1. Code is divided in to two files. All functions, which are controller specific are kept in "drivers/ata_piix.c" file and functions, which are not controller specific, are kept in "common/cmd_sata.c" file. 2. Reading and Writing from the S-ATA drive is done using PIO method. 3. Driver can be configured for 48-bit addressing by defining macro CONFIG_LBA48, if this macro is not defined driver uses the 28-bit addressing. 4. S-ATA read function is hooked to the File system, commands like ext2ls and ext2load file can be used. This has been tested. 5. U-Boot command "SATA_init" is added, which initializes the S-ATA controller and identifies the S-ATA drives connected to it. 6. U-Boot command "sata" is added, which is used to read/write, print partition table and get info about the drives present. This I have implemented in same way as "ide" command is implemented in U-Boot. 7. This driver is for S-ATA in native mode. 8. This driver does not support the Native command queuing and Hot-plugging. Signed-off-by: Mushtaq Khan <mushtaq_k@procsys.com>
Diffstat (limited to 'common/Makefile')
-rw-r--r--common/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/Makefile b/common/Makefile
index 5dfd3a8..1e4ce31 100644
--- a/common/Makefile
+++ b/common/Makefile
@@ -38,8 +38,8 @@ COBJS = main.o ACEX1K.o altera.o bedbug.o circbuf.o cmd_autoscript.o \
cmd_mem.o cmd_mii.o cmd_misc.o cmd_mmc.o \
cmd_nand.o cmd_net.o cmd_nvedit.o \
cmd_pci.o cmd_pcmcia.o cmd_portio.o \
- cmd_reginfo.o cmd_reiser.o cmd_scsi.o cmd_spi.o cmd_universe.o \
- cmd_usb.o cmd_vfd.o \
+ cmd_reginfo.o cmd_reiser.o cmd_sata.o cmd_scsi.o cmd_spi.o \
+ cmd_universe.o cmd_usb.o cmd_vfd.o \
command.o console.o cyclon2.o devices.o dlmalloc.o docecc.o \
environment.o env_common.o \
env_nand.o env_dataflash.o env_flash.o env_eeprom.o \