[U-Boot] [PATCH v3] ftide020: add faraday ide ahb controller

Wolfgang Denk wd at denx.de
Thu May 12 23:41:56 CEST 2011


Dear Macpaul Lin,

In message <1304321336-16693-1-git-send-email-macpaul at andestech.com> you wrote:
> 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 at andestech.com>
> ---
> Changes for v2:
>   - replace default PIO mode from 0 to 4.
>   - clean up lines exceed 80 charecters as could as possible.
>   - Since the Linux driver of ftide020 hasn't been send to kernel mailing list,
>     we fixed the GPL statement in this driver.
>   - clean up space before tab problem.
> Changes for v3:
>   - Clean up remaining lines over 80 characters in ftide020.h.
>   - Remove useless driver version define.
>   - Remove redundant TRUE/FALSE define.
>   - Replace P_DEBUG marco to debug().
> 
>  drivers/block/Makefile   |    1 +
>  drivers/block/ftide020.c |  367 ++++++++++++++++++++++++++++++++++++++++++++++
>  drivers/block/ftide020.h |  283 +++++++++++++++++++++++++++++++++++
>  3 files changed, 651 insertions(+), 0 deletions(-)
>  create mode 100644 drivers/block/ftide020.c
>  create mode 100644 drivers/block/ftide020.h

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Philosophy:  A route of many roads leading from nowhere to nothing.
- Ambrose Bierce


More information about the U-Boot mailing list