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
/
rlwnm.c
diff --git
a/post/lib_powerpc/rlwnm.c
b/post/lib_powerpc/rlwnm.c
index 60bcb6d26c072c0ddc8f037c18c3ff49ecae0706..764fe0c5df9cbbb9b88a58a860a1d8adf966b860 100644
(file)
--- a/
post/lib_powerpc/rlwnm.c
+++ b/
post/lib_powerpc/rlwnm.c
@@
-60,8
+60,7
@@
static struct cpu_post_rlwnm_s
0x0000ff00
},
};
-static unsigned int cpu_post_rlwnm_size =
- sizeof (cpu_post_rlwnm_table) / sizeof (struct cpu_post_rlwnm_s);
+static unsigned int cpu_post_rlwnm_size = ARRAY_SIZE(cpu_post_rlwnm_table);
int cpu_post_test_rlwnm (void)
{