[Blackfin][PATCH] Fix dynamic CPLB generation issue

This commit is contained in:
Aubrey Li
2007-04-05 18:33:04 +08:00
parent 0445e3a264
commit 7b7e30aa64
5 changed files with 23 additions and 906 deletions

View File

@@ -93,7 +93,7 @@ void icache_enable(void)
/* Fill the rest with invalid entry */
if (j <= 15) {
for (; j <= 16; j++) {
for (; j < 16; j++) {
debug("filling %i with 0", j);
*I1++ = 0x0;
}
@@ -169,7 +169,7 @@ void dcache_enable(void)
/* Fill the rest with invalid entry */
if (j <= 15) {
for (; j <= 16; j++) {
for (; j < 16; j++) {
debug("filling %i with 0", j);
*I1++ = 0x0;
}