From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pali =?ISO-8859-1?Q?Roh=E1r?= Date: Sun, 14 Oct 2012 02:02:16 +0200 Subject: [U-Boot] [PATCH v3 1/5] arm bootm: Allow to pass board specified atags In-Reply-To: <201210140143.26020.marex@denx.de> References: <1327415291-13260-1-git-send-email-pali.rohar@gmail.com> <1350156720-13387-2-git-send-email-pali.rohar@gmail.com> <201210140143.26020.marex@denx.de> Message-ID: <3205439.MYzyWhxU81@pali> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sunday 14 October 2012 01:43:25 Marek Vasut wrote: > Dear Pali Roh?r, > > ... missing commit message ... > Is not subject enought? > > Signed-off-by: Pali Roh?r > > --- > > > > arch/arm/include/asm/setup.h | 5 +++++ > > arch/arm/lib/bootm.c | 5 +++++ > > 2 files changed, 10 insertions(+) > > ... missing changelog ... > There is no changelog. This patch is new in v3. I wrote it in mail [PATCH v3 0/5]. > > diff --git a/arch/arm/include/asm/setup.h > > b/arch/arm/include/asm/setup.h index 89df4dc..78a7fac 100644 > > --- a/arch/arm/include/asm/setup.h > > +++ b/arch/arm/include/asm/setup.h > > @@ -267,3 +267,8 @@ struct meminfo { > > > > extern struct meminfo meminfo; > > > > #endif > > > > + > > +/* > > + * Board specified tags > > + */ > > What's this ? > Function which allow to pass board specified (non standard) atags. It is what you suggested: http://www.mail-archive.com/u-boot at lists.denx.de/msg82803.html > > +void setup_board_tags(struct tag **in_params); > > diff --git a/arch/arm/lib/bootm.c b/arch/arm/lib/bootm.c > > index a9070d5..c092bfa 100644 > > --- a/arch/arm/lib/bootm.c > > +++ b/arch/arm/lib/bootm.c > > @@ -266,6 +266,10 @@ static int create_fdt(bootm_headers_t > > *images)> > > } > > #endif > > > > +void __setup_board_tags(void) {} > > +void setup_board_tags(struct tag **in_params) > > + __attribute__((weak, alias("__setup_board_tags"))); > > __weak void setup...(...) {} works just fine. Include > linux/compiler.h I did not know about __weak. I will change it. -- Pali Roh?r pali.rohar at gmail.com -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part. URL: