From patchwork Tue Apr 17 18:50:14 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 153277 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 A1165B7047 for ; Wed, 18 Apr 2012 04:51:56 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id CFD5928091; Tue, 17 Apr 2012 20:51:27 +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 ZQem1cCb5gRF; Tue, 17 Apr 2012 20:51:27 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 9089628098; Tue, 17 Apr 2012 20:51:08 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 52D8E280AB for ; Tue, 17 Apr 2012 20:50:55 +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 b9ugI7bGX2p9 for ; Tue, 17 Apr 2012 20:50:54 +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 mail-yx0-f202.google.com (mail-yx0-f202.google.com [209.85.213.202]) by theia.denx.de (Postfix) with ESMTPS id 55CED2808C for ; Tue, 17 Apr 2012 20:50:47 +0200 (CEST) Received: by yenq2 with SMTP id q2so794982yen.3 for ; Tue, 17 Apr 2012 11:50:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=67Dsm76srVEc8X/GjiOGqTEIpr2QfCBje0uU4rPGNVk=; b=e00PQuNJtlYab3i8MMB1W/26mdiW7v3McDASLSeoj59Pdx1LGlA9VTGVHdxXxMFAnl o68dvux46kQQq1ZVzpTk8yQ+lfzRqWdKdKKcNlc72A4V8WfPl/BrFFsR/0s8HHml6xbQ 0NpYS+TRQtjFdoNEj5j2wYRHZJZO2NQ9Ivkm+KQnUqvcCbimVt6dnQED+UDQTHoHzcWw kRiKqiS+dsvKRdAAahKZBLmoUp5jM8tV4HDLLDxGXnEgzzyKJP7JUmXBWh/jfFYnYWKi IRQb67m9qabPUDNXtBJYfk5QpRhRsxWpEP3YgD1MpaefPgUkioy729VFq2vzzfO2hdqv gQuw== Received: by 10.101.23.6 with SMTP id a6mr5510036anj.7.1334688646938; Tue, 17 Apr 2012 11:50:46 -0700 (PDT) Received: by 10.101.23.6 with SMTP id a6mr5510003anj.7.1334688646558; Tue, 17 Apr 2012 11:50:46 -0700 (PDT) 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 b69si20363286yhe.0.2012.04.17.11.50.46 (version=TLSv1/SSLv3 cipher=AES128-SHA); Tue, 17 Apr 2012 11:50:46 -0700 (PDT) Received: from sglass.mtv.corp.google.com (dhcp-172-22-162-38.mtv.corp.google.com [172.22.162.38]) by wpzn3.hot.corp.google.com (Postfix) with ESMTP id 72B3210004D; Tue, 17 Apr 2012 11:50:46 -0700 (PDT) Received: by sglass.mtv.corp.google.com (Postfix, from userid 121222) id 31D36140ED3; Tue, 17 Apr 2012 11:50:46 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Date: Tue, 17 Apr 2012 11:50:14 -0700 Message-Id: <1334688614-4977-8-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 1.7.7.3 In-Reply-To: <1334688614-4977-1-git-send-email-sjg@chromium.org> References: <1334688614-4977-1-git-send-email-sjg@chromium.org> X-Gm-Message-State: ALoCoQkVlJ1hXJYEqKMIBy4JhEzZNQdB0y3+1f4AThOXTZ8ov82BHuSSQ5bVLE4DubpoAxyK3zl5FOVMudJFbCT/pAljkv0y6DopyeY36FOlYybJ1q2uFUtudi5poy+iWXyo4VYhsb9MBQXGVPw1Zodsjh9X00EGPyC7xE3GjsxT6JLTtE+4O+k= Cc: Scott Wood , Tom Warren Subject: [U-Boot] [PATCH v3 7/7] tegra: Enable NAND on Seaboard 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 This enables NAND support for the Seaboard. Signed-off-by: Simon Glass --- include/configs/seaboard.h | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/include/configs/seaboard.h b/include/configs/seaboard.h index 5d33dc5..3306622 100644 --- a/include/configs/seaboard.h +++ b/include/configs/seaboard.h @@ -105,4 +105,13 @@ #define CONFIG_USB_STORAGE #define CONFIG_CMD_USB +/* NAND support */ +#define CONFIG_CMD_NAND +#define CONFIG_TEGRA2_NAND + +/* Max number of NAND devices */ +#define CONFIG_SYS_MAX_NAND_DEVICE 1 + +/* Somewhat oddly, the NAND base address must be a config option */ +#define CONFIG_SYS_NAND_BASE TEGRA2_NAND_BASE #endif /* __CONFIG_H */