From: Wolfgang Denk Date: Tue, 18 Oct 2011 22:18:29 +0200 Subject: [U-Boot] [PATCH 7/7][v2] fsl_ifc: Add the workaround for erratum IFC A-003399(enabled on P1010) In-Reply-To: References: <1312555480-13401-1-git-send-email-galak@kernel.crashing.org> <1312555480-13401-2-git-send-email-galak@kernel.crashing.org> <1312555480-13401-3-git-send-email-galak@kernel.crashing.org> <1312555480-13401-4-git-send-email-galak@kernel.crashing.org> <1312555480-13401-5-git-send-email-galak@kernel.crashing.org> <1312555480-13401-6-git-send-email-galak@kernel.crashing.org> <1312555480-13401-7-git-send-email-galak@kernel.crashing.org> <1312555480-13401-8-git-send-email-galak@kernel.crashing.org> <20111018063518.E2F97140797D@gemini.denx.de> Message-ID: <20111018201829.7BE3214094B3@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, In message you wrote: > > If you look at the code I have NO IDEA how to fix this for older GCC. Maybe you have to explain the code to me. LIke the compiler, I wonder where l2srbar gets initialized: Here is the declaration: ... 74 u32 *l2srbar, *dst, *src; ... First use of this variable is here: ... 139 for (i = 0; i < 1024; i++) 140 *l2srbar++ = *src++; ... Where is the initialization? 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@denx.de A year spent in artificial intelligence is enough to make one believe in God.