From patchwork Mon Nov 18 15:36:23 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 292129 X-Patchwork-Delegate: trini@ti.com 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 6DD562C00CE for ; Tue, 19 Nov 2013 02:36:42 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 30C3B4B238; Mon, 18 Nov 2013 16:36:39 +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 S6fkXIGMhtY5; Mon, 18 Nov 2013 16:36:39 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D0F4C4B301; Mon, 18 Nov 2013 16:36:36 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 620FD4B301 for ; Mon, 18 Nov 2013 16:36:35 +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 YKxONG1S1VqX for ; Mon, 18 Nov 2013 16:36:29 +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-qa0-f54.google.com (mail-qa0-f54.google.com [209.85.216.54]) by theia.denx.de (Postfix) with ESMTPS id 64ECC4B238 for ; Mon, 18 Nov 2013 16:36:22 +0100 (CET) Received: by mail-qa0-f54.google.com with SMTP id f11so1304731qae.20 for ; Mon, 18 Nov 2013 07:36:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:date:message-id; bh=9THo4ZyBJnna/hqjJfiMMo8VFY3AFH9XQbERdkduZ/Y=; b=J33/fizQMMsnnzCSrS+M/1gtpGi1XUFJYrq/EWi3vA6aufu6vgFurM1T/su7s58cob ScHItAPNOSxHYsN8zyV1FuLaSL7xpi+q9uFHRMkms60A8WqF3UoRRC1Q0YJZrwXVJVIv xpuqTCf3/9A1wYyALOaorj6iFJqJkHg1PxcfurqjmN8FJzWKpMQ8qurCcKC1JiaCJDyN auFsiYrA9DfZ70RK+FYU6VgSR/RlBO0F19z4JuoNjEKbA/MaqecN/MSt0pmppM3/fsS3 BLfVQ8QypcWpxtwk84Ll817e5GCfMfElJH+4CtF9n8LPNwZ3juhw1mOv3BBjShi0giAd ZfoA== X-Received: by 10.224.4.70 with SMTP id 6mr33784477qaq.86.1384788979755; Mon, 18 Nov 2013 07:36:19 -0800 (PST) Received: from localhost.localdomain (cpe-174-106-216-211.ec.res.rr.com. [174.106.216.211]) by mx.google.com with ESMTPSA id q15sm40999496qac.12.2013.11.18.07.36.18 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 18 Nov 2013 07:36:18 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Date: Mon, 18 Nov 2013 10:36:23 -0500 Message-Id: <1384788983-21733-1-git-send-email-trini@ti.com> X-Mailer: git-send-email 1.7.9.5 Subject: [U-Boot] [PATCH] am335x_evm: Update nandboot to use partitions and DT 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 Signed-off-by: Tom Rini --- include/configs/am335x_evm.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h index f35ed6f..a1a5096 100644 --- a/include/configs/am335x_evm.h +++ b/include/configs/am335x_evm.h @@ -42,12 +42,11 @@ "dfu_alt_info_nand=" DFU_ALT_INFO_NAND "\0" \ "nandroot=ubi0:rootfs rw ubi.mtd=7,2048\0" \ "nandrootfstype=ubifs rootwait=1\0" \ - "nandsrcaddr=0x280000\0" \ - "nandboot=echo Booting from nand ...; " \ + "nandboot=echo Booting from nand ...; " \ "run nandargs; " \ - "nand read ${loadaddr} ${nandsrcaddr} ${nandimgsize}; " \ - "bootz ${loadaddr}\0" \ - "nandimgsize=0x500000\0" + "nand read ${fdtaddr} u-boot-spl-os; " \ + "nand read ${loadaddr} kernel; " \ + "bootz ${loadaddr} - ${fdtaddr}\0" #else #define NANDARGS "" #endif