
Hello Wolfgang,
Wolfgang Denk wrote:
In message 4A684908.8070402@invitel.hu you wrote:
Signed-off-by: Heiko Schocher hs@denx.de
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@pollux u-boot]$ make mrproper [hs@pollux u-boot]$ make suen3_config Configuring for suen3 board... [hs@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@pollux u-boot]$
above patch fixes this. And I thought better to post such a fix immediately ...
bye Heiko