Compare commits
1 Commits
master
...
hacks/make
Author | SHA1 | Date |
---|---|---|
Holger Hans Peter Freyther | f85ebc5aae |
7
nand.c
7
nand.c
|
@ -508,7 +508,12 @@ nand_set_a1cr(uint8_t manID, uint8_t deviceID)
|
||||||
break;
|
break;
|
||||||
/* Toshiba */
|
/* Toshiba */
|
||||||
case 0x98:
|
case 0x98:
|
||||||
AEMIF->A1CR = 0x102442DC;
|
/*
|
||||||
|
* Factor 10 slower for R/W strobe than the current values. Seems
|
||||||
|
* to improve stability with mount/rm/umount/mount/write/umount
|
||||||
|
* cycle. Need to calculate good values based on the datasheet.
|
||||||
|
*/
|
||||||
|
AEMIF->A1CR = 0x20FEE7FC;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
log_info( "Unsupported NAND device" );
|
log_info( "Unsupported NAND device" );
|
||||||
|
|
Loading…
Reference in New Issue