- Jan 09, 2008
-
-
Rafal Jaworowski authored
This is an API for external (standalone) applications running on top of U-Boot, and is meant to be more extensible and robust than the existing jumptable mechanism. It is similar to UNIX syscall approach. See api/README for more details. Included is the demo application using this new framework (api_examples). Please note this is still an experimental feature, and is turned off by default. Signed-off-by:
Rafal Jaworowski <raj@semihalf.com>
-
Rafal Jaworowski authored
The newly introduced API (routines related to env vars) will need to call it. Signed-off-by:
Rafal Zabdyr <armo@semihalf.com>
-
Wolfgang Denk authored
Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
Mike Frysinger authored
didnt realize how out of shape easylogo actually was until i tried using it. this patch does byte swapping as need be on the input tga header since the tga is in little endian but the host could just as well be big endian. i didnt bother using bswap macros or such stuff from system headers as nothing in POSIX dictates byte swapping functionality. Signed-Off-By:
Mike Frysinger <vapier@gentoo.org>
-
Mike Frysinger authored
- make the Makefile not suck - include proper headers for prototypes - fix obvious broken handling of strchr() when handling '.' in filenames Signed-Off-By:
Mike Frysinger <vapier@gentoo.org>
-
raptorbrino@aim.com authored
This patch allows u-boot to build without error in a cygwin environment. Cygwin does not define __u64 in it's include/asm/types.h file. The -idirafter flag in the u-boot build causes the inclusion of the cygwin types.h file as opposed to u-bot/include/asm/types.h file which does define __u64. Subsequently, sha1.c compile fails due to unknown symbol. Signed-off-by:
Brian Miller <raptorbrino@netscape.net>
-
Hans-Christian Egtvedt authored
The existing code can show information about a gzip compressed BMP image, but can't actually display it. Therefore, move the decompression code out of bmp_info() and use it in bmp_display() as well in order to display a compressed BMP image. Also, clean things up a bit and fix a memory leak while we're at it. [hskinnemoen@atmel.com: a bit of refactoring] Signed-off-by:
Haavard Skinnemoen <hskinnemoen@atmel.com>
-
Guennadi Liakhovetski authored
This patch fixes several issues at least on a MPC885 based system with two FEC interfaces used in MII mode. 1. PHY discovery should first read PHY_PHYIDR2 register and only then PHY_PHYIDR1 like cpu/mpc8xx/fec.c::mii_discover_phy() does it, otherwise the values read are wrong. Also notice, that PHY discovery cannot work on MPC88x / MPC87x in setups with both FECs active at all in its present form, because for both interfaces the registers from FEC 1 are used to communicate over MII. 2. Remove code duplication for resetting the FEC by isolating it into a separate function. 3. Initialize MII on FEC 1 when communicating over FEC 2 in fec_init(). 4. Optimize mii_init() to only reset the FEC 1 controller once. 5. Fix a typo in mii_init() using index i instead of j thus potentially leading to unpredictable results. Signed-off-by:
Guennadi Liakhovetski <lg@denx.de>
-
Guennadi Liakhovetski authored
It is unclear on what platforms this driver has been tested, since noone up to now defines CONFIG_RTL8169 in the board configuration header. Now it has been fixed for a big-endian mpc8241 based linkstation platform. This patch presents the necessary endianness conversion fixes. Signed-off-by:
Guennadi Liakhovetski <lg@denx.de>
-
Wolfgang Denk authored
Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
Matthias Fuchs authored
This patch removes the unnecessary bit swapping when booting .bit files with the 'fpga loadb' command. Signed-off-by:
Matthias Fuchs <matthias.fuchs@esd-electronics.com>
-
Matthias Fuchs authored
Signed-off-by:
Matthias Fuchs <matthias.fuchs@esd-electronics.com>
-
Matthias Fuchs authored
Signed-off-by:
Matthias Fuchs <matthias.fuchs@esd-electronics.com>
-
Matthias Fuchs authored
This patch adds a post configuration callback for Spartan2/3 FPGAs. pre and post configuration callback are now optional and not called when the function pointer is set to NULL. Signed-off-by:
Matthias Fuchs <matthias.fuchs@esd-electronics.com>
-
Matthias Fuchs authored
This patch removes the FPGA subsystem configuration through the CONFIG_FPGA bitmask configuration option. See README for the new options: CONFIG_FPGA, CONFIG_FPGA_<vendor>, CONFIG_FPGA_<family> Signed-off-by:
Matthias Fuchs <matthias.fuchs@esd-electronics.com>
-
Matthias Fuchs authored
Signed-off-by:
Matthias Fuchs <matthias.fuchs@esd-electronics.com>
-
Matthias Fuchs authored
With this patch it is possible to reimplement default_serial_console() in board specific code. This will be done in the upcomming PMC440 U-Boot port. This also allows the lwmon board maintainer to remove the '#if !defined(CONFIG_LWMON) ...' from common/serial.c. Signed-off-by:
Matthias Fuchs <matthias.fuchs@esd-electronics.com>
-
Harald Welte authored
This patch adds a 'cu' like serial terminal command to u-boot using which you can access other serial ports from the system console. OpenMoko uses this in their Neo1973 phones to get access to the GSM Modem and GPS chip from the bootloader. Signed-off-by:
Harald Welte <laforge@openmoko.org>
-
Harald Welte authored
that used to exist with the legacy NAND code Signed-off-by:
Harald Welte <laforge@openmoko.org>
-
Harald Welte authored
Signed-off-by:
Harald Welte <laforge@openmoko.org>
-
Jean-Christophe PLAGNIOL-VILLARD authored
Signed-off-by:
Mike Frysinger <vapier@gentoo.org> Signed-off-by:
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
Jean-Christophe PLAGNIOL-VILLARD authored
Add until the new phylib will be arrived Signed-off-by:
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
Jean-Christophe PLAGNIOL-VILLARD authored
Signed-off-by:
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
Jean-Christophe PLAGNIOL-VILLARD authored
based on Linux source tree's .gitignore files Signed-off-by:
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
Wolfgang Denk authored
Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
Wolfgang Denk authored
-
Stefan Roese authored
-
Stefan Roese authored
On LWMON5 we now use d-cache as init-ram and stack. The SPR POST test uses self modifying code and this doesn't work with stack in d-cache, since I can't move the code from d-cache to i-cache. We move the SPR test to be executed a little later, after relocation. Then stack is located in SDRAM and this self-modifying code is no problem anymore. Signed-off-by:
Stefan Roese <sr@denx.de>
-
Stefan Roese authored
This patch configures the LWMON5 port to use d-cache as init-ram and the unused GPT0_COMP6 as POST WORD storage. Signed-off-by:
Stefan Roese <sr@denx.de>
-
Stefan Roese authored
The privious 4xx POST implementation only supported storing the POST WORD in OCM. Since we need to reserve the OCM on LWMON5 for the logbuffer we need to store the POST WORD in some other non volatile location. This patch adds CFG_POST_ALT_WORD_ADDR to specify an address for such a location. Signed-off-by:
Stefan Roese <sr@denx.de>
-
Stefan Roese authored
This patch adds support for locking the init-ram/stack in d-cache, so that other regions may use d-cache as well Note, that this current implementation locks exactly 4k of d-cache, so please make sure that you don't define a bigger init-ram area. Take a look at the lwmon5 440EPx implementation as a reference. Signed-off-by:
Stefan Roese <sr@denx.de>
-
Wolfgang Denk authored
ext2fs_read_file() had the function arguments swapped. Pointed out by Mike Montour, 19 Dec 2007 22:34:25 -0800 Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
Markus Klotzbuecher authored
The MPC5200 OHCI controller operates in big endian, so CFG_OHCI_BE_CONTROLLER must be defined for it to work properly. Signed-off-by:
Markus Klotzbuecher <mk@denx.de>
-
Wolfgang Denk authored
Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
Markus Klotzbuecher authored
This patch updates the fw_printenv/fw_setenv userspace tool to include the correct MTD header in order to compile against current kernel headers. Backward compatibility is preserved by introducing an option MTD_VERSION which can be set to "old" for compilation using the old MTD headers. Along with this a number of warnings are fixed. Signed-off-by:
Markus Klotzbuecher <mk@denx.de>
-
Matthias Fuchs authored
Some operating systems rely on assigned PCI interrupts. Signed-off-by:
Matthias Fuchs <matthias.fuchs@esd-electronics.com>
-
Matthias Fuchs authored
This patch allows the use of 4xx interrupt vector number defines in board specific code outside cpu/ppc4xx. Signed-off-by:
Matthias Fuchs <matthias.fuchs@esd-electronics.com>
-