]> git.karo-electronics.de Git - karo-tx-uboot.git/commit
Add a hook to allow board-specific PIO mode setting.
authorSteven A. Falco <sfalco@harris.com>
Fri, 15 Aug 2008 19:34:10 +0000 (15:34 -0400)
committerWolfgang Denk <wd@denx.de>
Wed, 20 Aug 2008 23:31:04 +0000 (01:31 +0200)
commit36c2d3062ecc6ab85f8e237180eb134464c48418
tree67cfe217e923dab6797979aaffe39d4756dfd6ab
parent9571b84cb1423876f1153081b9e6a51d90fbcdc4
Add a hook to allow board-specific PIO mode setting.

This patch adds a hook whereby a board-specific routine can be called to
configure hardware for a PIO mode.  The prototype for the board-specific
routine is:

int inline ide_set_piomode(int pio_mode)

ide_set_piomode should be prepared to configure hardware for a pio_mode
between 0 and 6, inclusive.  It should return 0 on success or 1 on failure.

Signed-off-by: Steven A. Falco <sfalco@harris.com>
common/cmd_ide.c
include/ata.h