summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-04-18nand_spl: Update nand_spl to support 2k page size NAND devicesStefan Roese
This patch adds support for booting from 2k page sized NAND device (e.g. Micron 29F2G08AAC). Tested on AMCC Canyonlands. Signed-off-by: Stefan Roese <sr@denx.de>
2008-04-18Fix crash on sequoia in ppc_4xx_eth_initAnatolij Gustschin
Currently U-Boot crashes in ppc_4xx_eth_init on sequoia with cache enabled (TLB Parity exeption). This patch fixes the problem. Signed-off-by: Anatolij Gustschin <agust@denx.de>
2008-04-18ppc4xx: Fix crash on sequoia with cache enabledAnatolij Gustschin
Currently U-Boot crashes on sequoia board in CPU POST if cache is enabled (CONFIG_4xx_DCACHE defined). The cache won't be disabled by change_tlb before CPU POST because there is an insufficient adress range check since CFG_MEM_TOP_HIDE was introduced. This patch tries to fix this problem. Signed-off-by: Anatolij Gustschin <agust@denx.de>
2008-04-18Use jr as register jump instructionShinya Kuribayashi
Current assembler codes are inconsistent in the way of register jump instruction usage; some use jr, some use j. Of course GNU as allows both usages, but as can be expected from `Jump Register' the mnemonic `jr' is more intuitive than `j'. For example, Linux doesn't have `j <reg>' usage at all. Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
2008-04-18RTC driver for MC13783Guennadi Liakhovetski
MC13783 is a multifunction IS with an SPI interface to the host. This driver handles the RTC controller in this chip. Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
2008-04-18New i.MX31 SPI driverGuennadi Liakhovetski
This is an SPI driver for i.MX and MXC based SoCs from Freescale. So far only implemented and tested on i.MX31, can with a modified register layout and definitions be used for i.MX27, I think, MXC CPUs have similar SPI controllers too. Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
2008-04-18Merge branch 'master' of git://www.denx.de/git/u-boot-netWolfgang Denk
2008-04-18Fix name of i.MX31 boards in config file headerMagnus Lilja
Correct the name of the i.MX31 Litekit and phyCORE boards in config files. Signed-off-by: Magnus Lilja <lilja.magnus@gmail.com>
2008-04-18allow ports to override go behaviorMike Frysinger
Split the arch-specific logic out of the common go code and into a dedicated weak function called do_go_exec() that lives in cpu directories. This will need review from i386/nios people to make sure I didn't break them.
2008-04-18allow ports to override bootelf behaviorMike Frysinger
Change the bootelf setup function into a dedicated weak function called do_bootelf_exec. This way ports can control the behavior however they like before/after calling the ELF entry point.
2008-04-18Reorder ARM boards in MakefileUlf Samuelsson
Rearrange ARM boards in Makefile so that ARM926EJ-S boards are no longer under ARM92xT header. Signed-off-by: Ulf Samuelsson <ulf@atmel.com> Ack-By Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2008-04-18Clean up dataflash partitioningUlf Samuelsson
This patch removes the board dependent parts from "drivers/mtd/dataflash.c". Each board relying on this, will have the appropriate code in a new file, "partition.c" in the board directory. board Makefiles updated to use the file. The dataflash partitions are aligned on sector/page boundaries. The CONFIG_NEW_DF_PARTITION was used to create named partitions This is now the default operation, and the CONFIG variable is removed. Signed-off-by: Ulf Samuelsson <ulf@atmel.com>
2008-04-18gitignore: udpate stgit generated and .patch fileJean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2008-04-18Get rid of redundant copy of renamed header file.Wolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-04-18Fix dependency generation for older gcc versionsVlad Lungu
With gcc 3.3.3 at least, compilation fails with Generating include/autoconf.mk gcc: compilation of header file requested make: *** [include/autoconf.mk] Error 1 since commit 16fe77752eee099b9fb61ed73460e51cc94b37ba. Signed-off-by: Vlad Lungu <vlad@comsys.ro>
2008-04-17Restore the ability to continue booting after legacy image overwriteMarian Balakowicz
Before new uImage code was merged, bootm code allowed for the kernel image to get overwritten during decompresion. new uImage introduced a check for image overwrites and refused to boot the image that got overwritten. This patch restores the old behavior. It also adds a warning when the image overwriten is a multi-image file, because in such case accessing componentes other than the first one will fail. Signed-off-by: Marian Balakowicz <m8@semihalf.com>
2008-04-17ppc: Fix ftd_blob variable init when processing raw blobMarian Balakowicz
Set fdt_blob variable before its value is printed out. Signed-off-by: Marian Balakowicz <m8@semihalf.com>
2008-04-17Remove all the search paths from the .lds files.Jason Wessel
The cross compiler is responsible for providing the correct libraries and the logic to find the linking libraries. Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
2008-04-17Boot-related documentation updateBartlomiej Sieka
- document 'bootm_low' and 'bootm_size' environment variables - update inaccurate CFG_BOOTMAPSZ entry Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
2008-04-17Fix regression introduced by a typo in "Tidied other cpu/arm920t/start.S code"Guennadi Liakhovetski
Restore logic reverted by commit commit 80767a6cead9990d9e77e62be947843c2c72f469 Author: Peter Pearse <peter.pearse@arm.com> Date: Wed Sep 5 16:04:41 2007 +0100 Changed API name to coloured_led.h Removed code using deprecated ifdef CONFIG_BOOTBINFUNC Tidied other cpu/arm920t/start.S code Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
2008-04-17Remove conflicting NAND IDMike Frysinger
There are two NAND entries with ID 0xDC and this obviously causes problems. In the kernel, they punted the first entry, so we should do the same. See this upstream e-mail for more info: http://lists.infradead.org/pipermail/linux-mtd/2007-July/018795.html Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2008-04-17cpu/mips/cpu.c: Fix flush_cache bugShinya Kuribayashi
Cache operations have to take line address (addr), not start_addr. I noticed this bug when debugging ping failure. Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com>
2008-04-17TQM5200: fix default IDE reset levelMartin Krause
Before the first call of ide_reset(), the level of the IDE reset signal on the TQM5200 is low (reset asserted). This patch sets the default value to high (reset not asserted). Currently this patch fixes no real problem, but it is cleaner to assert the reset signal only on demand, and not permanently. Signed-off-by: Martin Krause <martin.krause@tqs.de>
2008-04-17mgcoge, mgsuv: realign CONFIG_EXTRA_ENV_SETTINGDetlev Zundel
Signed-off-by: Detlev Zundel <dzu@denx.de>
2008-04-17mgcoge, mgsuv: rename 'addcon' to 'addcons'Detlev Zundel
The latter name with 13 users is already established, so we will use that. Signed-off-by: Detlev Zundel <dzu@denx.de>
2008-04-17IDE: fix bug in reset sequenceMartin Krause
According to the ata (ata5) specification the RESET- signal shall be asserted for at least 25 us. Without this patch, the RESET- signal is asserted on some boards for only < 1 us (e. g. on the TQM5200). This patch adds a general delay of 25 us to the RESET- signal. Without this patch a Platinum 4 GiB CF card is not recognised properly on boards with a TQM5200 (STK52xx, TB5200). Signed-off-by: Martin Krause <martin.krause@tqs.de>
2008-04-17lwmon5: disable CONFIG_ZERO_BOOTDELAYSascha Laue
Signed-off-by: Sascha Laue <sascha.laue@liebherr.com>
2008-04-17ds174x: Fix warning on return in rtc_get and rtc_set functionsJean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2008-04-17cmd_log.c: Fix assignment differ in signednessJean-Christophe PLAGNIOL-VILLARD
In function 'logbuff_init_ptrs': cmd_log.c:79: warning: pointer targets in assignment differ in signedness Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2008-04-17Remove duplicate #undef SHOW_INFO in drivers/usb/usb_ohci.cGururaja Hebbar K R
Signed-off-by: gururaja hebbar <gururajakr@sanyo.co.in>
2008-04-17s3c4510b_eth: fix 'packed' attribute ignored for fields of MACFrameJean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2008-04-17Additional PCI IDs for IDE and network controllersGuennadi Liakhovetski
These PCI IDs are required by the Linkstation platforms. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
2008-04-17Change env_get_char from a global function ptr to a function.Joakim Tjernlund
This avoids an early global data reference. Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
2008-04-15Clean up smsc911x driverGuennadi Liakhovetski
Replace direct register address derefencing with accessor functions. Restrict explicitly 32-bit bus-width, extend affected configurations respectively. Signed-off-by: Guennadi Liakhovetski <lg@denx.de> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
2008-04-15This patch adds a driver for the following smsc network controllers:Sascha Hauer
LAN9115 LAN9116 LAN9117 LAN9215 LAN9216 LAN9217 Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Guennadi Liakhovetski<lg@denx.de> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
2008-04-13Fix watchdog POST for lwmon5Sascha Laue
If the hardware watchdog detects a voltage error, the watchdog sets GPIO62 to low. The watchdog POST has to detect this low level. Signed-off-by: Sascha Laue <leglas0@legpc180.leg.liebherr.i>
2008-04-13ata: update the libata.h from ata.h of linux kernelDave Liu
Current libata.h of u-boot is out of sync from linux kernel, this patch make it be consistent with linux kernel. Signed-off-by: Dave Liu <daveliu@freescale.com> Signed-off-by: Tor Krill <tor@excito.com>
2008-04-13Allow use of ARCH=powerpc when buildingKumar Gala
The linux kernel is now mostly ARCH=powerpc, so to make life easier allow use to use ARCH=powerpc and convert it to ARCH=ppc. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2008-04-13Add apollon board MAINTAINERS entryKyungmin Park
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
2008-04-13Fix OneNAND readKyungmin Park
It should access with 16-bit instead of 8-bit Now it uses the generic memcpy with 8-bit access. It means it reads wrong data from OneNAND. Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
2008-04-13Fix OneNAND erase commandKyungmin Park
It mis-calculates the block address. Also fix DECLARE_GLOBAL_DATA_PTR in env_onenand. Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
2008-04-13Support for LinkStation / KuroBox HD and HG PPC modelsGuennadi Liakhovetski
This patch is based on the port by Mihai Georgian (see linkstation.c for Copyright information) and implements support for LinkStation / KuroBox HD and HG PPC models from Buffalo Technology, whereby HD is deactivated at the moment, pending network driver fixing. Notice to users: this is pretty much a barebone port. Support for network on HG models is already in the U-Boot mainline, but you might also want patches to switch fan / phy modes depending on the negotiated ethernet parameters. This patch also doesn't support console switching, booting EM mode, Buffalo specific ext2 magic number. So, if you want to use any of those, you need additional patches. Otherwise this patche provides a fully functional u-boot with a network console on your system. Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
2008-04-13Add CONFIG_MII_INIT support to related boardsTsiChung Liew
Replace CONFIG_8xx and CONFIG_MCF532x to CONFIG_MII_INIT in cmd_init.c. Add CONFIG_MII_INIT to board configuration files that use mii_init() in cmd_init.c. Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com> Acked-by: Ben Warren <biggerbadderben@gmail.com>
2008-04-13Update CONFIG_PCIAUTO_SKIP_HOST_BRIDGE to related boardsTsiChung Liew
Remove test for CONFIG_MPC5200 in drivers/pci/pci_auto.c and define CONFIG_PCIAUTO_SKIP_HOST_BRIDGE in related board configuration files. Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
2008-04-13Introduce phys_size_t and move phys_addr_t into asm/types.hKumar Gala
Also add CONFIG_PHYS_64BIT on powerpc to deal with 32-bit ppc's that have larger physical addresses like 44x, 85xx, and 86xx. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2008-04-13Rename include/md5.h to include/u-boot/md5.hAndy Fleming
Some systems have md5.h installed in /usr/include/. This isn't the desired file (we want the one in include/md5.h). This will avoid the conflict. This fixes the host tools building problem by creating a new directory for U-Boot specific header files. [Patch by Andy Fleming, modified to use separate directory by Wolfgang Denk] Signed-off-by: Wolfgang Denk <wd@denx.de> Signed-off-by: Andy Fleming <afleming@freescale.com> Acked-by: Timur Tabi <timur@freescale.com>
2008-04-13drivers: code clean upDave Liu
Signed-off-by: Dave Liu <daveliu@freescale.com>
2008-04-13drivers: clean up the ata_piix.hDave Liu
Signed-off-by: Dave Liu <daveliu@freescale.com>
2008-04-13doc: english polishing for README.sataDave Liu
according to gvb's suggestion, polishing for the doc. Signed-off-by: Jerry Van Baren <gerald.vanbaren@ge.com> Signed-off-by: Dave Liu <daveliu@freescale.com>
2008-04-13Fix warnings introduced by I2C bus speed setting patchKumar Gala
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>