summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeLines
* Fix regression introduced by a typo in "Tidied other cpu/arm920t/start.S code"Guennadi Liakhovetski2008-04-17-1/+1
| | | | | | | | | | | | | | 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>
* Remove conflicting NAND IDMike Frysinger2008-04-17-2/+0
| | | | | | | | | | | 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>
* cpu/mips/cpu.c: Fix flush_cache bugShinya Kuribayashi2008-04-17-2/+2
| | | | | | | 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>
* TQM5200: fix default IDE reset levelMartin Krause2008-04-17-0/+3
| | | | | | | | | | | 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>
* mgcoge, mgsuv: realign CONFIG_EXTRA_ENV_SETTINGDetlev Zundel2008-04-17-53/+53
| | | | Signed-off-by: Detlev Zundel <dzu@denx.de>
* mgcoge, mgsuv: rename 'addcon' to 'addcons'Detlev Zundel2008-04-17-4/+4
| | | | | | | The latter name with 13 users is already established, so we will use that. Signed-off-by: Detlev Zundel <dzu@denx.de>
* IDE: fix bug in reset sequenceMartin Krause2008-04-17-0/+3
| | | | | | | | | | | | | 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>
* lwmon5: disable CONFIG_ZERO_BOOTDELAYSascha Laue2008-04-17-1/+0
| | | | Signed-off-by: Sascha Laue <sascha.laue@liebherr.com>
* ds174x: Fix warning on return in rtc_get and rtc_set functionsJean-Christophe PLAGNIOL-VILLARD2008-04-17-2/+1
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* cmd_log.c: Fix assignment differ in signednessJean-Christophe PLAGNIOL-VILLARD2008-04-17-1/+1
| | | | | | | 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>
* Remove duplicate #undef SHOW_INFO in drivers/usb/usb_ohci.cGururaja Hebbar K R2008-04-17-1/+0
| | | | Signed-off-by: gururaja hebbar <gururajakr@sanyo.co.in>
* s3c4510b_eth: fix 'packed' attribute ignored for fields of MACFrameJean-Christophe PLAGNIOL-VILLARD2008-04-17-8/+8
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* Additional PCI IDs for IDE and network controllersGuennadi Liakhovetski2008-04-17-0/+5
| | | | | | These PCI IDs are required by the Linkstation platforms. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
* Change env_get_char from a global function ptr to a function.Joakim Tjernlund2008-04-17-14/+14
| | | | | | This avoids an early global data reference. Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
* Fix watchdog POST for lwmon5Sascha Laue2008-04-13-1/+1
| | | | | | | 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>
* ata: update the libata.h from ata.h of linux kernelDave Liu2008-04-13-97/+561
| | | | | | | | 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>
* Allow use of ARCH=powerpc when buildingKumar Gala2008-04-13-0/+4
| | | | | | | 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>
* Add apollon board MAINTAINERS entryKyungmin Park2008-04-13-1/+6
| | | | Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
* Fix OneNAND readKyungmin Park2008-04-13-0/+13
| | | | | | | | 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>
* Fix OneNAND erase commandKyungmin Park2008-04-13-14/+27
| | | | | | | It mis-calculates the block address. Also fix DECLARE_GLOBAL_DATA_PTR in env_onenand. Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
* Support for LinkStation / KuroBox HD and HG PPC modelsGuennadi Liakhovetski2008-04-13-0/+1267
| | | | | | | | | | | | | | | | | 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>
* Add CONFIG_MII_INIT support to related boardsTsiChung Liew2008-04-13-4/+29
| | | | | | | | | 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>
* Update CONFIG_PCIAUTO_SKIP_HOST_BRIDGE to related boardsTsiChung Liew2008-04-13-3/+18
| | | | | | | 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>
* Introduce phys_size_t and move phys_addr_t into asm/types.hKumar Gala2008-04-13-22/+40
| | | | | | | 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>
* Rename include/md5.h to include/u-boot/md5.hAndy Fleming2008-04-13-3/+26
| | | | | | | | | | | | | | 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>
* drivers: code clean upDave Liu2008-04-13-18/+23
| | | | Signed-off-by: Dave Liu <daveliu@freescale.com>
* drivers: clean up the ata_piix.hDave Liu2008-04-13-11/+15
| | | | Signed-off-by: Dave Liu <daveliu@freescale.com>
* doc: english polishing for README.sataDave Liu2008-04-13-12/+12
| | | | | | | 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>
* Fix warnings introduced by I2C bus speed setting patchKumar Gala2008-04-13-4/+3
| | | | Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* Altera Stratix II supporteran liberty2008-04-13-12/+324
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds Support for Altera's Stratix II. Within your board specific init file you will have to call 1. fpga_init (/* relocated code offset. usually => */ gd->reloc_off); 2. fpga_add (fpga_altera, (Altera_desc*)&altera_desc); Altera_desc* contines (for example): { Altera_StratixII, /* part type */ passive_serial, /* interface type */ 1, /* bytes of data part can accept */ (void *)(&funcs), /* interface function table */ 0L, /* base interface address */ 0 /* implementation specific cookie */ } funcs is the interface. It is of type altera_board_specific_func. It looks like this: altera_board_specific_func func = { pre_fn, config_fn, status_fn, done_fn, clk_fn, data_fn, abort_fn, post_fn, }; you will have to implement these functions, which is usually bit banging some gpio. Signed-off-by: Eran Liberty <liberty@extricom.com>
* Update CHANGELOGWolfgang Denk2008-04-13-0/+98
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* Phytec Phycore-i.MX31 supportSascha Hauer2008-04-13-0/+472
| | | | | | | This patch adds support for the Phytec Phycore-i.MX31 board Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
* mx31 litekit supportSascha Hauer2008-04-13-0/+446
| | | | | | | This patch adds support for the mx31 litekit board Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
* add an i2c driver for mx31Sascha Hauer2008-04-13-0/+203
| | | | | | | This patch adds an i2c driver for Freescale i.MX processors Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
* core support for Freescale mx31Sascha Hauer2008-04-13-0/+647
| | | | | | | This patch adds the core support for Freescale mx31 Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
* Fix compile errorWolfgang Denk2008-04-13-1/+1
| | | | | | ...as suggested by Peter Pearse Signed-off-by: Wolfgang Denk <wd@denx.de>
* Separate omap24xx specific code from arm1136Sascha Hauer2008-04-13-40/+96
| | | | | | | | Move omap24xx code to cpu/arm1136/omap24xx, rename include/asm-arm/arch-arm1136 to cpu/arm1136/omap24xx. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
* disable caches before booting an app for Blackfin appsMike Frysinger2008-04-13-20/+42
| | | | | | | | | | | | It isn't generally save to execute applications outside of U-Boot with caches enabled due to the way the Blackfin processor handles caches (requires software assistance). This patch disables caches before booting an ELF or just booting raw code. The previous discussion on the patch was that we wanted to use weaks instead, but that proved to not be feasible when multiple symbols are involved, which puts us back at the ifdef solution. I've minimized the ugliness by moving the setup step outside of the main function. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* ppc: Get rid of unused machine type definitionsWolfgang Denk2008-04-13-73/+0
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* Coding Style cleanup; update CHANGELOGWolfgang Denk2008-04-13-294/+2133
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* Merge branch 'master' of /home/wd/git/u-boot/custodiansWolfgang Denk2008-04-13-148/+15461
|\
| * Merge branch 'master' of git://www.denx.de/git/u-boot-cfi-flashWolfgang Denk2008-04-13-30/+23
| |\
| | * cfi_flash: Support buffered writes on non-standard Spansion NOR flashGuennadi Liakhovetski2008-04-12-30/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some NOR flash chip from Spansion, for example, the s29ws-n MirrorBit series require different addresses for buffered write commands. Define a configuration option to support buffered writes on those chips. A more elegant solution would be to automatically detect those chips by parsing their CFI records, but that would require introduction of a fixup table into the cfi_flash driver. Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
| * | Merge branch 'master' of git://www.denx.de/git/u-boot-mpc83xxWolfgang Denk2008-04-13-6/+6
| |\ \
| | * | mpc83xx: Update DIMM data bus width test to support 40-bit widthLee Nipper2008-04-11-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 32-bit wide ECC memory modules report 40-bit width. Changed the DIMM data bus width test to 'less than 64' instead of 'equal 32'. Signed-off-by: Lee Nipper <lee.nipper@freescale.com> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
| | * | mpc83xx: Fix the bug of serdes initializationDave Liu2008-04-11-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently the serdes will not be initializated due to the partid's error. Signed-off-by: Dave Liu <daveliu@freescale.com> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
| | * | mpc83xx: Fix the SATA clock setting of 837x targetsDave Liu2008-04-11-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently the SATA controller clock is configured as CSB clock, usually the CSB clock is 400/333/266MHz. However, The SATA IP block is only guaranteed to operate up to 200 MHz as stated in the HW spec. The bug is reported by Joe D'Abbraccio <ljd015@freescale.com> This patch makes the SATA clock as half of CSB clock. Signed-off-by: Dave Liu <daveliu@freescale.com> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
| | * | mpc837xerdb: Fix warning: implicit declaration of function 'fdt_fixup_dr_usb'Jean-Christophe PLAGNIOL-VILLARD2008-04-11-1/+1
| | |/ | | | | | | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
| * | Merge branch 'master' of git://www.denx.de/git/u-boot-mpc85xxWolfgang Denk2008-04-13-3/+7
| |\ \
| | * | 85xx: Fix detection of MP cpu spin upKumar Gala2008-04-11-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We were looking at the wrong memory offset to determine of a secondary cpu had been spun up or not. Also added a warning message if the all the secondary cpus we expect don't spin up. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>