From: Wolfgang Denk Date: Mon, 14 Apr 2008 03:09:36 +0200 Subject: [U-Boot-Users] [PATCH] Add support for setting the I2C bus speed in fsl_i2c.c In-Reply-To: Your message of "Thu, 27 Mar 2008 11:42:42 PDT." <4791E710007FEB4BBF83775D787F462F06EAF512@az33exm22.fsl.freescale.net> Message-ID: <20080414010936.A1028248BB@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 In message <4791E710007FEB4BBF83775D787F462F06EAF512@az33exm22.fsl.freescale.net> you wrote: > Yes. Thanks. ... > Then how about doing this: > > --- a/include/asm-m68k/global_data.h > +++ b/include/asm-m68k/global_data.h > @@ -47,6 +47,9 @@ typedef struct global_data { > unsigned long vco_clk; > unsigned long flb_clk; > #endif > +#ifdef CONFIG_FSL_I2C > + u32 i2c1_clk; > +#endif > unsigned long ram_size; /* RAM size */ > unsigned long reloc_off; /* Relocation Offset */ > unsigned long reset_status; /* reset status register at boot > > > -- > Timur Tabi So will somebody submit a proper patch with usable commit message and proper Signed-off-by: line, please? 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 The connection between the language in which we think/program and the problems and solutions we can imagine is very close. For this reason restricting language features with the intent of eliminating pro- grammer errors is at best dangerous. - Bjarne Stroustrup in "The C++ Programming Language"