From 2c8fa15491316ae34972c729bfe9478d500db2a7 Mon Sep 17 00:00:00 2001 From: Zhang Lihong Date: Wed, 18 Jul 2012 16:52:53 +0800 Subject: [PATCH] Extended the time of the scan "Del" button. Before the time of scan "Del" button is too short, resulted into set the bios of the interface.Now extended the time of the scan "Del" button.But in order to improve the bios of the start-up time,this option is off by default. Target:Bonito3a780e Bonito3aserver Bonito3b780e Bonito3bserver Bonito3c780e Bonito2gq780e Bonito3a2h --- Targets/Bonito2gq780e/Bonito/tgt_machdep.c | 6 +++++- Targets/Bonito2gq780e/Bonito2gq780e/Bonito/tgt_machdep.c | 6 +++++- Targets/Bonito3a2h/Bonito/tgt_machdep.c | 6 +++++- Targets/Bonito3a780e/Bonito/tgt_machdep.c | 6 +++++- Targets/Bonito3aserver/Bonito/tgt_machdep.c | 7 +++++-- Targets/Bonito3b780e/Bonito/tgt_machdep.c | 6 +++++- Targets/Bonito3bserver/Bonito/tgt_machdep.c | 7 +++++-- Targets/Bonito3c780e/Bonito/tgt_machdep.c | 6 +++++- 8 files changed, 40 insertions(+), 10 deletions(-) diff --git a/Targets/Bonito2gq780e/Bonito/tgt_machdep.c b/Targets/Bonito2gq780e/Bonito/tgt_machdep.c index 4406dc3a..809f0a9f 100644 --- a/Targets/Bonito2gq780e/Bonito/tgt_machdep.c +++ b/Targets/Bonito2gq780e/Bonito/tgt_machdep.c @@ -790,7 +790,11 @@ tgt_devconfig() } tgt_smpunlock(); - delay1(30); + //delay1(30); +/*If you want to Press to set BIOS open it(from 0 to 1)*/ +#if 0 + delay1(300); +#endif } } diff --git a/Targets/Bonito2gq780e/Bonito2gq780e/Bonito/tgt_machdep.c b/Targets/Bonito2gq780e/Bonito2gq780e/Bonito/tgt_machdep.c index 4406dc3a..809f0a9f 100644 --- a/Targets/Bonito2gq780e/Bonito2gq780e/Bonito/tgt_machdep.c +++ b/Targets/Bonito2gq780e/Bonito2gq780e/Bonito/tgt_machdep.c @@ -790,7 +790,11 @@ tgt_devconfig() } tgt_smpunlock(); - delay1(30); + //delay1(30); +/*If you want to Press to set BIOS open it(from 0 to 1)*/ +#if 0 + delay1(300); +#endif } } diff --git a/Targets/Bonito3a2h/Bonito/tgt_machdep.c b/Targets/Bonito3a2h/Bonito/tgt_machdep.c index 57d3a395..82ab15f5 100644 --- a/Targets/Bonito3a2h/Bonito/tgt_machdep.c +++ b/Targets/Bonito3a2h/Bonito/tgt_machdep.c @@ -831,7 +831,11 @@ tgt_devconfig() } tgt_smpunlock(); - delay1(30); + //delay1(30); +/*If you want to Press to set BIOS open it(from 0 to 1)*/ +#if 0 + delay1(300); +#endif } } diff --git a/Targets/Bonito3a780e/Bonito/tgt_machdep.c b/Targets/Bonito3a780e/Bonito/tgt_machdep.c index 7d46f46f..7905e5d0 100644 --- a/Targets/Bonito3a780e/Bonito/tgt_machdep.c +++ b/Targets/Bonito3a780e/Bonito/tgt_machdep.c @@ -790,7 +790,11 @@ tgt_devconfig() } tgt_smpunlock(); - delay1(30); + //delay1(30); +/*If you want to Press to set BIOS open it(from 0 to 1)*/ +#if 0 + delay1(300); +#endif } } diff --git a/Targets/Bonito3aserver/Bonito/tgt_machdep.c b/Targets/Bonito3aserver/Bonito/tgt_machdep.c index 0799073d..f1c8765c 100644 --- a/Targets/Bonito3aserver/Bonito/tgt_machdep.c +++ b/Targets/Bonito3aserver/Bonito/tgt_machdep.c @@ -827,8 +827,11 @@ void tgt_devconfig() } tgt_smpunlock(); - delay1(30); - + //delay1(30); +/*If you want to Press to set BIOS open it(from 0 to 1)*/ +#if 0 + delay1(300); +#endif } vga_available = 1; diff --git a/Targets/Bonito3b780e/Bonito/tgt_machdep.c b/Targets/Bonito3b780e/Bonito/tgt_machdep.c index 3e35003d..5f1e4307 100644 --- a/Targets/Bonito3b780e/Bonito/tgt_machdep.c +++ b/Targets/Bonito3b780e/Bonito/tgt_machdep.c @@ -816,7 +816,11 @@ tgt_devconfig() } tgt_smpunlock(); - delay1(30); + //delay1(30); +/*If you want to Press to set BIOS open it(from 0 to 1)*/ +#if 0 + delay1(300); +#endif } } diff --git a/Targets/Bonito3bserver/Bonito/tgt_machdep.c b/Targets/Bonito3bserver/Bonito/tgt_machdep.c index 70c10158..319d75b6 100644 --- a/Targets/Bonito3bserver/Bonito/tgt_machdep.c +++ b/Targets/Bonito3bserver/Bonito/tgt_machdep.c @@ -797,8 +797,11 @@ void tgt_devconfig() } tgt_smpunlock(); - delay1(30); - + //delay1(30); +/*If you want to Press to set BIOS open it(from 0 to 1)*/ +#if 0 + delay1(300); +#endif } vga_available = 1; diff --git a/Targets/Bonito3c780e/Bonito/tgt_machdep.c b/Targets/Bonito3c780e/Bonito/tgt_machdep.c index c966a73e..77ebccd8 100644 --- a/Targets/Bonito3c780e/Bonito/tgt_machdep.c +++ b/Targets/Bonito3c780e/Bonito/tgt_machdep.c @@ -818,7 +818,11 @@ tgt_devconfig() } tgt_smpunlock(); - delay1(30); + //delay1(30); +/*If you want to Press to set BIOS open it(from 0 to 1)*/ +#if 0 + delay1(300); +#endif } }