summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2011-09-05 05:26:27 +0000
committerWolfgang Denk <wd@denx.de>2011-09-07 22:02:07 +0200
commit6f0d7ae26564a9beb429bb72b2ccf65e73816835 (patch)
tree3edd9c04dd6ad5f96e15dcf55eb5480fb2c6dab0 /board
parentb66521a6c1f6721cd7c5857718f3dfe585fb6594 (diff)
downloadu-boot-imx-6f0d7ae26564a9beb429bb72b2ccf65e73816835.zip
u-boot-imx-6f0d7ae26564a9beb429bb72b2ccf65e73816835.tar.gz
u-boot-imx-6f0d7ae26564a9beb429bb72b2ccf65e73816835.tar.bz2
da8xxevm: Fix warning: unused variable 'val'
Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net> Cc: Sandeep Paulraj <s-paulraj@ti.com> Cc: Sudhakar Rajashekhara <sudhakar.raj@ti.com>
Diffstat (limited to 'board')
-rw-r--r--board/davinci/da8xxevm/da850evm.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/board/davinci/da8xxevm/da850evm.c b/board/davinci/da8xxevm/da850evm.c
index 2f950e7..46924d3 100644
--- a/board/davinci/da8xxevm/da850evm.c
+++ b/board/davinci/da8xxevm/da850evm.c
@@ -280,12 +280,14 @@ u32 get_board_rev(void)
int board_init(void)
{
+#ifdef CONFIG_USE_NOR
u32 val;
+#endif
+
#ifndef CONFIG_USE_IRQ
irq_init();
#endif
-
#ifdef CONFIG_NAND_DAVINCI
/*
* NAND CS setup - cycle counts based on da850evm NAND timings in the