[SLOF] [PATCH 5/5] loaders: Remove netflash command
Thomas Huth
thuth at redhat.com
Fri Apr 29 17:01:20 AEST 2016
The old netflash code is not available in the net-snk anymore,
so it does not make sense to keep the Forth wrapper around.
Anyway, "update-flash -f net:..." can be used nowadays instead.
Signed-off-by: Thomas Huth <thuth at redhat.com>
---
clients/net-snk/app/netapps/netapps.h | 1 -
slof/fs/loaders.fs | 4 ----
2 files changed, 5 deletions(-)
diff --git a/clients/net-snk/app/netapps/netapps.h b/clients/net-snk/app/netapps/netapps.h
index 18e607f..20879c5 100644
--- a/clients/net-snk/app/netapps/netapps.h
+++ b/clients/net-snk/app/netapps/netapps.h
@@ -20,7 +20,6 @@
int netboot(int argc, char *argv[]);
int netsave(int argc, char *argv[]);
-int netflash(int argc, char *argv[]);
int bcmflash(int argc, char *argv[]);
int mac_sync(int argc, char *argv[]);
int net_eeprom_version( void );
diff --git a/slof/fs/loaders.fs b/slof/fs/loaders.fs
index 276ba6b..1478c70 100644
--- a/slof/fs/loaders.fs
+++ b/slof/fs/loaders.fs
@@ -60,10 +60,6 @@ CREATE load-list 2 cells allot load-list 2 cells erase
: .client-exec ( arg len -- rc ) set-bootargs (client-exec) ;
' .client-exec to client-exec
-: netflash ( -- rc ) s" netflash 2000000 " (parse-line) $cat set-netbootpath
- client-exec
-;
-
: netsave ( "addr len {filename}[,params]" -- rc )
(parse-line) dup 0> IF
s" netsave " 2swap $cat set-netbootpath client-exec
--
1.8.3.1
More information about the SLOF
mailing list