提交 2e583d6c 编写于 作者: S Stefan Roese

ppc4xx: Fix compilation problem in 405 cache POST test

Signed-off-by: NStefan Roese <sr@denx.de>
上级 42d55ea0
...@@ -61,6 +61,7 @@ int cache_post_test (int flags) ...@@ -61,6 +61,7 @@ int cache_post_test (int flags)
void *virt = (void *)CFG_POST_CACHE_ADDR; void *virt = (void *)CFG_POST_CACHE_ADDR;
int ints; int ints;
int res = 0; int res = 0;
int tlb = -1; /* index to the victim TLB entry */
/* /*
* All 44x variants deal with cache management differently * All 44x variants deal with cache management differently
...@@ -70,7 +71,6 @@ int cache_post_test (int flags) ...@@ -70,7 +71,6 @@ int cache_post_test (int flags)
*/ */
#ifdef CONFIG_440 #ifdef CONFIG_440
int word0, i; int word0, i;
int tlb; /* index to the victim TLB entry */
/* /*
* Allocate a new TLB entry, since we are going to modify * Allocate a new TLB entry, since we are going to modify
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册