Skip to contentSkip to conversation

eNET: Fix undefined reference to `monitor_flash_len'

PATCH New Graeme Russ 1 participant 2 messages Apr 4, 2011 – Apr 8, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

---
 board/eNET/eNET.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
board/eNET/eNET.c +2 -0
index dd0ce54..2a5636c 100644
@@ -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);
Signature · 1 line
1.7.1.422.g049e9
#1 lore raw

PATCH 1/1 eNET: Fix undefined reference to `monitor_flash_len'

Quoted 9 lines · Graeme Russ

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

---
 board/eNET/eNET.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

Applied to u-boot-x86, master branch, thanks.

Regards,

Graeme Russ