Add NAND to ahbmemflush

This commit is contained in:
marcan 2009-03-07 06:42:07 +01:00 committed by bushing
parent a1570ace62
commit efba85b43e
2 changed files with 4 additions and 0 deletions

View File

@ -146,6 +146,9 @@ void ahb_memflush(enum AHBDEV dev)
case MEMORY:
req = 1;
break;
case NAND:
req = 8;
break;
default:
if((dev >= RAW0) && (dev <= RAWF))
{

View File

@ -11,6 +11,7 @@
enum AHBDEV {
MEMORY = 0,
NAND,
RAW0 = 0x100,
RAWF = 0x10F,
};