From patchwork Fri Jul 15 08:09:31 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Jones X-Patchwork-Id: 104762 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 530A4B6F54 for ; Fri, 15 Jul 2011 18:20:09 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E32CD28082; Fri, 15 Jul 2011 10:20:07 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iEs996qj9Ynx; Fri, 15 Jul 2011 10:20:07 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 06E4C28084; Fri, 15 Jul 2011 10:20:06 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 50D1F28084 for ; Fri, 15 Jul 2011 10:20:02 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mFHOZOaH1ZT6 for ; Fri, 15 Jul 2011 10:20:01 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail2.matrix-vision.com (mail2.matrix-vision.com [85.214.244.251]) by theia.denx.de (Postfix) with ESMTPS id 9CFDA28082 for ; Fri, 15 Jul 2011 10:20:00 +0200 (CEST) Received: from mail2.matrix-vision.com (localhost [127.0.0.1]) by mail2.matrix-vision.com (Postfix) with ESMTP id 1D26B40617 for ; Fri, 15 Jul 2011 10:10:03 +0200 (CEST) Received: from erinome (g2.matrix-vision.com [80.152.136.245]) by mail2.matrix-vision.com (Postfix) with ESMTPA id C52F43F613 for ; Fri, 15 Jul 2011 10:10:02 +0200 (CEST) Received: from erinome (localhost [127.0.0.1]) by erinome (Postfix) with ESMTP id 9E0BB6F8A for ; Fri, 15 Jul 2011 10:10:01 +0200 (CEST) Received: by erinome (Postfix, from userid 108) id 937686F9C; Fri, 15 Jul 2011 10:10:01 +0200 (CEST) Received: from ap437-joe.intern.matrix-vision.de (host65-46.intern.matrix-vision.de [192.168.65.46]) by erinome (Postfix) with ESMTPA id 797736F8A for ; Fri, 15 Jul 2011 10:10:01 +0200 (CEST) From: Michael Jones To: u-boot@lists.denx.de Date: Fri, 15 Jul 2011 10:09:31 +0200 Message-Id: <1310717371-1677-5-git-send-email-michael.jones@matrix-vision.de> X-Mailer: git-send-email 1.7.5.4 In-Reply-To: <1310717371-1677-1-git-send-email-michael.jones@matrix-vision.de> References: <1310717371-1677-1-git-send-email-michael.jones@matrix-vision.de> X-MV-Disclaimer: true (erinome) X-AV-Checked: ClamAV using ClamSMTP (erinome) X-AV-Checked: ClamAV using ClamSMTP (mail2) Subject: [U-Boot] [PATCH 4/4] cmd_mac: fix help for 'mac read' X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.9 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de In the only implementation of 'mac read', it doesn't display the contents of the eeprom as the help indicated unless compiled with DEBUG. It only re-reads the contents of the EEPROM into memory. Displaying the contents of the EEPROM is done by passing no arguments to 'mac'. Signed-off-by: Michael Jones Acked-by: Detlev Zundel --- common/cmd_mac.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/common/cmd_mac.c b/common/cmd_mac.c index 0f924b7..fcc2867 100644 --- a/common/cmd_mac.c +++ b/common/cmd_mac.c @@ -31,7 +31,7 @@ U_BOOT_CMD( "display and program the system ID and MAC addresses in EEPROM", "[read|save|id|num|errata|date|ports|0|1|2|3|4|5|6|7]\n" "mac read\n" - " - show content of EEPROM\n" + " - read EEPROM content into memory\n" "mac save\n" " - save to the EEPROM\n" "mac id\n"