From: Wolfgang Denk Date: Tue, 21 Dec 2010 19:56:22 +0100 Subject: [U-Boot] [PATCH 2/3] Autogenerate GENERATED_BD_INFO_SIZE In-Reply-To: <1292955178-13018-2-git-send-email-monstr@monstr.eu> References: <1292955178-13018-1-git-send-email-monstr@monstr.eu> <1292955178-13018-2-git-send-email-monstr@monstr.eu> Message-ID: <20101221185622.2B548126EB1A@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Michal Simek, In message <1292955178-13018-2-git-send-email-monstr@monstr.eu> you wrote: > GENERATED_BD_INFO_SIZE represent sizeof bd_info structure > which is used across architectures. > This value can be used in assembler files and macros. > > Signed-off-by: Michal Simek > --- > lib/asm-offsets.c | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/lib/asm-offsets.c b/lib/asm-offsets.c > index f1af7e2..8aba391 100644 > --- a/lib/asm-offsets.c > +++ b/lib/asm-offsets.c > @@ -24,6 +24,7 @@ int main (void) > /* Round up to make sure size gives nice stack alignment */ > DEFINE (GENERATED_GBL_DATA_SIZE, > (sizeof (struct global_data) + 15) & ~15); > + DEFINE (GENERATED_BD_INFO_SIZE, (sizeof (struct bd_info) + 15) & ~15); Please remove the space between macro name and argument list. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Anything free is worth what you pay for it.