projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78df5e1
)
p1_p2_rdb: Fix unused variable warning
author
Tom Rini
<trini@konsulko.com>
Wed, 19 Apr 2017 02:26:35 +0000
(22:26 -0400)
committer
Tom Rini
<trini@konsulko.com>
Tue, 9 May 2017 13:11:04 +0000
(09:11 -0400)
With gcc-6 we see a warning that sysclk_tbl is defined but unused, so
remove it.
Cc: York Sun <york.sun@nxp.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: York Sun <york.sun@nxp.com>
board/freescale/p1_p2_rdb_pc/spl.c
patch
|
blob
|
history
diff --git
a/board/freescale/p1_p2_rdb_pc/spl.c
b/board/freescale/p1_p2_rdb_pc/spl.c
index 1cf3497aa688a62ba85fb0df3bbf2c0424a4419e..ca7ba5754e25b309e9ae73a54d268c2642c28ee2 100644
(file)
--- a/
board/freescale/p1_p2_rdb_pc/spl.c
+++ b/
board/freescale/p1_p2_rdb_pc/spl.c
@@
-17,11
+17,6
@@
DECLARE_GLOBAL_DATA_PTR;
-static const u32 sysclk_tbl[] = {
- 66666000, 7499900, 83332500, 8999900,
- 99999000, 11111000, 12499800, 13333200
-};
-
phys_size_t get_effective_memsize(void)
{
return CONFIG_SYS_L2_SIZE;