1 Feb 2009 10:08
Toni: r19893 - trunk/firmware/target/arm
<mailer <at> svn.rockbox.org>
2009-02-01 09:08:12 GMT
2009-02-01 09:08:12 GMT
Date: 2009-02-01 10:08:12 +0100 (Sun, 01 Feb 2009) New Revision: 19893 Log Message: First step in committing the results of FS#8663: Introduce more descriptive register and bit definitions. No functional change here. Thanks to Martin Ritter for his investigations. Modified: trunk/firmware/target/arm/ata-sd-pp.c Modified: trunk/firmware/target/arm/ata-sd-pp.c =================================================================== --- trunk/firmware/target/arm/ata-sd-pp.c 2009-01-31 23:51:11 UTC (rev 19892) +++ trunk/firmware/target/arm/ata-sd-pp.c 2009-02-01 09:08:12 UTC (rev 19893) <at> <at> -38,33 +38,91 <at> <at> #define SECTOR_SIZE 512 #define BLOCKS_PER_BANK 0x7a7800 -#define STATUS_REG (*(volatile unsigned int *)(0x70008204)) -#define REG_1 (*(volatile unsigned int *)(0x70008208)) -#define UNKNOWN (*(volatile unsigned int *)(0x70008210)) -#define BLOCK_SIZE_REG (*(volatile unsigned int *)(0x7000821c)) -#define BLOCK_COUNT_REG (*(volatile unsigned int *)(0x70008220)) -#define REG_5 (*(volatile unsigned int *)(0x70008224)) -#define CMD_REG0 (*(volatile unsigned int *)(0x70008228)) -#define CMD_REG1 (*(volatile unsigned int *)(0x7000822c)) -#define CMD_REG2 (*(volatile unsigned int *)(0x70008230)) -#define RESPONSE_REG (*(volatile unsigned int *)(0x70008234)) -#define SD_STATE_REG (*(volatile unsigned int *)(0x70008238))(Continue reading)
RSS Feed