All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marcel Ziswiler <marcel.ziswiler@toradex.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 1/2] Move malloc_cache_aligned() to its own header
Date: Thu, 3 Sep 2015 11:08:56 +0000	[thread overview]
Message-ID: <1441278534.2845.2.camel@toradex.com> (raw)
In-Reply-To: <1441236298-24506-1-git-send-email-sjg@chromium.org>

On Wed, 2015-09-02 at 17:24 -0600, Simon Glass wrote:
> At present malloc.h is included everywhere since it recently was
> added to
> common.h in this commit:
> 
>    4519668 mtd/nand/ubi: assortment of alignment fixes
> 
> This seems wasteful and unnecessary. We have been trying to trim down
> common.h and put separate functions into separate header files and
> that
> change goes in the opposite direction.
> 
> Move malloc_cache_aligned() to a new header so that this can be
> avoided.
> The header would perhaps be better named as alignmem.h but it needs
> to be
> included after common.h and people might be confused by this. With
> the name
> memalign.h it fits nicely after malloc() in most cases.
> 
> Signed-off-by: Simon Glass <sjg@chromium.org>

The series successfully NAND boot tested on Colibri T20 512MB V1.2A
therefore

Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>

  parent reply	other threads:[~2015-09-03 11:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-02 23:24 [U-Boot] [PATCH v2 1/2] Move malloc_cache_aligned() to its own header Simon Glass
2015-09-02 23:24 ` [U-Boot] [PATCH v2 2/2] Move ALLOC_CACHE_ALIGN_BUFFER() to the new memalign.h header Simon Glass
2015-09-12 12:50   ` [U-Boot] [U-Boot, v2, " Tom Rini
2015-09-03 11:08 ` Marcel Ziswiler [this message]
2015-09-12 12:50 ` [U-Boot] [U-Boot, v2, 1/2] Move malloc_cache_aligned() to its own header Tom Rini

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=1441278534.2845.2.camel@toradex.com \
    --to=marcel.ziswiler@toradex.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.