From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25285 invoked by alias); 29 Sep 2011 17:24:52 -0000 Received: (qmail 25261 invoked by uid 22791); 29 Sep 2011 17:24:50 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from hagrid.ecoscentric.com (HELO mail.ecoscentric.com) (212.13.207.197) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 29 Sep 2011 17:24:35 +0000 Received: by mail.ecoscentric.com (Postfix, from userid 48) id 83FD32F78007; Thu, 29 Sep 2011 18:24:34 +0100 (BST) From: bugzilla-daemon@bugs.ecos.sourceware.org To: unassigned@bugs.ecos.sourceware.org Subject: [Bug 1001351] New: Non-dummy stm32_get_config() and stm32_set_config() X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: eCos X-Bugzilla-Component: SPI X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: ilijas@siva.com.mk X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: low X-Bugzilla-Assigned-To: unassigned@bugs.ecos.sourceware.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://bugs.ecos.sourceware.org/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Thu, 29 Sep 2011 17:24:00 -0000 Mailing-List: contact ecos-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-bugs-owner@sourceware.org X-SW-Source: 2011/txt/msg01202.txt.bz2 Please do not reply to this email. Use the web interface provided at: http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001351 Summary: Non-dummy stm32_get_config() and stm32_set_config() Product: eCos Version: CVS Platform: stm32e_eval (ST STM3210E EVAL board) OS/Version: Cortex-M Status: UNCONFIRMED Severity: enhancement Priority: low Component: SPI AssignedTo: unassigned@bugs.ecos.sourceware.org ReportedBy: ilijas@siva.com.mk CC: ecos-bugs@ecos.sourceware.org Class: Advice Request Created an attachment (id=1381) --> (http://bugs.ecos.sourceware.org/attachment.cgi?id=1381) Patch to spi_stm32.c and to ChangeLog This patch introduces possibility to retrieve and to set the clock rate for stm32 spi device. It is valid for stm32 variant, but since it is not possible to chose a variant in Hardware field, the only supported platform, stm3210e-eval, is chosen. Please note that the stm3210e-eval's on-board sd card connector is not wired to spi. If you want to use spi connected sd card with stm3210e-eval, you have to connect an external sd card connector. Motivation for this patch came from the need to use SPI connected SD card with stm32 platform. The SD/MMC protocol starts at low clock rate to read card properties and eventually switches to highest clock rate allowed. Therefore the ability to examine and change the clock rate is essential for mmc driver running on top of spi. -- Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.