From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Frysinger Date: Mon, 22 Aug 2011 14:31:00 -0400 Subject: [U-Boot] [PATCH] mmc:dcache: Cache line size aligned internal MMC buffers In-Reply-To: References: <1313745913-28672-1-git-send-email-l.majewski@samsung.com> <201108221317.36786.vapier@gentoo.org> Message-ID: <201108221431.02180.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Monday, August 22, 2011 14:15:22 Anton Staaf wrote: please dont top post > Yes, this would be a much preferable approach. The only problem that > I encountered when attempting to do that in the Chromium U-Boot was > that there are exposed stand alone U-Boot API's that can pass in > pointers that make their way all the way down to the device driver. > Two solutions occurred to me. One was to put an Error or assert as > high up as possible and expect violators to fix their code, the other > was to patch things up in lower layers (right now we have a bounce > buffer in the tegra MMC driver to deal with unaligned buffers). My > intent was that this would give us a functional U-Boot while we took > the time to clean up as many of the unaligned buffers that U-Boot > uses, and then tackle the question of stand alone applications. could you elaborate on the code paths in question ? -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. Url : http://lists.denx.de/pipermail/u-boot/attachments/20110822/ebc35f0d/attachment.pgp