summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSteven A. Falco <sfalco@harris.com>2008-08-15 15:34:10 -0400
committerWolfgang Denk <wd@denx.de>2008-08-21 01:31:04 +0200
commit36c2d3062ecc6ab85f8e237180eb134464c48418 (patch)
tree67cfe217e923dab6797979aaffe39d4756dfd6ab /include
parent9571b84cb1423876f1153081b9e6a51d90fbcdc4 (diff)
downloadu-boot-imx-36c2d3062ecc6ab85f8e237180eb134464c48418.zip
u-boot-imx-36c2d3062ecc6ab85f8e237180eb134464c48418.tar.gz
u-boot-imx-36c2d3062ecc6ab85f8e237180eb134464c48418.tar.bz2
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>
Diffstat (limited to 'include')
-rw-r--r--include/ata.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/ata.h b/include/ata.h
index b669423..2396769 100644
--- a/include/ata.h
+++ b/include/ata.h
@@ -236,7 +236,9 @@ typedef struct hd_driveid {
unsigned short words130_155[26];/* reserved vendor words 130-155 */
unsigned short word156;
unsigned short words157_159[3];/* reserved vendor words 157-159 */
- unsigned short words160_255[95];/* reserved words 160-255 */
+ unsigned short words160_162[3];/* reserved words 160-162 */
+ unsigned short cf_advanced_caps;
+ unsigned short words164_255[92];/* reserved words 164-255 */
} hd_driveid_t;