summaryrefslogtreecommitdiff
path: root/cpu/bf533/cpu.c
diff options
context:
space:
mode:
authorAubrey Li <aubrey.adi@gmail.com>2007-04-05 18:33:04 +0800
committerAubrey Li <aubrey.adi@gmail.com>2007-04-05 18:33:04 +0800
commit7b7e30aa64bb6657a1bfd32fdbdbfeb561e6a48d (patch)
tree1c34a335d41275ab9124f472d1f632fbad239b34 /cpu/bf533/cpu.c
parent0445e3a264251d75b1be45ef713c70726a2952f0 (diff)
downloadu-boot-imx-7b7e30aa64bb6657a1bfd32fdbdbfeb561e6a48d.zip
u-boot-imx-7b7e30aa64bb6657a1bfd32fdbdbfeb561e6a48d.tar.gz
u-boot-imx-7b7e30aa64bb6657a1bfd32fdbdbfeb561e6a48d.tar.bz2
[Blackfin][PATCH] Fix dynamic CPLB generation issue
Diffstat (limited to 'cpu/bf533/cpu.c')
-rw-r--r--cpu/bf533/cpu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu/bf533/cpu.c b/cpu/bf533/cpu.c
index 8b2cd71..8118861 100644
--- a/cpu/bf533/cpu.c
+++ b/cpu/bf533/cpu.c
@@ -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;
}