From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Sun, 07 Sep 2008 01:25:56 +0200 Subject: [U-Boot] [PATCH] Fix compiler warning in mpc8xxx ddr code In-Reply-To: <1220643629-1653-1-git-send-email-galak@kernel.crashing.org> References: <1220643629-1653-1-git-send-email-galak@kernel.crashing.org> Message-ID: <20080906232556.EF770248BB@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 Kumar Gala, In message <1220643629-1653-1-git-send-email-galak@kernel.crashing.org> you wrote: > ctrl_regs.c: In function 'compute_fsl_memctl_config_regs': > ctrl_regs.c:523: warning: 'caslat' may be used uninitialized in this function > ctrl_regs.c:523: note: 'caslat' was declared here > > Add a warning in DDR1 case if cas_latency isn't a value we know about. > > Signed-off-by: Kumar Gala Applied, thanks. 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 Things that try to look like things often do look more like things than things. Well-known fact. - Terry Pratchett, _Wyrd Sisters_