From patchwork Fri Apr 29 07:01:20 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Huth X-Patchwork-Id: 616626 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3qx4PD2gtNz9t4b for ; Fri, 29 Apr 2016 17:01:36 +1000 (AEST) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 3qx4PD1qdwzDqBM for ; Fri, 29 Apr 2016 17:01:36 +1000 (AEST) X-Original-To: slof@lists.ozlabs.org Delivered-To: slof@lists.ozlabs.org Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3qx4P44WrBzDqBM for ; Fri, 29 Apr 2016 17:01:28 +1000 (AEST) Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 27AD383F45 for ; Fri, 29 Apr 2016 07:01:27 +0000 (UTC) Received: from thh440s.fritz.box (vpn1-5-227.ams2.redhat.com [10.36.5.227]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u3T71KQH013693 for ; Fri, 29 Apr 2016 03:01:26 -0400 From: Thomas Huth To: slof@lists.ozlabs.org Date: Fri, 29 Apr 2016 09:01:20 +0200 Message-Id: <1461913280-29906-6-git-send-email-thuth@redhat.com> In-Reply-To: <1461913280-29906-1-git-send-email-thuth@redhat.com> References: <1461913280-29906-1-git-send-email-thuth@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 Subject: [SLOF] [PATCH 5/5] loaders: Remove netflash command X-BeenThere: slof@lists.ozlabs.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Patches for https://github.com/aik/SLOF" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: slof-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "SLOF" 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 Reviewed-by: Nikunj A Dadhania --- 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