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
/
threex.c
diff --git
a/post/lib_powerpc/threex.c
b/post/lib_powerpc/threex.c
index 350a12ae78ca56726870078415d31e915df86fc9..7769218ba9ebf5777d77c02057b5e61b6168688c 100644
(file)
--- a/
post/lib_powerpc/threex.c
+++ b/
post/lib_powerpc/threex.c
@@
-125,8
+125,7
@@
static struct cpu_post_threex_s
0x1000
},
};
-static unsigned int cpu_post_threex_size =
- sizeof (cpu_post_threex_table) / sizeof (struct cpu_post_threex_s);
+static unsigned int cpu_post_threex_size = ARRAY_SIZE(cpu_post_threex_table);
int cpu_post_test_threex (void)
{