public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Albert ARIBAUD <albert.u.boot@aribaud.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] mmc: dcache: Replace ext_csd buffer with cache aligned one
Date: Fri, 12 Aug 2011 11:07:57 +0200	[thread overview]
Message-ID: <4E44ED6D.9040909@aribaud.net> (raw)
In-Reply-To: <1313137527-8744-1-git-send-email-l.majewski@samsung.com>

Hi Lukasz,

On 12/08/2011 10:25, Lukasz Majewski wrote:

> +	char *ext_csd = memalign(get_dcache_line_size(), mmc->read_bl_len);

Since this is the first effort for aligning buffers on the caller side, 
I'd like to make sure the method can be, and is, standardized across all 
changes.

So before standardizing on memalign() for dynamically allocating aligned 
buffers, I want to to be sure that the use of this function is portable.

I know it is in GNU LIBC; I also know it is not (yet...) in U-Boot's own 
C library. What about the most common toolchains used on U-Boot?

Amicalement,
-- 
Albert.

  reply	other threads:[~2011-08-12  9:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-12  8:25 [U-Boot] [PATCH] mmc: dcache: Replace ext_csd buffer with cache aligned one Lukasz Majewski
2011-08-12  9:07 ` Albert ARIBAUD [this message]
2011-08-12  9:35   ` Lukasz Majewski
2011-08-12  9:50     ` Albert ARIBAUD
2011-08-17  2:43 ` Andy Fleming
2011-08-17  9:33 ` [U-Boot] [PATCH v2] " Lukasz Majewski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E44ED6D.9040909@aribaud.net \
    --to=albert.u.boot@aribaud.net \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox