summaryrefslogtreecommitdiff
path: root/board/eNET/eNET.c
diff options
context:
space:
mode:
authorGraeme Russ <graeme.russ@gmail.com>2011-04-04 15:18:59 +1000
committerGraeme Russ <graeme.russ@gmail.com>2011-04-08 15:02:36 +1000
commite9bf8877dae5e818e27d6949f3410a4e31efc2d0 (patch)
tree1da0109047cd1f2caeb1010765959d5168197236 /board/eNET/eNET.c
parent4db2fa7f9446d0f2fe8db3d62184b1212fe22707 (diff)
eNET: Fix undefined reference to `monitor_flash_len'
commit cfbe861506e2dc3250ac99dc45bb3d1ac60f4857 removed the definition of monitor_flash_len from the eNET which was not picked up due to extensive use of the SRAM configuration target for testing Signed-off-by: Graeme Russ <graeme.russ@gmail.com>
Diffstat (limited to 'board/eNET/eNET.c')
-rw-r--r--board/eNET/eNET.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/eNET/eNET.c b/board/eNET/eNET.c
index dd0ce54516..2a5636c073 100644
--- a/board/eNET/eNET.c
+++ b/board/eNET/eNET.c
@@ -35,6 +35,8 @@
DECLARE_GLOBAL_DATA_PTR;
+unsigned long monitor_flash_len = CONFIG_SYS_MONITOR_LEN;
+
static void enet_timer_isr(void);
static void enet_toggle_run_led(void);
static void enet_setup_pars(void);