diff mbox

[U-Boot] eNET: Fix undefined reference to `monitor_flash_len'

Message ID 1301894991-22083-1-git-send-email-graeme.russ@gmail.com
State Accepted
Commit e9bf8877dae5e818e27d6949f3410a4e31efc2d0
Delegated to: Graeme Russ
Headers show

Commit Message

Graeme Russ April 4, 2011, 5:29 a.m. UTC
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 |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

Comments

Graeme Russ April 8, 2011, 6:16 a.m. UTC | #1
On 04/04/11 15:29, Graeme Russ wrote:
> 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 |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 

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

Regards,

Graeme Russ
diff mbox

Patch

diff --git a/board/eNET/eNET.c b/board/eNET/eNET.c
index dd0ce54..2a5636c 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);