summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-04-22ppc4xx: Fix Canyonlands and Glacier default environment for fdt usageStefan Roese
This patch fixes the Canyonlands and Glacier default environment to better fit to the arch/powerpc device-tree kernels. The variables dealing with arch/ppc booting are removed, since these boards are supported only in arch/powerpc. Glacier uses the same config file as Canyonlands. Also, the Glacier now uses non-FPU rootpath, since 460GT has no FPU. Signed-off-by: Stefan Roese <sr@denx.de>
2008-04-22ppc4xx: Small coding style cleanup for the latest esd patchesStefan Roese
Signed-off-by: Stefan Roese <sr@denx.de>
2008-04-22ppc4xx: Update CPU strapping for PMC440 boardsMatthias Fuchs
This patch removes the temporary 'test' strapping option of the sbe command. The '667' strapping option now uses a PLB/PCI divider of 3. Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
2008-04-22ppc4xx: Remove unused APC405 strataflash driverMatthias Fuchs
The APC405 board support has been migrated to use the common CFI flash driver. Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
2008-04-22ppc4xx: Update APC405 configurationMatthias Fuchs
- enable esd's auto_update mechanism - support alternative flash layout on rev. 1.8 boards - update default environment - use common CFI flash driver - coding style cleanup Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
2008-04-22ppc4xx: Update APC405 board supportMatthias Fuchs
- enable esd's auto_update mechanism - fix LCD support on latest hardware revision (uses other LCD controller) - support alternative flash layout on rev. 1.8 boards - coding style cleanup Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
2008-04-22ppc4xx: update esd's common auto_update code for 405 boardsMatthias Fuchs
- Coding style cleanup (long lines) - improve handling of protected flash regions - remove dead code Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
2008-04-22ppc4xx: Update esd's common LCD code for 405 boardsMatthias Fuchs
- Coding style cleanup (long lines) - Add s1d13505 support - Make some functions return a result code instead of void Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
2008-04-22ppc4xx: Update FPGA image for APC405 boardsMatthias Fuchs
Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
2008-04-22ppc4xx: Update bootlogo for APC405 boardsMatthias Fuchs
Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
2008-04-22ppc4xx: Add dcache_enable() for 440Stefan Roese
dcache_enable() was missing for 440 and the patch 017e9b7925f74878d0e9475388cca9bda5ef9482 ["allow ports to override bootelf "] behavior uses this function. Note: Currently the cache handling functions like d/icache_disable/enable() are NOP's on 440. This may be changed in the future. Signed-off-by: Stefan Roese <sr@denx.de>
2008-04-21video: Add missing free for logo memoryMatthias Fuchs
This patch adds two missing free()s. Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
2008-04-21PATCH - Fix oob data copied into supplied bufferTroy Kisky
This patch correctly sets the oobavail variable and fixes a bug where the oob data was not valid when there where multiple groups in oobfree. First segment fixes a typo Second segment fixes a bug where oob data may be copied incorrectly. Third segment adds an error message when exiting due to write protect. Forth segment fixes a bug where oobavail may be set incorrectly. Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
2008-04-21ppc4xx: Fix sys_get_info() for 405GP(r)Matthias Fuchs
This patch assigns the correct EBC clock for 405GP(r) CPUs to PPC4xx_SYS_INFO structure. Without this patch U-Boot uses an uninitialized EBC clock in its startup message. Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
2008-04-20Makefile: remove nand_spl/System.map when cleaning up.Wolfgang Denk
2008-04-20MAKEALL: sort entries / lists.Wolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-04-1885xx: Fix size of cpu-release-addr propertyKumar Gala
The cpu-release-addr is defined as always being a 64-bit quanity regardless if we are running on a 32-bit or 64-bit machine.
2008-04-18Fix calculation of I2C clock for some 85xx chipsTimur Tabi
Some 85xx chips use CCB as the base clock for the I2C. Some use CCB/2, and some use CCB/3. There is no pattern that can be used to determine which chips use which frequency, so the only way to determine is to look up the actual SOC designation and use the right value for that SOC. Update immap_85xx.h to include the GUTS PORDEVSR2 register. Signed-off-by: Timur Tabi <timur@freescale.com>
2008-04-18Fix build breakage casued by commit c0559be371b2Wolfgang Denk
Change env_get_char from a global function ptr to a function. Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-04-18Coding Style cleanup, update CHANGELOG.Wolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-04-18Add support for u-boot in svn and localversion-* filesMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2008-04-18MX31ADS network and flash updatesGuennadi Liakhovetski
This patch allows U-Boot to use buffered writes to the Spansion NOR flash installed on this board, and eliminates long delays in network transfers after the board startup. Also modify flash layout to embed main and redundant environment blocks in the U-Boot image. Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
2008-04-18Support for the MX31ADS evaluation board from FreescaleGuennadi Liakhovetski
This patch adds support for the MX31ADS evaluation board from Freescale, initialization code is copied from RedBoot sources, also provided by Freescale. Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
2008-04-18ppc4xx: Change Canyonlands to support booting from 2k page NAND devicesStefan Roese
Signed-off-by: Stefan Roese <sr@denx.de>
2008-04-18ppc4xx: Adjust Canyonlands fixed DDR2 setup (NAND booting) to 512MB SODIMMStefan Roese
Signed-off-by: Stefan Roese <sr@denx.de>
2008-04-18ppc4xx: Add Glacier NAND booting targetStefan Roese
Signed-off-by: Stefan Roese <sr@denx.de>
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>