commit | 36c2d3062ecc6ab85f8e237180eb134464c48418 | [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 | 9571b84cb1423876f1153081b9e6a51d90fbcdc4 [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>