From patchwork Tue Oct 16 23:06:05 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 191910 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 433B12C00A6 for ; Wed, 17 Oct 2012 10:06:33 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 0AE524A221; Wed, 17 Oct 2012 01:06:29 +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 JJLRgFTaTMbD; Wed, 17 Oct 2012 01:06:28 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 445C94A234; Wed, 17 Oct 2012 01:06:25 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E82E54A21D for ; Wed, 17 Oct 2012 01:06:19 +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 WBnCkVWhG2Hy for ; Wed, 17 Oct 2012 01:06:16 +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-pa0-f44.google.com (mail-pa0-f44.google.com [209.85.220.44]) by theia.denx.de (Postfix) with ESMTPS id 4BDD84A216 for ; Wed, 17 Oct 2012 01:06:14 +0200 (CEST) Received: by mail-pa0-f44.google.com with SMTP id fb11so6364092pad.3 for ; Tue, 16 Oct 2012 16:06:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:date:message-id:x-mailer; bh=MJ9MVJWtBPiD3Z5mTFZF11q1nRJyU2CqvbD7gp1YoDg=; b=a1LD+jLBXg/OoYVgR2qZYOXUM3D3N0nMTJftg+QFE56ZEtFIIiM8aiG+Zbsop6/pff 9fRJWk9NreK/ONI9mOrW9+TNmtWiVcbJTV2mOeLaHfutmXdMdi2o0JuBPUIhyw+TTvxJ DNfdJG53ZvLWjz/BABSdbl7FIYnzJ9JtUA5jIC9rU5aeGr5ZfZiaFzbZrVSYIPojimxJ YH0nUmP4dX0v92bDGXbRgNoX1xL6xmcMu/fnOx5xZe/tx6rjUhEZRVQFvXofxXilDDuH rQMhyUMT99CCULUEs3G+OGZUZ8zduLHcbXzsj9lyUQL4QvNTTMoZHI/2OsBzTGdVhajz zMlQ== Received: by 10.66.83.129 with SMTP id q1mr45788276pay.4.1350428772990; Tue, 16 Oct 2012 16:06:12 -0700 (PDT) Received: from localhost.localdomain (ip68-230-54-74.ph.ph.cox.net. [68.230.54.74]) by mx.google.com with ESMTPS id p3sm5024355paw.8.2012.10.16.16.06.10 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 16 Oct 2012 16:06:11 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Date: Tue, 16 Oct 2012 16:06:05 -0700 Message-Id: <1350428767-15380-1-git-send-email-trini@ti.com> X-Mailer: git-send-email 1.7.9.5 Subject: [U-Boot] [PATCH 1/3] omap3_spi: Undo CONFIG_AM33XX D0/D1 change 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 At some point the am335x evm hardware was updated to previosly used in all other designs layout, so remove the now incorrect code. Signed-off-by: Tom Rini --- drivers/spi/omap3_spi.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/drivers/spi/omap3_spi.c b/drivers/spi/omap3_spi.c index e40a632..47f9e56 100644 --- a/drivers/spi/omap3_spi.c +++ b/drivers/spi/omap3_spi.c @@ -173,18 +173,8 @@ int spi_claim_bus(struct spi_slave *slave) /* standard 4-wire master mode: SCK, MOSI/out, MISO/in, nCS * REVISIT: this controller could support SPI_3WIRE mode. */ -#ifdef CONFIG_AM33XX - /* - * The reference design on AM33xx has D0 and D1 wired up opposite - * of how it has been done on previous platforms. We assume that - * custom hardware will also follow this convention. - */ - conf &= OMAP3_MCSPI_CHCONF_DPE0; - conf |= ~(OMAP3_MCSPI_CHCONF_IS|OMAP3_MCSPI_CHCONF_DPE1); -#else conf &= ~(OMAP3_MCSPI_CHCONF_IS|OMAP3_MCSPI_CHCONF_DPE1); conf |= OMAP3_MCSPI_CHCONF_DPE0; -#endif /* wordlength */ conf &= ~OMAP3_MCSPI_CHCONF_WL_MASK;