summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeLines
* Consolidate strmhz() implementationHaavard Skinnemoen2008-08-21-57/+40
| | | | | | | | | | ARM, i386, m68k and ppc all have identical implementations of strmhz(). Other architectures don't provide this function at all. This patch moves strmhz() into lib_generic, reducing code duplication and providing a more unified API across architectures. Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
* fix mvbc_p board build warningsAndre Schwarz2008-08-21-6/+6
| | | | | | | fix build warnings @ mvBC-P board by using correct types, i.e. change out_be32 to out_be16 and out_8 accordingly. Signed-off-by: Andre Schwarz <andre.schwarz@matrix-vision.de>
* Makefile: fix posix support on findJean-Christophe PLAGNIOL-VILLARD2008-08-21-3/+3
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* Adding bootlimit/bootcount feature for MPC5XXX on TQM5200 BoardsAxel Beierlein2008-08-21-0/+22
| | | | | | Tested with TQM5200S on STK52XX.200 Board Signed-off-by: Axel Beierlein <belatronix@web.de>
* mod_i2c_mem() bugfixPeter Tyser2008-08-21-3/+3
| | | | | | | The last used chip, address, and address length were not being stored for the imm and imn commands. Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
* Fix typo in spelling of ATAPI.Steven A. Falco2008-08-21-2/+2
| | | | | | Correct a small spelling mistake. Signed-off-by: Steven A. Falco <sfalco@harris.com>
* Add a hook to allow board-specific PIO mode setting.Steven A. Falco2008-08-21-1/+49
| | | | | | | | | | | | | This patch adds a hook whereby a board-specific routine can be called to configure hardware for a PIO mode. The prototype for the board-specific routine is: int inline ide_set_piomode(int pio_mode) ide_set_piomode should be prepared to configure hardware for a pio_mode between 0 and 6, inclusive. It should return 0 on success or 1 on failure. Signed-off-by: Steven A. Falco <sfalco@harris.com>
* Replace enums in ata.h with an include of libata.hSteven A. Falco2008-08-21-60/+2
| | | | | | | | This patch removes some enums from ata.h and replaces them with an include of libata.h. This way, we eliminate duplicated code, and prevent errors whereby the different versions could be out of sync. Signed-off-by: Steven A. Falco <sfalco@harris.com>
* coldfire: fix CFI drivers activation with new macroJean-Christophe PLAGNIOL-VILLARD2008-08-21-3/+3
| | | | | | rename CFG_FLASH_CFI_DRIVER to CONFIG_FLASH_CFI_DRIVER Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* fdt: fdt addr w/o any args reports back the current working addressKumar Gala2008-08-21-0/+8
| | | | Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* fdt: added the ability to set initrd start/end via chosen commandKumar Gala2008-08-21-4/+17
| | | | Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* Add command to enable/disable interruptsKumar Gala2008-08-21-0/+51
| | | | Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* Merge branch 'master' of git://git.denx.de/u-boot-cfi-flashWolfgang Denk2008-08-21-3/+10
|\
| * CFI: Add CFI_CMDSET_INTEL_EXTENDED to fix flash_real_protect()Nick Spence2008-08-20-0/+1
| | | | | | | | | | | | | | This patch fixes a missing vendor code in the flash_real_protect() function. Signed-off-by: Nick Spence <nick.spence@freescale.com> Signed-off-by: Stefan Roese <sr@denx.de>
| * CFI: Fix AMD Legacy sector protectTsiChung Liew2008-08-20-3/+9
| | | | | | | | | | | | | | | | | | New implement sector lock and unlock or softlock commands do not exist in AMD legacy flash. Thus, causing issue when erasing AMD legacy flash (such as lv040) Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com> Signed-off-by: Stefan Roese <sr@denx.de>
* | Merge branch 'master' of git://git.denx.de/u-boot-avr32Wolfgang Denk2008-08-21-37/+1556
|\ \
| * | hammerhead/mimc200: Use CONFIG_FLASH_CFI_DRIVERHaavard Skinnemoen2008-08-20-2/+2
| | | | | | | | | | | | | | | | | | CFG_FLASH_CFI_DRIVER was recently renamed CONFIG_FLASH_CFI_DRIVER. Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
| * | Merge branch 'next' of git://git.denx.de/u-boot-avr32Haavard Skinnemoen2008-08-20-37/+1556
| |\ \ | | |/ | |/| | | | | | | | | | Conflicts: MAINTAINERS
| | * hammerhead: Add missing printf parameter to CONFIG_AUTOBOOT_PROMPTHaavard Skinnemoen2008-08-20-1/+1
| | | | | | | | | | | | Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
| | * favr-32-ezkit: Fix printf format warningsHaavard Skinnemoen2008-08-20-3/+3
| | | | | | | | | | | | Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
| | * MAINTAINERS: Sort avr32 section alphabeticallyHaavard Skinnemoen2008-08-20-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The rest of the MAINTAINERS file appears to be sorted almost-alphabetically, but entries for the newly added AVR32 boards were added somewhat randomly. This patch sorts the list alphabetically again. Also update my e-mail address. The old one still works, but it may not work forever. Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
| | * Merge branch 'mimc200' of git://git.denx.de/u-boot-avr32Haavard Skinnemoen2008-08-20-0/+512
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: MAKEALL Makefile
| | | * avr32: Add MIMC200 boardMark Jackson2008-08-20-0/+512
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The MIMC200 board is based on Atmel's NGW100 dev kit, but with an extra 8MByte FLASH and 128KByte FRAM. Signed-off-by: Mark Jackson <mpfj@mimc.co.uk> Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
| | * | Merge branch 'favr-32' of git://git.denx.de/u-boot-avr32Haavard Skinnemoen2008-08-06-351/+1560
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: MAINTAINERS MAKEALL Makefile
| | | * | avr32: add support for EarthLCD Favr-32 boardHans-Christian Egtvedt2008-08-06-0/+652
| | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds support for the Favr-32 board made by EarthLCD. This kit, which is also called ezLCD-101 when running with EarthLCD firmware, has a 10.4" touch screen LCD panel, 16 MB 32-bit SDRAM, 8 MB parallel flash, Ethernet, audio out, USB device, SD-card slot, USART and various other connectors for cennecting stuff to SPI, I2C, GPIO, etc. Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com> Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
| | * | Merge branch 'hammerhead' of git://git.denx.de/u-boot-avr32Haavard Skinnemoen2008-07-30-1325/+513
| | |\ \
| | | * | Add support for the hammerhead (AVR32) boardJulien May2008-07-30-1/+416
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Hammerhead platform is built around a AVR32 32-bit microcontroller from Atmel. It offers versatile peripherals, such as ethernet, usb device, usb host etc. The board also incooperates a power supply and is a Power over Ethernet (PoE) Powered Device (PD). Additonally, a Cyclone III FPGA from Altera is integrated on the board. The FPGA is mapped into the 32-bit AVR memory bus. The FPGA offers two DDR2 SDRAM interfaces, which will cover even the most exceptional need of memory bandwidth. Together with the onboard video decoder the board is ready for video processing. For more information see: http:///www.miromico.com/hammerhead Signed-off-by: Julien May <mailinglist@miromico.ch> [haavard.skinnemoen@atmel.com: various small fixes and adaptions] Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
| | * | | Merge branch 'eth-cleanup' of git://git.denx.de/u-boot-avr32Haavard Skinnemoen2008-07-30-84/+24
| | |\ \ \
| | | * | | Moved initialization of AVR32 Ethernet controllers to board_eth_init()Ben Warren2008-07-24-84/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Renamed initialization functions for atngw100 and atstk1000. Removed initializations for these boards from net/eth.c Signed-off-by: Ben Warren <biggerbadderben@gmail.com> Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
* | | | | | rtl8169: add support for RTL8110SCLYoshihiro Shimoda2008-08-18-6/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch fixes a problem that RTL8110SCL started transfer with an incorrect memory address. Signed-off-by: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
* | | | | | Fix dm9000 receive status and len little endian issueTsiChung Liew2008-08-18-6/+10
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The received status and len was in little endian format and caused the ethernet unable to proceed further. Add __le16_to_cpu() in dm9000_rx_status_8/16/32bit(). Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
* | | | | Clean up usage of icache_disable/dcache_disableKumar Gala2008-08-19-20/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is no point in disabling the icache on 7xx/74xx/86xx parts and not also flushing the icache. All callers of invalidate_l1_instruction_cache() call icache_disable() right after. Make it so icache_disable() calls invalidate_l1_instruction_cache() for us. Also, dcache_disable() already calls dcache_flush() so there is no point in the explicit calls of dcache_flush(). Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* | | | | Update linux bootm to support ePAPR client interfaceKumar Gala2008-08-19-10/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The ePAPR spec has some subtle differences from the current device tree based boot interface to the powerpc linux kernel. The powerpc linux kernel currently ignores the differences that ePAPR specifies. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* | | | | Minor code cleanup: keep lists sorted.Wolfgang Denk2008-08-18-8/+8
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* | | | | Add support for ADT7460 I2C monitor chipRicardo Ribalda Delgado2008-08-18-1/+86
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@uam.es>
* | | | | video: Clean drivers/video/MakefileMichal Simek2008-08-18-37/+8
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Michal Simek <monstr@monstr.eu>
* | | | | rtc: Clean drivers/rtc/MakefileMichal Simek2008-08-18-55/+49
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Michal Simek <monstr@monstr.eu>
* | | | | i2c: Clean drivers/i2c/ MakefileMichal Simek2008-08-18-18/+6
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Michal Simek <monstr@monstr.eu>
* | | | | Add 'license' command to U-Boot command lineHarald Welte2008-08-18-0/+123
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The 'license' command includes the U-Boot license (GPLv2) into the actual bootloader binary. The license text can be shown interactively at the U-Boot commandline. For products where the commandline can actually be accessed by the end user, this helps to prevent inadvertent GPL violations, since the GPLv2 license text can no longer be 'forgotten' to be included into the product. The 'license' command can be enabled by CONFIG_CMD_LICENSE. Signed-off-by: Harald Welte <laforge@openmoko.org>
* | | | | add 'unzip' command to u-boot commandlineHarald Welte2008-08-18-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [PATCH] add new 'unzip' command to u-boot commandline common/cmd_mem.c: new command "unzip srcaddr dstaddr [dstsize]" to unzip from memory to memory, and option CONFIG_CMD_UNZIP to enable it Signed-off-by: Werner Almesberger <werner@openmoko.org> Signed-off-by: Harald Welte <laforge@openmoko.org>
* | | | | Change CFG_ENV_SIZE to CFG_ENV_SECT_SIZE for SPI sector eraseTsiChung Liew2008-08-14-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The CFG_ENV_SIZE is not suitable used for SPI flash erase sector size if CFG_ENV_SIZE is less than CFG_ENV_SECT_SIZE. Add condition check if CFG_ENV_SIZE is larger than CFG_ENV_SECT_SIZE, calculate the right number of sectors for erasing. Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
* | | | | ColdFire: Multiple fixes for M5282EVBTsiChung Liew2008-08-14-6/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Incorrect CFG_HZ value, change 1000000 to 1000. Rename #waring to #warning. RAMBAR1 uses twice in start.S, rename the later to FLASHBAR. Insert nop for DRAM setup. And, env_offset in linker file. Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
* | | | | ColdFire: Move m5282evb from board to board/freescaleTsiChung Liew2008-08-14-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
* | | | | ColdFire: Move m5272c3 from board to board/freescaleTsiChung Liew2008-08-14-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
* | | | | ColdFire: Move m5271evb from board to board/freescaleTsiChung Liew2008-08-14-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
* | | | | ColdFire: Add M54451EVB platform support for MCF5445xTsiChung Liew2008-08-14-2/+1153
| | | | | | | | | | | | | | | | | | | | Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
* | | | | ColdFire: Add Serial Flash support for M54455EVBTsiChung Liew2008-08-14-0/+4
| | | | | | | | | | | | | | | | | | | | Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
* | | | | ColdFire: Implement SBF feature for M5445EVBTsiChung Liew2008-08-14-45/+538
| | | | | | | | | | | | | | | | | | | | Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
* | | | | ColdFire: Add SSPI feature for MCF5445xTsiChung Liew2008-08-14-7/+204
| | | | | | | | | | | | | | | | | | | | Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
* | | | | ColdFire: Use CFI Flash driver for M54455EVBTsiChung Liew2008-08-14-1328/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove non-common flash driver in board/freescale/m54455evb/flash.c. The non-cfi flash will use CONFIG_FLASH_CFI_LEGACY to configure the flash attribute. Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>