]> git.sur5r.net Git - u-boot/commit
ftide020: add faraday ide ahb controller
authorMacpaul Lin <macpaul@andestech.com>
Sun, 1 May 2011 21:28:56 +0000 (21:28 +0000)
committerWolfgang Denk <wd@denx.de>
Thu, 12 May 2011 21:41:44 +0000 (23:41 +0200)
commit4bed7265f2ce2e986ab11f0c9382a5ac2899d630
tree11c6820179e7be5f6eb9a982327abc213e253fb4
parent7124015adad59dea5e72103f63531f3367c6df80
ftide020: add faraday ide ahb controller

Faraday's ftide020_s is an IDE-AHB controller for SoC design.
This patch add the u-boot driver (PIO) of ftide020 ATA (IDE) driver.
IDE commands include read, info, and other functions has been implemented.

Because this IDE controller support AHB interface only which is differ
from other most IDE controller supports PCI interface. Some registers
access is required during CMD/DATA I/O. Hence a configuration
"CONFIG_IDE_AHB" is required to be defined according to the feature in
cmd_ide.c.

Signed-off-by: Macpaul Lin <macpaul@andestech.com>
drivers/block/Makefile
drivers/block/ftide020.c [new file with mode: 0644]
drivers/block/ftide020.h [new file with mode: 0644]