From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Tue, 17 Jan 2012 10:56:22 +0100 Subject: [U-Boot] [PATCH 1/2] mmc: access mxcmmc from mx31 boards In-Reply-To: <1326290363-4767-2-git-send-email-helmut.raiger@hale.at> References: <4EC0F392.60000@denx.de> <1326290363-4767-1-git-send-email-helmut.raiger@hale.at> <1326290363-4767-2-git-send-email-helmut.raiger@hale.at> Message-ID: <4F1545C6.9010205@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 11/01/2012 14:59, Helmut Raiger wrote: > This patch modifies mxcmmc.c to be used > not only by i.MX27 but also by i.MX31 boards. > Both use the same SD controller, but have different > clock set-ups. > The i.MX27 imx_get_XXXclock functions are made static to > generic.c and a public mxc_get_clock() function > is provided. Pins, base address and prototypes for > an i.MX31 specific board_init_mmc() are provided. > Some of the i.MX27 clock getters are unused and marked > as such to avoid warnings (./MAKEALL -s mx27), but > the code was left in for future use. > > Signed-off-by: Helmut Raiger > --- > Applied to u-boot-imx, thanks. Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de =====================================================================