From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Schocher Date: Thu, 23 Jul 2009 14:16:49 +0200 Subject: [U-Boot] [PATCH] arm: add _lshrdi3.S In-Reply-To: <20090723114131.6061D832E416@gemini.denx.de> References: <1248347380-27013-1-git-send-email-wd@denx.de> <1248347759-28119-1-git-send-email-wd@denx.de> <4A684908.8070402@invitel.hu> <20090723114131.6061D832E416@gemini.denx.de> Message-ID: <4A6854B1.5000205@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 Wolfgang, Wolfgang Denk wrote: > In message <4A684908.8070402@invitel.hu> you wrote: >> Signed-off-by: Heiko Schocher >> --- >> lib_arm/Makefile | 1 + >> lib_arm/_lshrdi3.S | 46 ++++++++++++++++++++++++++++++++++++++++++++++ >> 2 files changed, 47 insertions(+), 0 deletions(-) >> create mode 100644 lib_arm/_lshrdi3.S > > Why should we add this? Where it is needed? This is needed for the upcoming suen3 support. Maybe I sould have written this in the commit message? This board uses NAND, and if I compile it, I get this errors: [hs at pollux u-boot]$ make mrproper [hs at pollux u-boot]$ make suen3_config Configuring for suen3 board... [hs at pollux u-boot]$ make USE_PRIVATE_LIBGCC=yes -s all drivers/mtd/nand/libnand.a(nand_base.o): In function `nand_do_write_oob': /home/hs/keymile/suen3/u-boot/drivers/mtd/nand/nand_base.c:2019: undefined reference to `__lshrdi3' drivers/mtd/nand/libnand.a(nand_base.o): In function `nand_erase_nand': /home/hs/keymile/suen3/u-boot/drivers/mtd/nand/nand_base.c:2199: undefined reference to `__lshrdi3' /home/hs/keymile/suen3/u-boot/drivers/mtd/nand/nand_base.c:2198: undefined reference to `__lshrdi3' drivers/mtd/nand/libnand.a(nand_base.o): In function `nand_do_read_oob': /home/hs/keymile/suen3/u-boot/drivers/mtd/nand/nand_base.c:1519: undefined reference to `__lshrdi3' drivers/mtd/nand/libnand.a(nand_bbt.o): In function `search_bbt': /home/hs/keymile/suen3/u-boot/drivers/mtd/nand/nand_bbt.c:482: undefined reference to `__lshrdi3' drivers/mtd/nand/libnand.a(nand_bbt.o):/home/hs/keymile/suen3/u-boot/drivers/mtd/nand/nand_bbt.c:413: more undefined references to `__lshrdi3' follow make: *** [u-boot] Fehler 1 [hs at pollux u-boot]$ above patch fixes this. And I thought better to post such a fix immediately ... bye Heiko -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany