From: Wolfgang Denk Date: Tue, 25 Mar 2014 07:35:10 +0100 Subject: [U-Boot] [PATCH v2 1/9] sunxi: initial sun7i clocks and timer support. In-Reply-To: <5330B4C9.10302@schinagl.nl> References: <1395438845.2234.95.camel@hastur.hellion.org.uk> <1395438866-1193-1-git-send-email-ijc@hellion.org.uk> <201403242152.38910.marex@denx.de> <5330B4C9.10302@schinagl.nl> Message-ID: <20140325063510.A39433814B7@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 Olliver Schinagl, In message <5330B4C9.10302@schinagl.nl> you wrote: > > > sr32() is not defined anywhere. > it should be defined in > arch/arm/include/asm/arch-sunxi/sys_proto.h > and comes from > arch/arm/cpu/armv7/syslib.c Please avoid using sr32() alltogether. It is basically only used in a single file (arch/arm/cpu/armv7/omap3/clock.c) [plus a single call in board/ti/panda/panda.c] and should be replaced by standard I/O accessor functions. I will prepare a patch to remove it from mainline soon, so better don't start using it. Thanks. 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 A metaphor is like a simile.