From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Mon, 18 Jan 2010 09:00:22 +0100 Subject: [U-Boot] U-Boot Crashes with Dumps In-Reply-To: <1839c6681001160148q1beeff1ex5901ba7e55a0975b@mail.gmail.com> References: <001636ed6c7e8c9189047d1cab86@google.com> <201001141124.46982.sr@denx.de> <1839c6681001160148q1beeff1ex5901ba7e55a0975b@mail.gmail.com> Message-ID: <201001180900.22964.sr@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 On Saturday 16 January 2010 10:48:21 anup behare wrote: > Thanks Stenfan for your valuable inputs. > > I have implemented the code suggested by you after completing the ddr > initialization : > > #if defined(CONFIG_DDR_DATA_EYE) > /* > * Running denali_core_search_data_eye() when ECC is enabled > * causes non-ECC machine checks. This clears them. > */ > print_mcsr(); > mtspr(SPRN_MCSR, mfspr(SPRN_MCSR)); > print_mcsr(); > #endif > > before mtspr and after mtspr i am getting the same prints i.e EE,ME,CE > disabled. Please note that I am not referring to MSR, but to the MCSR register here. Not all PPC4xx variants have this register implemented. But most 44x ones should (SPR 0x23c). Cheers, Stefan -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de