summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeLines
* Fix my own merge stupidityAndy Fleming2008-01-09-34/+29
| | | | | | | | | | | | | | | Way back in August I merged Heiko's patch: 566a494f592: [PCS440EP] upgrade the PCS440EP board with Jon's CONFIG_COMMANDS patches. This was done in commit: 6bf6f114dcdd97ec3f80c2761ed40e31229d6b78 However, in the process, I left out some of Heiko's good changes. Now Heiko's and Jon's patches are properly merged in fat_register_device() Signed-off-by: Andy Fleming <afleming@freescale.com>
* Expose parse_line() globally.James Yang2008-01-09-10/+17
| | | | | | | | | | | Add new function readline_into_buffer() that allows the output of readline to be put into a pointer to char buffer. This refactoring allows other functions besides the main command loop to also use the same input mechanism. Signed-off-by: James Yang <James.Yang@freescale.com> Acked-by: Jon Loeliger <jdl@freescale.com>
* trivial: fix consequences of a bad mergeGuennadi Liakhovetski2008-01-09-1/+0
| | | | | | Fix what looks like a merge artifact. Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
* Add Ctrl combo key support to usb keyboard driver.Zhang Wei2008-01-09-0/+19
| | | | | | | | | Ctrl combo key support is added, which is very useful to input Ctrl-C for interrupt current job. Also add usb_event_poll() calling to usb_kbd_testc(), which can get key input when tstc() is called. Signed-off-by: Zhang Wei <wei.zhang@freescale.com>
* fix various commentsMarcel Ziswiler2008-01-09-26/+25
| | | | Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>
* fix comments with new drivers organizationMarcel Ziswiler2008-01-09-30/+31
| | | | Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>
* Remove the obsolete terse version of do_mii()Shinya Kuribayashi2008-01-09-139/+0
| | | | | | | | | | | | | | | | | We now have more useful version of do_mii() and everybody use it. Gerald Van Baren says: > When I originally wrote the mii command 6(!) years ago, I wrote a > verbose version that printed human readable decomposition of the flags, > etc., and a terse one that didn't print as much stuff and thus had a > smaller memory footprint. > > It sounds like the terse version has withered and died, apparently > people are only using the verbose version (which is very understandable, > I do myself). Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com> Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
* Do not reference sha1.c when building mkimage.Mike Frysinger2008-01-09-1/+1
| | | | | | remove sha1.o from mkimage linking since it isn't actually used. Signed-Off-By: Mike Frysinger <vapier@gentoo.org>
* common/cmd_mii.c: Add sanity argc checkShinya Kuribayashi2008-01-09-0/+5
| | | | | | | If type mii command without arguments, we suffer from uninitialized argv[] entries; for example we MIPS get stuck by TLB error. Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com>
* Merge branch 'master' of /home/wd/git/u-boot/master/Wolfgang Denk2008-01-09-5055/+12462
|\
| * Coding Style cleanup, update CHANGELOGWolfgang Denk2008-01-09-326/+427
| | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
| * fix easylogo on big endian dev systemsMike Frysinger2008-01-09-0/+18
| | | | | | | | | | | | | | | | | | | | 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>
| * cleanup easylogoMike Frysinger2008-01-09-7/+18
| | | | | | | | | | | | | | | | - 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>
| * Fix build problems under Cygwinraptorbrino@aim.com2008-01-09-0/+1
| | | | | | | | | | | | | | | | | | | | | | 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>
| * cmd_bmp: Add support for displaying gzip compressed bmpsHans-Christian Egtvedt2008-01-09-49/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * Fix and optimize MII operations on FEC (MPC8xx) controllersGuennadi Liakhovetski2008-01-09-54/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * Fix endianness conversions in rtl8169 driverGuennadi Liakhovetski2008-01-09-55/+45
| | | | | | | | | | | | | | | | | | | | 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>
| * Coding Style clenaup; update CHANGELOGWolfgang Denk2008-01-09-2/+155
| | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
| * Remove bit swapping in Xilinx Spartan bitfile loadingMatthias Fuchs2008-01-09-36/+1
| | | | | | | | | | | | | | 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>
| * Fix MSB check in Xilinx Spartan slave serial modeMatthias Fuchs2008-01-09-2/+2
| | | | | | | | Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
| * Add new Xilinx Spartan FPGA typesMatthias Fuchs2008-01-09-1/+13
| | | | | | | | Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
| * Add pre and post configuration callbacks for Spartan FPGAsMatthias Fuchs2008-01-09-4/+34
| | | | | | | | | | | | | | | | 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>
| * Improve configuration of FPGA subsystemMatthias Fuchs2008-01-09-62/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * Add Epson RX8025 RTC supportMatthias Fuchs2008-01-09-0/+228
| | | | | | | | Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
| * serial: Make default_serial_console() a weak functionMatthias Fuchs2008-01-09-1/+3
| | | | | | | | | | | | | | | | | | 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>
| * add 'terminal program' functionalityHarald Welte2008-01-09-0/+104
| | | | | | | | | | | | | | | | | | | | 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>
| * Re-introduce the 'nand read.oob' and 'nand write.oob' commandsHarald Welte2008-01-09-0/+8
| | | | | | | | | | | | that used to exist with the legacy NAND code Signed-off-by: Harald Welte <laforge@openmoko.org>
| * Fix building with CRAMFS but not JFFS2 supportHarald Welte2008-01-09-1/+10
| | | | | | | | Signed-off-by: Harald Welte <laforge@openmoko.org>
| * Allow CONFIG_AUTO_COMPLETE and command history CONFIG_CMDLINE_EDITING at the ↵Jean-Christophe PLAGNIOL-VILLARD2008-01-09-2/+24
| | | | | | | | | | | | | | sametime Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * ARM: support board-specific ethernet PHY initJean-Christophe PLAGNIOL-VILLARD2008-01-09-0/+4
| | | | | | | | | | | | Add until the new phylib will be arrived Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * IXP: Add full baud-rate support for ixp42x, ixp45x and ixp46xJean-Christophe PLAGNIOL-VILLARD2008-01-09-14/+10
| | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * Add missing file in gitignore and commentsJean-Christophe PLAGNIOL-VILLARD2008-01-09-2/+31
| | | | | | | | | | | | based on Linux source tree's .gitignore files Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * Coding Style cleanup, update CHANGELOGWolfgang Denk2008-01-09-139/+2682
| | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
| * Merge branch 'master' of git://www.denx.de/git/u-boot-armWolfgang Denk2008-01-09-7/+2058
| |\
| | * Merge with git://www.denx.de/git/u-boot.gitPeter Pearse2008-01-07-7967/+34307
| | |\
| | * | Remove warnings re CONFIG_EXTRA_ENV_SETTINGSPeter Pearse2007-11-15-11/+11
| | | | | | | | | | | | | | | | Remove warnings re onenand_read() & write()
| | * | Correction patchPeter Pearse2007-11-15-358/+239
| | | |
| | * | Merge with git://www.denx.de/git/u-boot.gitPeter Pearse2007-11-15-1/+1
| | |\ \
| | * | | Add apollon board supportPeter Pearse2007-11-09-5/+2175
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
| * | | | Merge branch 'master' of git://www.denx.de/git/u-boot-fdtWolfgang Denk2008-01-09-50/+380
| |\ \ \ \
| | * | | | LIBFDT: use memmove() instead of memcpy()Gerald Van Baren2008-01-08-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is partial patch from the DTC/libfdt commit 67b6b33b9b413a450a72135b5dc59c0a1e33e647 Author: David Gibson <david@gibson.dropbear.id.au> Date: Wed Nov 21 11:56:14 2007 +1100 The patch also fixes one genuine bug caught by valgrind - _packblocks() in fdt_rw.c was using memcpy() where it should have been using memmove(). Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
| | * | | | libfdt: Add more documentation (patch the seventh)David Gibson2008-01-08-0/+219
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds more documenting comments to libfdt.h. Specifically, these document the read/write functions (not including fdt_open_into() and fdt_pack(), for now). Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
| | * | | | libfdt: Add more documentation (patch the sixth)David Gibson2008-01-08-0/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds some more documenting comments to libfdt.h. Specifically this documents all the write-in-place functions. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
| | * | | | Fine grained per property /chosen updating.Gerald Van Baren2008-01-08-33/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement a suggestion by Scott Wood to make the /chosen handling fine grained. Don't overwrite pre-existing properties on a per-property basis, so if /chosen exists but a necessary /chosen/property doesn't, it gets created. If a /chosen property exists, it is NOT overwritten unless the "force" flag is true. Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
| | * | | | Improve the FDT help message.Gerald Van Baren2008-01-08-7/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a note that "fdt copy" makes the new address active. Remove most of the extra hints at the end of the fdt help. Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
| | * | | | Support setting FDT properties with optional values.Gerald Van Baren2008-01-08-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix a bug found and documented by Bartlomiej Sieka where the optional value on "fdt set <path> <prop> [<val>]" wasn't optional. => fdt mknode / testnode => fdt print /testnode testnode { }; => fdt set /testnode testprop => fdt print /testnode testnode { testprop; }; Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
| | * | | | Add fdt_find_and_setprop() to fdt_support.hMatthias Fuchs2008-01-08-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fdt_find_and_setprop() is used by several 4xx boards and it's missing in the appropriate header. This patch eliminates a warning when building U-Boot for such boards. Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com> Acked-by: Stefan Roese <sr@denx.de>
| * | | | | Merge branch 'master' of git://www.denx.de/git/u-boot-mpc83xxWolfgang Denk2008-01-09-1067/+1953
| |\ \ \ \ \
| | * | | | | mpc83xx: fix missed pci_hose -> hose conversion for new libfdt codeKim Phillips2008-01-08-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
| | * | | | | mpc83xx: rm remaining FLAT_TREE codeKim Phillips2008-01-08-109/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ..in board pci.c files Signed-off-by: Kim Phillips <kim.phillips@freescale.com>