You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Remy Bohmer
be19d324ed
Fix for USB sticks not working on ARM while using GCC 4.x compilers
...
The GCC-compiler makes an optimisation error while optimising the routine
usb_set_maxpacket(). This should be fixed in the compiler in the first place,
but there lots of compilers out there that makes this error, that it is
probably wiser to workaround it in U-boot itself.
What happens is that the register r3 is used as loop-counter 'i', but gets
overwritten later on. From there it starts using register r3 for several other
things and the assembler code is becoming a big mess. This is clearly a compiler bug.
This error occurs on at least several versions of Code Sourcery Lite compilers
for ARM. Like the Edition 2008q1, and 2008q3, It has also been seen on other
compilers, while compiling for armv4t, or armv5te with Os, O1 and O2.
We work around it by splitting up this routine in 2 parts, and making sure that
the split out part is NOT inlined any longer. This will make GCC spit out assembler
that do not show this problem. Another possibility is to adapt the Makefile to stop
optimisation for the complete file. I think this solution is nicer.
Signed-off-by: Remy Bohmer <linux@bohmer.net>
Signed-off-by: Markus Klotzbuecher <mk@denx.de>
16 years ago
..
ACEX1K.c
…
Makefile
cmd_mem: Move conditional compilation to Makefile
16 years ago
altera.c
…
bedbug.c
…
circbuf.c
…
cmd_ambapp.c
…
cmd_autoscript.c
autoscr: Fix one-character lines and non-newline terminated scripts
16 years ago
cmd_bdinfo.c
rename CFG_ENV macros to CONFIG_ENV
16 years ago
cmd_bedbug.c
…
cmd_bmp.c
…
cmd_boot.c
…
cmd_bootldr.c
…
cmd_bootm.c
Add support for LZMA uncompression algorithm.
16 years ago
cmd_cache.c
…
cmd_console.c
devices: merge to list_head
16 years ago
cmd_cplbinfo.c
…
cmd_date.c
rtc: allow rtc_set to return an error and use it in cmd_date
16 years ago
cmd_dcr.c
…
cmd_df.c
…
cmd_diag.c
…
cmd_display.c
…
cmd_doc.c
…
cmd_dtt.c
…
cmd_eeprom.c
cmd_eeprom: Move conditional compilation to Makefile
16 years ago
cmd_elf.c
…
cmd_ext2.c
…
cmd_fat.c
…
cmd_fdc.c
cmd_fdc: Move conditional compilation to Makefile
16 years ago
cmd_fdos.c
…
cmd_fdt.c
powerpc: Fix bootm to boot up again with a Ramdisk
16 years ago
cmd_flash.c
…
cmd_fpga.c
…
cmd_i2c.c
move cmd_get_data_size to command.c
16 years ago
cmd_ide.c
Fix typo in spelling of ATAPI.
16 years ago
cmd_immap.c
…
cmd_irq.c
…
cmd_itest.c
move cmd_get_data_size to command.c
16 years ago
cmd_jffs2.c
Add JFFS2 command support on OneNAND
16 years ago
cmd_license.c
…
cmd_load.c
loads: allow negative offsets
16 years ago
cmd_log.c
…
cmd_mac.c
cmd_mac: Move conditional compilation to Makefile
16 years ago
cmd_mem.c
cmd_mem: Move conditional compilation to Makefile
16 years ago
cmd_mfsl.c
…
cmd_mii.c
…
cmd_misc.c
…
cmd_mmc.c
…
cmd_mp.c
…
cmd_nand.c
…
cmd_net.c
Standardize bootp, tftpboot, rarpboot, dhcp, and nfs command descriptions
16 years ago
cmd_nvedit.c
rename CFG_ENV macros to CONFIG_ENV
16 years ago
cmd_onenand.c
Fix OneNAND read_oob/write_oob functions compatability
16 years ago
cmd_otp.c
…
cmd_pci.c
move cmd_get_data_size to command.c
16 years ago
cmd_pcmcia.c
…
cmd_portio.c
move cmd_get_data_size to command.c
16 years ago
cmd_reginfo.c
…
cmd_reiser.c
…
cmd_sata.c
…
cmd_scsi.c
…
cmd_setexpr.c
…
cmd_sf.c
…
cmd_spi.c
…
cmd_strings.c
…
cmd_terminal.c
devices: merge to list_head
16 years ago
cmd_universe.c
…
cmd_usb.c
…
cmd_vfd.c
cmd_vfd: Move conditional compilation to Makefile
16 years ago
cmd_ximg.c
…
cmd_yaffs2.c
Minor coding style cleanup, updte CHANGELOG
16 years ago
command.c
move cmd_get_data_size to command.c
16 years ago
console.c
Allow console input to be disabled
16 years ago
cyclon2.c
…
ddr_spd.c
Add proper SPD definitions for DDR1/2/3
16 years ago
devices.c
devices: Use list_add_tail() instead of list_add() to register a device
16 years ago
dlmalloc.c
…
dlmalloc.src
…
docecc.c
…
env_common.c
rename CFG_ENV macros to CONFIG_ENV
16 years ago
env_dataflash.c
rename CFG_ENV macros to CONFIG_ENV
16 years ago
env_eeprom.c
rename CFG_ENV macros to CONFIG_ENV
16 years ago
env_embedded.c
rename CFG_ENV macros to CONFIG_ENV
16 years ago
env_flash.c
rename CFG_ENV macros to CONFIG_ENV
16 years ago
env_nand.c
rename CFG_ENV macros to CONFIG_ENV
16 years ago
env_nowhere.c
env_nowhere: Move conditional compilation to Makefile
16 years ago
env_nvram.c
rename CFG_ENV macros to CONFIG_ENV
16 years ago
env_onenand.c
rename CFG_ENV macros to CONFIG_ENV
16 years ago
env_sf.c
rename CFG_ENV macros to CONFIG_ENV
16 years ago
exports.c
…
fdt_support.c
powerpc: Fix bootm to boot up again with a Ramdisk
16 years ago
flash.c
…
fpga.c
…
hush.c
hush: Fix printf debug macro in hush.c so that it usable in U-Boot
16 years ago
image.c
Add support for LZMA uncompression algorithm.
16 years ago
kgdb.c
…
lcd.c
…
lynxkdi.c
…
main.c
…
memsize.c
…
miiphyutil.c
miiphyutil: Move conditional compilation to Makefile
16 years ago
s_record.c
…
serial.c
…
spartan2.c
…
spartan3.c
…
stratixII.c
…
usb.c
Fix for USB sticks not working on ARM while using GCC 4.x compilers
16 years ago
usb_kbd.c
Correct drv_usb_kbd_init function
16 years ago
usb_storage.c
…
virtex2.c
…
xilinx.c
…
xyzModem.c
…