projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'master' of git://git.denx.de/u-boot-nios
[platform/kernel/u-boot.git]
/
post
/
lib_powerpc
/
load.c
diff --git
a/post/lib_powerpc/load.c
b/post/lib_powerpc/load.c
index
98d4373
..
49924f2
100644
(file)
--- a/
post/lib_powerpc/load.c
+++ b/
post/lib_powerpc/load.c
@@
-171,8
+171,7
@@
static struct cpu_post_load_s
1
},
};
-static unsigned int cpu_post_load_size =
- sizeof (cpu_post_load_table) / sizeof (struct cpu_post_load_s);
+static unsigned int cpu_post_load_size = ARRAY_SIZE(cpu_post_load_table);
int cpu_post_test_load (void)
{