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
/
load.c
diff --git
a/post/lib_powerpc/load.c
b/post/lib_powerpc/load.c
index 98d437318c6956c8a8c5d2ddbdc150178fcc634a..49924f2edc80a7532d1c2eebbbf654ebe9ebab28 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)
{