bios/dataflow: use freeze register

This commit is contained in:
Sebastien Bourdeauducq 2012-08-04 23:39:29 +02:00
parent a5d6ced181
commit 5ef8d5f534
1 changed files with 3 additions and 3 deletions

View File

@ -19,9 +19,8 @@ void print_isd_info(unsigned int baseaddr)
neps = regs[2]; neps = regs[2];
nbytes = (regs[3] + 7)/8; nbytes = (regs[3] + 7)/8;
// regs[4] is reset regs[4] = 1; // freeze
offset = 6; // regs[5] is reset
offset = 5;
for(i=0;i<neps;i++) { for(i=0;i<neps;i++) {
ack_count = 0; ack_count = 0;
for(j=0;j<nbytes;j++) { for(j=0;j<nbytes;j++) {
@ -39,4 +38,5 @@ void print_isd_info(unsigned int baseaddr)
cur_status & 1 ? "stb" : " ", cur_status & 1 ? "stb" : " ",
cur_status & 2 ? "ack" : " "); cur_status & 2 ? "ack" : " ");
} }
regs[4] = 0; // unfreeze
} }