summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2017-04-18 22:26:35 -0400
committerTom Rini <trini@konsulko.com>2017-05-09 09:11:04 -0400
commit85ea850976daea57c8045f3569566fad5ce9fe0f (patch)
treebc8f3423eca938d212a763d8e03ebbedf9822382
parent78df5e1ed0b6bf6919339d625abccea405d29167 (diff)
p1_p2_rdb: Fix unused variable warning
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>
-rw-r--r--board/freescale/p1_p2_rdb_pc/spl.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/board/freescale/p1_p2_rdb_pc/spl.c b/board/freescale/p1_p2_rdb_pc/spl.c
index 1cf3497aa6..ca7ba5754e 100644
--- 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;