From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3 8/9] sunxi: non-FEL SPL boot support for sun7i
Date: Sun, 27 Apr 2014 20:07:55 +0200 [thread overview]
Message-ID: <201404272007.55107.marex@denx.de> (raw)
In-Reply-To: <1398618034.19277.128.camel@hastur.hellion.org.uk>
On Sunday, April 27, 2014 at 07:00:34 PM, Ian Campbell wrote:
> On Sat, 2014-04-26 at 20:46 +0200, Marek Vasut wrote:
> > > +#define ALIGN(x, a) __ALIGN_MASK((x), (typeof(x))(a)-1)
> > > +#define __ALIGN_MASK(x, mask) (((x)+(mask))&~(mask))
> >
> > Isn't this already defined in include/common.h ?
>
> Yes but it seems that header isn't usable by tools/* AFAICT. I get a
> boatload of compiler errors when I try...
There are a couple of things which include it even in tools/ :
# git grep common.h tools/
tools/patman/test.py: include/common.h | 8 ++++++
tools/patman/test.py:+#include <common.h>
tools/scripts/define2mk.sed:# which preprocesses the common.h header files and
outputs the final
tools/updater/cmd_flash.c:#include <common.h>
tools/updater/flash.c:#include <common.h>
tools/updater/flash_hw.c:#include <common.h>
tools/updater/update.c:#include <common.h>
tools/updater/utils.c:#include <common.h>
btw. I should have escaped the dot in common.h pattern, but whatever ...
Best regards,
Marek Vasut
next prev parent reply other threads:[~2014-04-27 18:07 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-18 18:05 [U-Boot] [PATCH v3 0/9] sunxi: initial upstreamining effort Ian Campbell
2014-04-18 18:05 ` [U-Boot] [PATCH v3 1/9] sunxi: add sun7i clocks and timer support Ian Campbell
2014-04-26 18:31 ` Marek Vasut
2014-04-18 18:05 ` [U-Boot] [PATCH v3 2/9] sunxi: add sun7i pinmux and gpio support Ian Campbell
2014-04-26 18:33 ` Marek Vasut
2014-04-18 18:05 ` [U-Boot] [PATCH v3 3/9] sunxi: add sun7i dram setup support Ian Campbell
2014-04-26 18:35 ` Marek Vasut
2014-04-18 18:05 ` [U-Boot] [PATCH v3 4/9] sunxi: add sun7i cpu, board and start of day support Ian Campbell
2014-04-18 18:05 ` [U-Boot] [PATCH v3 5/9] sunxi: add support for Cubietruck booting in FEL mode Ian Campbell
2014-04-26 18:38 ` Marek Vasut
2014-04-18 18:05 ` [U-Boot] [PATCH v3 6/9] sunxi: add gmac Ethernet support Ian Campbell
2014-04-26 18:41 ` Marek Vasut
2014-04-27 16:33 ` Ian Campbell
2014-04-27 18:10 ` Marek Vasut
2014-04-27 18:35 ` Ian Campbell
2014-04-27 19:15 ` Marek Vasut
2014-04-18 18:05 ` [U-Boot] [PATCH v3 7/9] sunxi: mmc support Ian Campbell
2014-04-26 18:43 ` Marek Vasut
2014-04-18 18:05 ` [U-Boot] [PATCH v3 8/9] sunxi: non-FEL SPL boot support for sun7i Ian Campbell
2014-04-26 18:46 ` Marek Vasut
2014-04-27 17:00 ` Ian Campbell
2014-04-27 18:07 ` Marek Vasut [this message]
2014-04-27 18:38 ` Ian Campbell
2014-04-27 19:15 ` Marek Vasut
2014-04-27 19:29 ` Ian Campbell
2014-04-27 23:58 ` Marek Vasut
2014-04-28 9:06 ` Ian Campbell
2014-04-18 18:05 ` [U-Boot] [PATCH v3 9/9] net/designware: Reduce DMA burst length Ian Campbell
2014-04-26 18:28 ` Marek Vasut
2014-04-27 15:25 ` Ian Campbell
2014-04-27 15:29 ` Chen-Yu Tsai
2014-04-27 18:08 ` Marek Vasut
2014-04-28 5:51 ` Chen-Yu Tsai
2014-04-28 5:55 ` Marek Vasut
2014-04-28 20:18 ` Alexey Brodkin
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=201404272007.55107.marex@denx.de \
--to=marex@denx.de \
--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