commit | 2b7574e8022d1b418416c3733bd61d9e190fc347 | [log] [tgz] |
---|---|---|
author | Steven A. Falco <sfalco@harris.com> | Fri Aug 15 15:34:10 2008 -0400 |
committer | Wolfgang Denk <wd@denx.de> | Thu Aug 21 01:31:04 2008 +0200 |
tree | 67cfe217e923dab6797979aaffe39d4756dfd6ab | |
parent | c8a5933cff9128424ea9806ba4a048c92e26c1b5 [diff] |
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>