From patchwork Wed Nov 28 11:48:08 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Genoud X-Patchwork-Id: 202437 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 6D2ED2C0082 for ; Wed, 28 Nov 2012 22:49:29 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E46344A154; Wed, 28 Nov 2012 12:49:05 +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 3pEcGFwBkjv8; Wed, 28 Nov 2012 12:49:05 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 3297D4A156; Wed, 28 Nov 2012 12:48:47 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 31DA74A13E for ; Wed, 28 Nov 2012 12:48:44 +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 KKbRam5I-6Cb for ; Wed, 28 Nov 2012 12:48:43 +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-wi0-f180.google.com (mail-wi0-f180.google.com [209.85.212.180]) by theia.denx.de (Postfix) with ESMTPS id A113E4A144 for ; Wed, 28 Nov 2012 12:48:35 +0100 (CET) Received: by mail-wi0-f180.google.com with SMTP id hn14so4223449wib.9 for ; Wed, 28 Nov 2012 03:48:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=YzUv3KN59KLtR83LZWLQmXoocdE2JzFdcxKUZ2KJ938=; b=CeUDB9QRpZOjwANoLtXnCI28yqkVZP95jW5u+U1dsz1lOmfQzuu+CFKhzW/Q91aCkV RGrIWCIK6AavtJ4X0gDKh39SCjN4SQxRqga0xV5A/D54qcZorO7x9FfFuzRNRTt3jnfB yRjaYK75In2pAqoeRQuH/z5QaOQVIZASyr8Pk+fpqEd+h4ylyjYfYzK4zbn0JVVth7FZ +GsCenREZhVVss/VprT/vpfa8jm82BREBF6o1ddvD4TMD+AX39YILNuCndphgADy9B4q btgjCDZPiGIfKNjn+pgpQsvgm6AT0W+k9Ppdp9G61Xvs5y0s0BtgPox7P87BLqlcw0JI 0fEw== Received: by 10.180.86.39 with SMTP id m7mr31477199wiz.1.1354103314622; Wed, 28 Nov 2012 03:48:34 -0800 (PST) Received: from localhost.localdomain (lyon.paratronic.fr. [213.41.177.106]) by mx.google.com with ESMTPS id fq6sm6669556wib.7.2012.11.28.03.48.33 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 28 Nov 2012 03:48:34 -0800 (PST) From: Richard Genoud To: =?UTF-8?q?Andreas=20Bie=C3=9Fmann?= Date: Wed, 28 Nov 2012 12:48:08 +0100 Message-Id: <1354103289-967-4-git-send-email-richard.genoud@gmail.com> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1354103289-967-1-git-send-email-richard.genoud@gmail.com> References: <1354103289-967-1-git-send-email-richard.genoud@gmail.com> Cc: u-boot@lists.denx.de, Bo Shen Subject: [U-Boot] [PATCHv2 3/4] at91sam9x5ek: regroup FAT/DOS features 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: Richard Genoud --- include/configs/at91sam9x5ek.h | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/include/configs/at91sam9x5ek.h b/include/configs/at91sam9x5ek.h index 71f765b..5e5f9c1 100644 --- a/include/configs/at91sam9x5ek.h +++ b/include/configs/at91sam9x5ek.h @@ -90,6 +90,7 @@ #define CONFIG_CMD_NAND #define CONFIG_CMD_SF #define CONFIG_CMD_MMC +#define CONFIG_CMD_FAT /* SDRAM */ #define CONFIG_NR_DRAM_BANKS 1 @@ -142,9 +143,12 @@ /* MMC */ #ifdef CONFIG_CMD_MMC #define CONFIG_MMC -#define CONFIG_CMD_FAT #define CONFIG_GENERIC_MMC #define CONFIG_GENERIC_ATMEL_MCI +#endif + +/* FAT */ +#ifdef CONFIG_CMD_FAT #define CONFIG_DOS_PARTITION #endif