From patchwork Tue Mar 20 09:13:18 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andreas_Bie=C3=9Fmann?= X-Patchwork-Id: 147770 X-Patchwork-Delegate: afleming@freescale.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 0D29CB6EEF for ; Tue, 20 Mar 2012 20:13:37 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E025428085; Tue, 20 Mar 2012 10:13:34 +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 LTd07hph6k9e; Tue, 20 Mar 2012 10:13:34 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id DB63B2807E; Tue, 20 Mar 2012 10:13:33 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 86C7B2807E for ; Tue, 20 Mar 2012 10:13:31 +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 imQIfNO6pajt for ; Tue, 20 Mar 2012 10:13:30 +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-bk0-f44.google.com (mail-bk0-f44.google.com [209.85.214.44]) by theia.denx.de (Postfix) with ESMTPS id D25FE28077 for ; Tue, 20 Mar 2012 10:13:29 +0100 (CET) Received: by bkuw5 with SMTP id w5so4822508bku.3 for ; Tue, 20 Mar 2012 02:13:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:mime-version :content-type:content-transfer-encoding; bh=KjncObECqVE7cpvlOzXXq61pbKYrxKeOK5muEukvG1Q=; b=M44mHd6YSFdmol+QSFFFQjmY+rGno7fzcxXTxe9hJsNESw6GJbj0NYLCI8LZlju+Zm JwBK088U08z3eJeSlwoSFOcwcSB+jiO2AZGnipQgVfoUakwFiB06UrLdOhoLK7MYbQGg pu0sirL3yYck6aK5QD4Ib+tuGPR8lNVgc89gKH80zhCrAy8Z/uZerVbgT+kmWNjeWxUU laM5xXX3dU/U0eaOhpwm0m7d/nJGwI0tZbncTLginChmTLPhucr9ZQiphDoKedpC1iJg bARlJPdizDnVyltpOKRcD1ZV8faj5KpEOkX+GDzBjWdUuJKRh+fw4w+72or+KpJnXlkU icCQ== Received: by 10.204.133.195 with SMTP id g3mr5672658bkt.73.1332234808840; Tue, 20 Mar 2012 02:13:28 -0700 (PDT) Received: from azuregos.er.corscience.de (DSL01.212.114.252.242.ip-pool.NEFkom.net. [212.114.252.242]) by mx.google.com with ESMTPS id d4sm1658716bky.13.2012.03.20.02.13.27 (version=SSLv3 cipher=OTHER); Tue, 20 Mar 2012 02:13:27 -0700 (PDT) From: =?UTF-8?q?Andreas=20Bie=C3=9Fmann?= To: u-boot@lists.denx.de Date: Tue, 20 Mar 2012 10:13:18 +0100 Message-Id: <1332234798-17726-1-git-send-email-andreas.devel@googlemail.com> X-Mailer: git-send-email 1.7.9.1 MIME-Version: 1.0 Cc: Andy Fleming , =?UTF-8?q?Andreas=20Bie=C3=9Fmann?= Subject: [U-Boot] [PATCH] include/mmc.h: remove struct mmc_csd 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: , Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de From: Andreas Bießmann The outdated struct mmc_csd was only used by old atmel_mci driver which was removed in c9abb4260c30fbfd51bb2cd551e7426e2ae15b66. Signed-off-by: Andreas Bießmann cc: Andy Fleming --- include/mmc.h | 50 -------------------------------------------------- 1 files changed, 0 insertions(+), 50 deletions(-) diff --git a/include/mmc.h b/include/mmc.h index f52df70..b0bdee4 100644 --- a/include/mmc.h +++ b/include/mmc.h @@ -205,56 +205,6 @@ struct mmc_cid { char pnm[7]; }; -/* - * WARNING! - * - * This structure is used by atmel_mci.c only. - * It works for the AVR32 architecture but NOT - * for ARM/AT91 architectures. - * Its use is highly depreciated. - * After the atmel_mci.c driver for AVR32 has - * been replaced this structure will be removed. - */ -struct mmc_csd -{ - u8 csd_structure:2, - spec_vers:4, - rsvd1:2; - u8 taac; - u8 nsac; - u8 tran_speed; - u16 ccc:12, - read_bl_len:4; - u64 read_bl_partial:1, - write_blk_misalign:1, - read_blk_misalign:1, - dsr_imp:1, - rsvd2:2, - c_size:12, - vdd_r_curr_min:3, - vdd_r_curr_max:3, - vdd_w_curr_min:3, - vdd_w_curr_max:3, - c_size_mult:3, - sector_size:5, - erase_grp_size:5, - wp_grp_size:5, - wp_grp_enable:1, - default_ecc:2, - r2w_factor:3, - write_bl_len:4, - write_bl_partial:1, - rsvd3:5; - u8 file_format_grp:1, - copy:1, - perm_write_protect:1, - tmp_write_protect:1, - file_format:2, - ecc:2; - u8 crc:7; - u8 one:1; -}; - struct mmc_cmd { ushort cmdidx; uint resp_type;