]> git.sur5r.net Git - u-boot/commitdiff
eNET: Fix undefined reference to `monitor_flash_len'
authorGraeme Russ <graeme.russ@gmail.com>
Mon, 4 Apr 2011 05:18:59 +0000 (15:18 +1000)
committerGraeme Russ <graeme.russ@gmail.com>
Fri, 8 Apr 2011 05:02:36 +0000 (15:02 +1000)
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>
board/eNET/eNET.c

index dd0ce545163ae33c7fea51009a4b9eae370cefa3..2a5636c0737360bbbac273b2e2a7c41057988202 100644 (file)
@@ -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);