projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
pantheon: define CONFIG_SYS_CACHELINE_SIZE
[oweals/u-boot.git]
/
post
/
lib_powerpc
/
rlwimi.c
diff --git
a/post/lib_powerpc/rlwimi.c
b/post/lib_powerpc/rlwimi.c
index fd628b31f966620b6895f0a10e6ef1d3572f80ed..15d96aca7b3455dddd4c908d6999ea5ac17ab1a5 100644
(file)
--- a/
post/lib_powerpc/rlwimi.c
+++ b/
post/lib_powerpc/rlwimi.c
@@
-62,8
+62,7
@@
static struct cpu_post_rlwimi_s
0xffaaffff
},
};
-static unsigned int cpu_post_rlwimi_size =
- sizeof (cpu_post_rlwimi_table) / sizeof (struct cpu_post_rlwimi_s);
+static unsigned int cpu_post_rlwimi_size = ARRAY_SIZE(cpu_post_rlwimi_table);
int cpu_post_test_rlwimi (void)
{