projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
patman: fix end of changes detection
[oweals/u-boot.git]
/
post
/
lib_powerpc
/
threei.c
diff --git
a/post/lib_powerpc/threei.c
b/post/lib_powerpc/threei.c
index 31953f93543498f1f9d84748001c16ca947af5d5..95b6322687ce6e573d2a3dbd83d631341663da1a 100644
(file)
--- a/
post/lib_powerpc/threei.c
+++ b/
post/lib_powerpc/threei.c
@@
-75,8
+75,7
@@
static struct cpu_post_threei_s
0xffff8000
},
};
-static unsigned int cpu_post_threei_size =
- sizeof (cpu_post_threei_table) / sizeof (struct cpu_post_threei_s);
+static unsigned int cpu_post_threei_size = ARRAY_SIZE(cpu_post_threei_table);
int cpu_post_test_threei (void)
{