From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Schocher Date: Fri, 10 Dec 2010 08:31:11 +0100 Subject: [U-Boot] [RFC PATCH] OMAP: Timer: Replace bss variable by gd In-Reply-To: <1291912288-27536-1-git-send-email-dirk.behme@gmail.com> References: <1291912288-27536-1-git-send-email-dirk.behme@gmail.com> Message-ID: <4D01D73F.60905@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 Hello Dirk, Dirk Behme wrote: > Reuse the gd->tbl value for timestamp and add gd->lastinc for lastinc bss > values in the OMAP timer driver. > > The usage of bss values in drivers before initialisation of bss is forbidden. > In that special case some data in .rel.dyn gets corrupted. > > Signed-off-by: Dirk Behme > > --- > > Note: This is compile tested only (therefore the RFC). Please *test* > on real OMAP HW, e.g. Beagle. Works for me on: U-Boot 2010.12-rc2-00245-g13e984c (Dec 10 2010 - 08:28:22) OMAP3530-GP ES3.0, CPU-OPP2, L3-165MHz, Max CPU Clock 600 mHz OMAP3 Beagle board + LPDDR/NAND Thanks! Tested-by: Heiko Schocher But mmc does not longer work on my beagle board... searching for it bye, Heiko -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany