From patchwork Wed Dec 26 18:57:10 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 208201 X-Patchwork-Delegate: sjg@chromium.org 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 206512C00BF for ; Thu, 27 Dec 2012 06:01:26 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 9F68C4A15B; Wed, 26 Dec 2012 20:01:17 +0100 (CET) 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 uelG+CTjO-Ey; Wed, 26 Dec 2012 20:01:17 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id C52F84A11D; Wed, 26 Dec 2012 19:58:51 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 8AE4A4A090 for ; Wed, 26 Dec 2012 19:57:54 +0100 (CET) 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 IYPqKCFyFD7Q for ; Wed, 26 Dec 2012 19:57:52 +0100 (CET) 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 mail-gh0-f201.google.com (mail-gh0-f201.google.com [209.85.160.201]) by theia.denx.de (Postfix) with ESMTPS id 31F074A04E for ; Wed, 26 Dec 2012 19:57:34 +0100 (CET) Received: by mail-gh0-f201.google.com with SMTP id z19so615289ghb.4 for ; Wed, 26 Dec 2012 10:57:32 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references:x-gm-message-state; bh=KPw8mdhMhHVzPEh2Jj9W5SxcGPYbhhPBUt0xlq8Sxnc=; b=iYq8hncRECbEfXgtijosKj4ZoM5P6qqUQa001WTR1hEUyW3Se2MN8rnKznMk900cOO LgetlGi7sZG2718PQuJRgAo5Pwdq4agNoMmGmKhYm5i4785GnA6dPeoe7xaz5fYevgfR W/bKu/1vN8OyWkDrAYtUvb2kuFcIbwtxKbTdAtmZxkLUETD7kDD8+xFWITCH2/EOP8Zl T8QSdNjlhrCCgSefYre9n1HbYo8v7h0bVT/ixtWIMSocHRKVJtnRlNks2XFxwVDstMtM RilRLsRn4TlFVDCl9obSViQYKWZfd20mzodJeAoCfL46N3YkWvsRpj3Yoh6A2dunmnd1 Woiw== X-Received: by 10.236.69.101 with SMTP id m65mr13041368yhd.27.1356548252008; Wed, 26 Dec 2012 10:57:32 -0800 (PST) Received: from wpzn3.hot.corp.google.com (216-239-44-65.google.com [216.239.44.65]) by gmr-mx.google.com with ESMTPS id h36si1206742anq.0.2012.12.26.10.57.31 (version=TLSv1/SSLv3 cipher=AES128-SHA); Wed, 26 Dec 2012 10:57:32 -0800 (PST) Received: from kaka.mtv.corp.google.com (kaka.mtv.corp.google.com [172.22.73.79]) by wpzn3.hot.corp.google.com (Postfix) with ESMTP id D1349100049; Wed, 26 Dec 2012 10:57:31 -0800 (PST) Received: by kaka.mtv.corp.google.com (Postfix, from userid 121222) id B24B9160D91; Wed, 26 Dec 2012 10:57:31 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Date: Wed, 26 Dec 2012 10:57:10 -0800 Message-Id: <1356548233-5570-18-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 1.7.7.3 In-Reply-To: <1356548233-5570-1-git-send-email-sjg@chromium.org> References: <1356548233-5570-1-git-send-email-sjg@chromium.org> X-Gm-Message-State: ALoCoQmCTOV9SlJaW0sgpcbK0s8K2V4UrYeZA/PPghF8sdLuSUaMthJlWKFRAIZHnrJ8umQzONNwc71mr50RSLjovQC2tsawryJ9o0pNe+z5tmM1uRz7SLswq585qQWcJuBsZo6wfGZcjqJ1EkXmUuZGWTZ4TF1heuK5fdT3VQ7XpgKqxr/Qu0SiWuX/1/qQpAd8EhyIn48c Cc: Tom Rini , Joe Hershberger , Kumar Gala Subject: [U-Boot] [PATCH 17/20] sandbox: config: Enable hash functions and mtest X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 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 Enable the hash command and sha1/256 hashing for sandbox. Also use a better address for memory testing (since the existing one is set up for linux host memory space). Signed-off-by: Simon Glass --- include/configs/sandbox.h | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h index 9c431bf..9f51a0b 100644 --- a/include/configs/sandbox.h +++ b/include/configs/sandbox.h @@ -63,8 +63,8 @@ #define CONFIG_SYS_HZ 1000 /* Memory things - we don't really want a memory test */ -#define CONFIG_SYS_LOAD_ADDR 0x10000000 -#define CONFIG_SYS_MEMTEST_START 0x10000000 +#define CONFIG_SYS_LOAD_ADDR 0x00000000 +#define CONFIG_SYS_MEMTEST_START 0x00100000 #define CONFIG_SYS_MEMTEST_END (CONFIG_SYS_MEMTEST_START + 0x1000) #define CONFIG_PHYS_64BIT @@ -85,6 +85,11 @@ #undef CONFIG_CMD_NET #undef CONFIG_CMD_NFS +#define CONFIG_CMD_HASH +#define CONFIG_HASH_VERIFY +#define CONFIG_SHA1 +#define CONFIG_SHA256 + #define CONFIG_BOOTARGS "" #define CONFIG_EXTRA_ENV_SETTINGS "stdin=serial\0" \