[SLOF] [PATCH 5/5] loaders: Remove netflash command
Nikunj A Dadhania
nikunj at linux.vnet.ibm.com
Fri Apr 29 17:37:48 AEST 2016
Thomas Huth <thuth at redhat.com> writes:
> 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>
Reviewed-by: Nikunj A Dadhania <nikunj at linux.vnet.ibm.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
>
> _______________________________________________
> SLOF mailing list
> SLOF at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/slof
More information about the SLOF
mailing list