projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Exynos5: Add support for USB download boot mode
[oweals/u-boot.git]
/
include
/
ata.h
diff --git
a/include/ata.h
b/include/ata.h
index b51475da814e99b0e40f9ecc6d01c4a6ec0fe2c2..a614724b8e9313ff35e92bade501e4613efc0616 100644
(file)
--- a/
include/ata.h
+++ b/
include/ata.h
@@
-82,7
+82,9
@@
/*
* Device / Head Register Bits
*/
/*
* Device / Head Register Bits
*/
+#ifndef ATA_DEVICE
#define ATA_DEVICE(x) ((x & 1)<<4)
#define ATA_DEVICE(x) ((x & 1)<<4)
+#endif /* ATA_DEVICE */
#define ATA_LBA 0xE0
/*
#define ATA_LBA 0xE0
/*
@@
-112,6
+114,9
@@
#define ATA_CMD_WRITE_EXT 0x34 /* Write Sectores (with retries) with 48bit addressing */
#define ATA_CMD_VRFY_EXT 0x42 /* Read Verify (with retries) with 48bit addressing */
#define ATA_CMD_WRITE_EXT 0x34 /* Write Sectores (with retries) with 48bit addressing */
#define ATA_CMD_VRFY_EXT 0x42 /* Read Verify (with retries) with 48bit addressing */
+#define ATA_CMD_FLUSH 0xE7 /* Flush drive cache */
+#define ATA_CMD_FLUSH_EXT 0xEA /* Flush drive cache, with 48bit addressing */
+
/*
* ATAPI Commands
*/
/*
* ATAPI Commands
*/