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
/
cmp.c
diff --git
a/post/lib_powerpc/cmp.c
b/post/lib_powerpc/cmp.c
index 5f6a3b904666ac9ea1b0af5adb166ede5f36d5c2..ae5b72b2c6ec6baebc689454a130800269fce6ec 100644
(file)
--- a/
post/lib_powerpc/cmp.c
+++ b/
post/lib_powerpc/cmp.c
@@
-95,8
+95,7
@@
static struct cpu_post_cmp_s
0x04
},
};
-static unsigned int cpu_post_cmp_size =
- sizeof (cpu_post_cmp_table) / sizeof (struct cpu_post_cmp_s);
+static unsigned int cpu_post_cmp_size = ARRAY_SIZE(cpu_post_cmp_table);
int cpu_post_test_cmp (void)
{