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
/
andi.c
diff --git
a/post/lib_powerpc/andi.c
b/post/lib_powerpc/andi.c
index 52ec7c4d4e919c384bd3b62e3a9636d3399d34e2..2791cd73b1033a0567fccc21f3b8b7fdc83406a9 100644
(file)
--- a/
post/lib_powerpc/andi.c
+++ b/
post/lib_powerpc/andi.c
@@
-61,8
+61,7
@@
static struct cpu_post_andi_s
0x80000000
},
};
-static unsigned int cpu_post_andi_size =
- sizeof (cpu_post_andi_table) / sizeof (struct cpu_post_andi_s);
+static unsigned int cpu_post_andi_size = ARRAY_SIZE(cpu_post_andi_table);
int cpu_post_test_andi (void)
{