summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeLines
* Add USB host ethernet adapter supportSimon Glass2011-02-19-24/+298
| | | | | | | | | | | | This adds support for using USB Ethernet dongles in host mode. This is just the framework - drivers will come later. A new config option called CONFIG_USB_HOST_ETHER can be defined in board config files to switch this on. The was originally written by NVIDIA and was cleaned up for release by the Chromium authors. Signed-off-by: Simon Glass <sjg@chromium.org>
* Fix EHCI usb submit timeout and unify with OHCISimon Glass2011-02-19-7/+16
| | | | | | | | | | | | Changed both to use a common timeout for URB submission, since they were using different values and EHCI's was too short. Also fixed EHCI to actually check if urb submission succeeded, rather than silently continuing into the weeds. Change-Id: I7f71499ffaa05187d8e5618db2419e1606007b82 Signed-off-by: Simon Glass <sjg@chromium.org>
* add checking the CONFIG_ENV_IS_IN_SPI_FLASH in Enbedded envYoshihiro Shimoda2011-02-15-1/+2
| | | | | | | | Fix the problem which cannot build the U-boot, if we only set the CONFIG_ENV_IS_IN_SPI_FLASH. Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Acked-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
* net: ne2000: Add spport RTL-8019ASNobuhiro Iwamatsu2011-02-15-1/+2
| | | | | | | Add infomation of RTL-8016AS to hw_info. Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> CC: Ben Warren <biggerbadderben@gmail.com>
* unzip: return uncompressed size in `filesize', and print it.Wolfgang Denk2011-02-15-1/+9
| | | | | | | | | | | The unzip command did not provide a way for the caller to get any information about the uncompressed size. To make it better usable in scripts, we now store the uncompressed size in the `filesize' variable, like we do when for example loading a file over the network or when reading it from a file system. Following that analogy, it is only consequent to also print the size. Signed-off-by: Wolfgang Denk <wd@denx.de>
* itest: fix result of string comparesWolfgang Denk2011-02-15-5/+2
| | | | | | | | | | The implementation of the string compare function of the "itest" command was weird, as only the length of the shortest argument was included in the compare, with the result that something like "itest.s abd == abddef" would return TRUE. Fix this. Signed-off-by: Wolfgang Denk <wd@denx.de> Acked-by: Detlev Zundel <dzu@denx.de>
* microblaze: Fix msr handling in interrupt_handlerMichal Simek2011-02-15-18/+1
| | | | | | | Fix ancient code which worked with MSR in a bad way. Use rtid instruction which enable IRQs and jump. Signed-off-by: Michal Simek <monstr@monstr.eu>
* microblaze: Fix systems with MSR=0Michal Simek2011-02-15-1/+1
| | | | | | | | u-boot BSP generates XILINX_USE_MSR_INSTR macro even for system with MSR=0. That's why explicitly check that MSR=1. Signed-off-by: Michal Simek <monstr@monstr.eu>
* Merge branch 'master' of git://git.denx.de/u-boot-mipsWolfgang Denk2011-02-12-145/+39
|\
| * MIPS: Move VCT boards to boards.cfgShinya Kuribayashi2011-02-07-32/+12
| | | | | | | | | | Signed-off-by: Shinya Kuribayashi <skuribay@pobox.com> Acked-by: Stefan Roese <sr@denx.de>
| * MIPS: Move Inca-IP targets to boards.cfgShinya Kuribayashi2011-02-05-17/+11
| | | | | | | | | | | | At the same time, fix up CPU_CLOCK_RATE to have the CONFIG_ prefix to work with boards.cfg. Signed-off-by: Shinya Kuribayashi <skuribay@pobox.com>
| * MIPS: Move Qemu MIPS target to boards.cfgShinya Kuribayashi2011-02-05-5/+1
| | | | | | | | | | | | CONFIG_QEMU_MIPS is already provided by <configs/qemu-mips.h>, so we don't generate it using the options fields in boards.cfg. Signed-off-by: Shinya Kuribayashi <skuribay@pobox.com>
| * MIPS: Move Alchemy Au1x00 based boards to boards.cfgShinya Kuribayashi2011-02-05-39/+7
| | | | | | | | | | | | CONFIG_GTH2 is already provided by <configs/gth2.h>, so we don't generate it using the options fields in boards.cfg. Signed-off-by: Shinya Kuribayashi <skuribay@pobox.com>
| * cmd_ide: Fix an unused CONFIG_AU1X00 symbol to work as intendedShinya Kuribayashi2011-02-05-1/+2
| | | | | | | | | | | | commit 8bde63eb3f79d68f693201528dafc8ae7aa087de ([MIPS] Rename Alchemy processor configs into CONFIG_SOC_*) forgot to pick up this one. Signed-off-by: Shinya Kuribayashi <skuribay@pobox.com>
| * MIPS: dbau1x00: Remove unused flash driver stubDaniel Schwierzeck2011-02-05-44/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All dbau1x00 boards use the CFI driver so this stub driver is useless and should not be compiled. This patch fixes the error: u-boot-git/board/dbau1x00/flash.c:34: multiple definition of `flash_init' drivers/mtd/libmtd.o:u-boot-git/drivers/mtd/cfi_flash.c:2084: first defined here board/dbau1x00/libdbau1x00.o: In function `write_buff': u-boot-git/board/dbau1x00/flash.c:40: multiple definition of `write_buff' drivers/mtd/libmtd.o:u-boot-git/drivers/mtd/cfi_flash.c:1265: first defined here Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com> Cc: Wolfgang Denk <wd@denx.de> Signed-off-by: Shinya Kuribayashi <skuribay@pobox.com>
| * MIPS: Purple: Fix multiple definition error on final linking of u-boot binaryDaniel Schwierzeck2011-02-05-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The linker of recent toolchains complains about multiple definitions on final linking of u-boot binary. This patch removes all redundant object files from u-boot.lds those are already added to .text section by the linker. That patch could not be tested but the resulting u-boot.map still looks good. The start symbol is at 0xB0000000, the environment at 0xB0008000 so u-boot should boot. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com> Cc: Wolfgang Denk <wd@denx.de> Signed-off-by: Shinya Kuribayashi <skuribay@pobox.com>
| * MIPS: VCT: Fix enabling of unwanted options if networking or USB support are ↵Daniel Schwierzeck2011-02-05-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | disabled Some VCT boards lacks the support of networking or USB. Additionally that support is disabled in small image configurations. If CONFIG_CMD_NET should not used the CONFIG_CMD_NFS option have to be disabled too. Otherwise the linker fails with unresolved symbols. If CONFIG_VCT_SMALL_IMAGE is set than CONFIG_CMD_NET and CONFIG_CMD_USB are disabled at the end of vct.h. This is not adequate because CONFIG_CMD_USB enables additional options and the linker fails again with unresolved symbols. This patch adds an early check against CONFIG_VCT_SMALL_IMAGE so the additional options are only enabled if they are really needed. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com> Acked-by: Stefan Roese <sr@denx.de> Signed-off-by: Shinya Kuribayashi <skuribay@pobox.com>
* | eNET: Move initial Global Data into CARGraeme Russ2011-02-12-1/+1
| |
* | sc520: Release CAR and enable cachingGraeme Russ2011-02-12-5/+11
| |
* | x86: Convert board_init_f to use an init_sequenceGraeme Russ2011-02-12-41/+29
| |
* | x86: Rearrange function calls in board_init_fGraeme Russ2011-02-12-8/+8
| |
* | x86: Split board_init_f() into init_fnc_t compatible functionsGraeme Russ2011-02-12-49/+74
| |
* | x86: Fix incorrect usage of relocation offsetGraeme Russ2011-02-12-6/+6
| | | | | | | | | | x86 has always used relocation offset in the opposite sense to the ELF standard - Fix this
* | x86: Move console initialisation into board_init_fGraeme Russ2011-02-12-3/+12
| |
* | x86: Move test for cold boot into init functionsGraeme Russ2011-02-12-13/+11
| |
* | x86: Move call to dram_init_f into board_init_fGraeme Russ2011-02-12-3/+4
| |
* | x86: Defer setup of final stackGraeme Russ2011-02-12-17/+33
| |
* | sc520: Move RAM sizing code from asm to CGraeme Russ2011-02-12-767/+611
| |
* | x86: Use Cache-As-RAM for initial stackGraeme Russ2011-02-12-21/+135
| |
* | x86: Move initial gd to fixed locationGraeme Russ2011-02-12-19/+39
| |
* | eNET: General code cleanupGraeme Russ2011-02-12-186/+129
| |
* | eNET: Rearrange PAR assignmentsGraeme Russ2011-02-12-30/+46
| |
* | eNET: Define MMCR values in config.hGraeme Russ2011-02-12-46/+445
| |
* | eNET: Add RTC support to eNETGraeme Russ2011-02-12-0/+8
| | | | | | | | The SC520 has an inbuilt MC146818 - Enable it for the eNET board
* | eNET: Fix eNET Interrupt Setup for LinuxGraeme Russ2011-02-12-6/+9
| | | | | | | | | | Fix minor issues with the configuration of the hardware interrupts for Linux when booting the eNET board
* | sc520: Remove printf calls from cpu_init_fGraeme Russ2011-02-12-2/+0
| | | | | | | | | | In later patches, cpu_init_f will be called before console has been initialised and printf will not be legitimately available
* | sc520: Move board specific settings to board init functionGraeme Russ2011-02-12-19/+9
| |
* | sc520: Define MMCR address in include fileGraeme Russ2011-02-12-39/+55
| |
* | x86: Make cpu init functions weakGraeme Russ2011-02-12-32/+17
| |
* | x86: Call early_board_init when warm bootingGraeme Russ2011-02-12-5/+5
| | | | | | | | | | | | | | | | | | | | early_board_init has been skipped to avoid SDRAM corruption in the case that a fully relocatable image has been loaded into SDRAM and is being executed from SDRAM. x86 is being aligned with other architectures (ARM and PPC in particlar) and will be using Cache-As-RAM to run a C environment from Flash (or SRAM if you have some). early_board_init may be needed to assist in the setup of Cache-As-RAM and the early C environment
* | x86: Add processor flags header from linuxGraeme Russ2011-02-12-10/+121
| |
* | x86: Move Global Descriptor Table defines to processor.hGraeme Russ2011-02-12-10/+7
| |
* | x86: Add stack dump to register dumpGraeme Russ2011-02-12-0/+16
| |
* | x86: Fix mangled umlautsGraeme Russ2011-02-12-2/+2
| | | | | | | | | | git mergetool has a nasty habit of mangling umlats - fix ones that have been missed in previous submissions
* | sc520: Sort MakefileGraeme Russ2011-02-12-1/+1
| |
* | x86: Parametize values used in linker scriptGraeme Russ2011-02-12-20/+20
| |
* | eNET: Create distinct board configurationsGraeme Russ2011-02-12-2/+2
| | | | | | | | | | | | Position independant functionality is due for removal from the x86 architecture, so create two distinct configurations - One for Flash and one for SRAM
* | x86: Align config.mk and linker scripts with other archesGraeme Russ2011-02-12-12/+10
| |
* | x86: Fix definition of global_data struct for asm-offsets.cGraeme Russ2011-02-12-1/+1
| |
* | Merge branch 'master' of git://git.denx.de/u-boot-mpc85xxWolfgang Denk2011-02-11-16/+19
|\ \