summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-12-05tools/fit_image.c: Remove unused fit_set_header()Peter Tyser
The FIT fit_set_header() function was copied from the standard uImage's image_set_header() function during mkimage reorganization. However, the fit_set_header() function is not used since FIT images use a standard device tree blob header. Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
2009-12-05tools/mkimage: Assume FDT image type for FIT imagesPeter Tyser
When building a Flattened Image Tree (FIT) the image type needs to be "flat_dt". Commit 89a4d6b12fd6394898b8a454cbabeaf1cd59bae5 introduced a regression which caused the user to need to specify the "-T flat_dt" parameter on the command line when building a FIT image. The "-T flat_dt" parameter should not be needed and is at odds with the current FIT image documentation. Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
2009-12-04EXT2FS: fix inode size for ext2fs rev#0Michael Brandt
extfs.c assumes that there is always a valid inode_size field in the superblock. But this is not true for ext2fs rev 0. Such ext2fs images are for instance generated by genext2fs. Symptoms on ARM machines are messages like: "raise: Signal # 8 caught"; on PowerPC "ext2ls" will print nothing. This fix checks for rev 0 and uses then 128 bytes as inode size. Signed-off-by: Michael Brandt <Michael.Brandt@emsyso.de> Tested on: TQM5200S Tested-by: Wolfgang Denk <wd@denx.de> Signed-off-by: Wolfgang Denk <wd@denx.de>
2009-12-02Remove superfluous preprocessor tests from some cmd_*.c files.Robert P. J. Day
A small number of common/cmd_*.c files contain preprocessor tests that are apparently superfluous since those same tests are used in the Makefile to control the compilation of those files. Those tests are clearly redundant as long as they surround the entirety of the source in those files. Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
2009-12-02README: Update the list of directories.Robert P. J. Day
Bring the directory listing more into line with current content. Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
2009-12-02Removes dead code in the file common/cmd_i2c.cPratap Chandu
There is some dead code enclosed by #if 0 .... #endif in the file common/cmd_i2c.c This patch removes the dead code. Signed-off-by: Pratap Chandu <pratap.rrke@gmail.com>
2009-12-02smc91111_eeprom: drop CONFIG stub protectionMike Frysinger
Since the Makefile now controls the compilation of this, there is no need for CONFIG checking nor the stub function. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-12-02RTC: Fix return code in MC13783 RTC driver.Magnus Lilja
Signed-off-by: Magnus Lilja <lilja.magnus@gmail.com>
2009-12-02cmd_date: Fix spelling in error message.Magnus Lilja
Signed-off-by: Magnus Lilja <lilja.magnus@gmail.com>
2009-12-02Move do_irqinfo() to common/cmd_irq.cPeter Tyser
cmd_irq.c is a much better home and it is already conditionally compiled based on CONFIG_CMD_IRQ. Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
2009-12-02cmd_license: Remove unneeded #ifdef CONFIG_CMD_LICENSEPeter Tyser
cmd_license is already conditionally compiled at the Makefile-level. Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
2009-12-02m41t11: Remove unused functionsPeter Tyser
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
2009-12-02circbuf: Move to lib_generic and conditionally compilePeter Tyser
circbuf could be used as a generic library and is only currently needed when CONFIG_USB_TTY is defined. Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
2009-12-02Fix build failure in examples/standaloneSanjeev Premi
Some versions of 'make' do not handle trailing white-spaces properly. Trailing spaces in ELF causes a 'fake' source to be added to the variable COBJS; leading to build failure (listed below). The problem was found with GNU Make 3.80. Using text-function 'strip' as a workaround for the problem. make[1]: Entering directory `/home/sanjeev/u-boot/examples/standalone' arm-none-linux-gnueabi-gcc -g -Os -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DTEXT_BASE=0x80e80000 -I/home/sanjeev/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/codesourcery/2009q1- 203/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/include -pipe -DCONFIG_ ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv5 -Wall -Wstrict-prototypes -fno-stack-protector -g -Os -fno-common -ff ixed-r8 -msoft-float -D__KERNEL__ -DTEXT_BASE=0x80e80000 -I/home/sanje ev/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/co desourcery/2009q1-203/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/includ e -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-inte rwork -march=armv5 -I.. -Bstatic -T u-boot.lds -Ttext 0x80e80000 -o .c arm-none-linux-gnueabi-gcc: no input files make[1]: *** [.c] Error 1 make[1]: Leaving directory `/home/sanjeev/u-boot/examples/standalone' make: *** [examples/standalone] Error 2 premi # Signed-off-by: Sanjeev Premi <premi@ti.com> Fixed typo (s/ElF/ELF/). Signed-off-by: Wolfgang Denk <wd@denx.de>
2009-12-0285xx: Remove unused CONFIG_ASSUME_AMD_FLASH from config filesBecky Bruce
A bunch of the 85xx boards have this cruft in them - it's not used anywhere. Delete it. Signed-off-by: Becky Bruce <beckyb@kernel.crashing.org>
2009-12-02MAINTAINERS: update responsible for MPC85xx/86xxWolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Kumar Gala <galak@kernel.crashing.org> Cc: Becky Bruce <beckyb@kernel.crashing.org>
2009-12-01Merge branch 'master' of git://git.denx.de/u-boot-niosWolfgang Denk
2009-11-24Fix example FIT image source filesIra W. Snyder
The example FIT image source files do not compile with the latest dtc and mkimage. The following error message is produced: DTC: dts->dtb on file "kernel.its" Error: kernel.its 7:0 - 1:0 syntax error FATAL ERROR: Unable to parse input tree ./mkimage: Can't read kernel.itb.tmp: Invalid argument The FIT image source files are missing the "/dts-v1/;" directive at the beginning of the file. Add the directive to the examples. Signed-off-by: Ira W. Snyder <iws@ovro.caltech.edu>
2009-11-24img2srec: use standard typesMike Frysinger
The img2srec code creates a lot of typedefs with common names. These easily clash with system headers that include these typedefs (like mingw). Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-11-24tools: gitignore *.exe binariesMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-11-24ppc: Move conditional compilation of kgdb.c to MakefilePeter Tyser
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
2009-11-24spi_flash.h: pull in linux/types.h for u## typesMike Frysinger
2009-11-24bootm: mark local boot_os[] table staticMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-11-24mkconfig: deny messed up ARCH definitionNishanth Menon
Refuse to setup a platform if the command line ARCH= is not the same as the one required for the board. This prevents any user with prehistoric aliases from messing up their builds. Reported in thread: http://old.nabble.com/-U-Boot--Build-breaks-on-some-OMAP3-configs-to26132721.html Inputs from: Mike Frysinger and Wolfgang Denk: http://lists.denx.de/pipermail/u-boot/2009-November/063642.html Cc: Wolfgang Denk <wd@denx.de> Cc: Mike Frysinger <vapier@gentoo.org> Cc: Anand Gadiyar <gadiyar@ti.com> Cc: Dirk Behme <dirk.behme@googlemail.com> Signed-off-by: Nishanth Menon <nm@ti.com>
2009-11-24Merge branch 'master' of git://git.denx.de/u-boot-netWolfgang Denk
2009-11-24Merge branch 'master-sync' of git://git.denx.de/u-boot-armWolfgang Denk
2009-11-24Repair the 'netretry=once' option.Remy Bohmer
'netretry = once' does the same as 'netretry = yes', because it is not stored when it was tried once. Signed-off-by: Remy Bohmer <linux@bohmer.net> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
2009-11-24Repair build fail in case CONFIG_PPC=n and CONFIG_FIT=yRemy Bohmer
Signed-off-by: Remy Bohmer <linux@bohmer.net>
2009-11-24OMAP3: pandora: fix booting without serial attachedGrazvydas Ignotas
When the board is booted without serial cable attached (which is how most of them will be used) UART RX is left floating and sometimes picks noise, which interrupts countdown and enters U-Boot prompt instead of booting the kernel. Fix this by setting up internal pullup on UART RX pin. This does not prevent serial from working as the internal pullup is weak. Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
2009-11-23Add support for CS2 dataflash for Atmel-SPI.Remy Bohmer
The only missing chipselect line support is CS2, and I need it on CS2... Signed-off-by: Remy Bohmer <linux@bohmer.net>
2009-11-23Fix mingw tools buildRemy Bohmer
mkimage does not build due to missing strtok_r() and getline() implementation Signed-off-by: Remy Bohmer <linux@bohmer.net>
2009-11-23Building of FIT images does not work.Remy Bohmer
The type is not set for generation of the FIT images, resulting in no images being created without printing or returning an error Signed-off-by: Remy Bohmer <linux@bohmer.net>
2009-11-23Nios2: do_boom_linux(): kernel gunzip input data integrity problem due toRenato Andreola
missing cache flush. Added instruction and data caches flush. Signed-off-by: Scott McNutt <smcnutt@psyent.com>
2009-11-23Nios2: Fix compiler warnings in lib_nios2/board.c (unused variables)Scott McNutt
Signed-off-by: Scott McNutt <smcnutt@psyent.com>
2009-11-23Nios2/Nios: Remove unnecessary (residual) linker Nios command scripts fromScott McNutt
the standalone examples. Signed-off-by: Scott McNutt <smcnutt@psyent.com>
2009-11-22sf: fix stmicro offset setup while erasingMike Frysinger
Reported-by: Peter Gombos <gombos@protecta.hu> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-11-22sf: new driver for Winbond W25X16/32/64 devicesJason McMullan
Signed-off-by: Jason McMullan <jason.mcmullan@gmail.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-11-22mpc8260: move FDT memory node fixup into common CPU code.Marcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@noser.com> Tested-by: Heiko Schocher <hs@denx.de>
2009-11-22Add driver for FTRTC010 real time clockPo-Yu Chuang
Signed-off-by: Po-Yu Chuang <ratbert@faraday-tech.com> Edited commit message. Signed-off-by: Wolfgang Denk <wd@denx.de>
2009-11-22MIMC200: set default fbmem valueMark Jackson
This patch adds a default bootargs "fbmem" value to the CONFIG_BOOTARGS string for the MIMC200 board. Signed-off-by: Mark Jackson <mpfj@mimc.co.uk>
2009-11-17ppc4xx: Initialize magnetic coupler on VOM405 boardsMatthias Fuchs
This patch fixes an ugly behavior of the IL712 magnetic coupler as used on VOM405. These parts will remember their last state over a power cycle which might cause unwanted behavior. Signed-off-by: Matthias Fuchs <matthias.fuchs@esd.eu> Signed-off-by: Stefan Roese <sr@denx.de>
2009-11-17ppc4xx: Initialize magnetic couplers in PLU405Matthias Fuchs
This patch fixes an ugly behavior of the IL712 magnetic couplers as used on PLU405. These parts will remember their last state over a power cycle which might cause unwanted behavior. Signed-off-by: Matthias Fuchs <matthias.fuchs@esd.eu> Signed-off-by: Stefan Roese <sr@denx.de>
2009-11-17Add minimal SJA1000 header for basic CAN modeMatthias Fuchs
This patch is in preparation for the upcoming PLU405 board fix. Signed-off-by: Matthias Fuchs <matthias.fuchs@esd.eu> Signed-off-by: Stefan Roese <sr@denx.de>
2009-11-15Merge branch 'master' of git://git.denx.de/u-boot-netWolfgang Denk
2009-11-15Merge branch 'master' of git://git.denx.de/u-boot-mpc85xxWolfgang Denk
2009-11-15Merge branch 'master-sync' of git://git.denx.de/u-boot-armWolfgang Denk
2009-11-13ppc/85xx: Fix how we determine the number of CAM entriesKumar Gala
We were incorrectly use the max CAM size as the number of entries in the array for setting up the addrmap. We should be using the NENTRY field which is the low 12-bits of TLB1CFG. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2009-11-13smc911x: make smc911x_initialize return correct valueMike Rapoport
Make smc911x_initialize return -1 on error and number of interfaces detected otherwise. Signed-off-by: Mike Rapoport <mike@compulab.co.il> Acked-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
2009-11-13smc911x_eeprom: fix building after smc911x overhaulMike Frysinger
When the smc911x driver was converted to NET_MULTI, the smc911x eeprom was missed. The config option needed updating as well as overhauling of the rergister read/write functions. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Tested-by: Mike Rapoport <mike.rapoport@gmail.com> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
2009-11-12fsl-ddr: Fix the chip-select interleaving issueDave Liu
commit 1542fbdeec0d1e2a6df13189df8dcb1ce8802be3 introduced one new bug to chip-select interleaving. Single DDR controller also can do the chip-select interleaving if there is dual-rank or qual-rank DIMMs. Signed-off-by: Dave Liu <daveliu@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>