projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42d55ea
)
ppc4xx: Fix compilation problem in 405 cache POST test
author
Stefan Roese
<sr@denx.de>
Wed, 26 Dec 2007 19:20:19 +0000
(20:20 +0100)
committer
Stefan Roese
<sr@denx.de>
Thu, 27 Dec 2007 18:35:35 +0000
(19:35 +0100)
Signed-off-by: Stefan Roese <sr@denx.de>
post/cpu/ppc4xx/cache.c
patch
|
blob
|
history
diff --git
a/post/cpu/ppc4xx/cache.c
b/post/cpu/ppc4xx/cache.c
index c8ddf35a08480054ce37a9868457c44d9094ce25..c86a1506927850974f74e7bdfbc883b57360da8a 100644
(file)
--- a/
post/cpu/ppc4xx/cache.c
+++ b/
post/cpu/ppc4xx/cache.c
@@
-61,6
+61,7
@@
int cache_post_test (int flags)
void *virt = (void *)CFG_POST_CACHE_ADDR;
int ints;
int res = 0;
+ int tlb = -1; /* index to the victim TLB entry */
/*
* All 44x variants deal with cache management differently
@@
-70,7
+71,6
@@
int cache_post_test (int flags)
*/
#ifdef CONFIG_440
int word0, i;
- int tlb; /* index to the victim TLB entry */
/*
* Allocate a new TLB entry, since we are going to modify