summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-04-06Blackfin: add workaround for anomaly 05000242Mike Frysinger
DESCRIPTION: If the DF bit is set prior to a hardware reset, the PLL will continue to divide CLKIN by 2 after the hardware reset, but the DF bit itself will be cleared in the PLL_CTL register. WORKAROUND: Reprogram the PLL with DF cleared if the desire is to not divide CLKIN by 2 after reset. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-04-06Blackfin: add workaround for anomaly 05000171Mike Frysinger
DESCRIPTION: The Boot ROM is executed at power up/reset and changes the value of the SICA_IWR registers from their default reset value of 0xFFFF, but does not restore them. WORKAROUND: User code should not rely on the default value of these registers. Set the desired values explicitly. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-04-06Blackfin: update anomaly sheetsMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-04-06Blackfin: nand: flush peripheral before polling itGraf Yang
We need to make sure the data written to the nand flash controller makes it there before we start polling its status register. Otherwise, we may get stale data and return before the controller is actually ready. Signed-off-by: Graf Yang <graf.yang@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Acked-by: Scott Wood <scottwood@freescale.com>
2009-04-06Blackfin: spi: make cs deassert function deterministicTodor I Mollov
Blackfin SPI driver was not driving the SPI chip-select high before putting the chip-select signals into tri-state mode. This is probably something that slipped by unnoticed in most designs. If the signals are put directly into a tri-state mode, then the board is relying on the pull-up resistors to pull up the chip-select before the next transaction. Most of the time this is fine, except when you have two transactions that follow each other very closely, such as the flash erase and read status register commands. In this case I was seeing a 500ns separation between the transactions. In my setup, with a 10kOhm pull-up, it would meet timing spec about half the time and resulted in intermittent errors. (A stronger pull up would fix this, but our design is targeted for low power consumption and a 3.3kOhm @ 3.3v is 3.3mW of needless power consumption.) I modified the spi_cs_deactivate() function in bfin_spi.c to drive the chip-selects high before putting them into tri-state. For me, this resulted in a rise time of 5ns instead of the previous rise time of about 1us, and fully satisfied the timing spec of the chip. Signed-off-by: Todor I Mollov <tmollov@ucsd.edu> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-04-05Merge branch 'master' of git://git.denx.de/u-boot-armWolfgang Denk
2009-04-05integratorap: fix PCI supportJean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-04-05OMAP3: Update Overo pin mux for new expansion boardDirk Behme
A new Overo expansion board uses GPIO 14, 21, 22 and 23 for LED's and switches. This patch changes the pinmux configuration for those pins. They were previously set up for unused MMC3_DAT4-7. Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Dirk Behme <dirk.behme@googlemail.com>
2009-04-05arm: unify reset commandJean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-04-05arm: clean cache managementJean-Christophe PLAGNIOL-VILLARD
unify arm cache management except for non standard cache as ARM7TDMI Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-04-05arm: update co-processor 15 accessJean-Christophe PLAGNIOL-VILLARD
import system.h from linux Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-04-05ARM: add the imx31_phycore_eet target to MAINTAINERSGuennadi Liakhovetski
imx31_phycore_eet is a variant of the imx31_phycore board with a few extensions, which justifies a separate entry in the MAINTAINERS list, whereas normally all entries sharing a single configuration file and a board/ directory have only one entry in MAINTAINERS. Reported-by: Wolfgang Denk <wd@denx.de> Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
2009-04-05ARM: fix out-of-tree build of imx31_phycore_eetGuennadi Liakhovetski
Fix out-of-tree build of the imx31_phycore_eet target. Reported-by: Wolfgang Denk <wd@denx.de> Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
2009-04-05mpc5200: reduce delays in i2cJon Smirl
The previous code waited 1000us before checking i2c status. Measurement shows i2c is usually ready in under 50us. Change the polling interval to 15us, loop 6,667 times to keep the polling timeout constant at 100ms.
2009-04-05OMAP: Fix compile issueSanjeev Premi
Fixes this compile error: board.c: In function 'do_switch_ecc': board.c:339: error: 'cmd_tbl_t' has no member named 'help' make[1]: *** [board.o] Error 1 make[1]: Leaving directory `/db/psp_git/users/a0756819/u-boot/cpu/arm_cortexa8/omap3' make: *** [cpu/arm_cortexa8/omap3/libomap3.a] Error 2 This is due to the fact that current command uses long help for the usage print even if the CONFIG_SYS_LONGHELP is not enabled. (Thanks Jean-Christophe for explanation). Signed-off-by: Sanjeev Premi <premi@ti.com>
2009-04-05s3c64xx: fix the wrong gpio offsetMinkyu Kang
This patch fix the wrong gpio offset Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
2009-04-05Move machine specific code to board at s3c64xx (v2)Kyungmin Park
Move machine specific code to smdk6400. Some board use OneNAND instead of NAND. Some register MP0_CS_CFG[5:0] are controled by both h/w and s/w. So it's better to use macro instead of hard-coded value. Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
2009-04-05ZOOM1 Remove legacy NAND definesTom Rix
Signed-off-by: Tom Rix <Tom.Rix@windriver.com>
2009-04-05OMAP3 Fix multiline formatting in board init files.Tom Rix
Signed-off-by: Tom Rix <Tom.Rix@windriver.com>
2009-04-05Update CHANGELOG, coding style cleanup.Wolfgang Denk
2009-04-05One more fix for building env_embedded.oWolfgang Denk
In addition to the changes for CONFIG_ENV_IS_IN_FLASH as done in commit afcbce07, we also need to do the same for CONFIG_ENV_IS_IN_EEPROM and CONFIG_ENV_IS_IN_NVRAM. Signed-off-by: Wolfgang Denk <wd@denx.de>
2009-04-04common/image.c: Relocate strings in tables.Scott Wood
Without this, u-boot can crash or print garbage if the original link address no longer points to a valid string. Signed-off-by: Scott Wood <scottwood@freescale.com>
2009-04-04mpc8260: Fill in brg's clock-frequency in device tree.Scott Wood
Signed-off-by: Scott Wood <scottwood@freescale.com>
2009-04-04MPC8260ADS: Add nfsboot/ramboot to default environment.Scott Wood
This brings it in line with other Freescale boards. Signed-off-by: Scott Wood <scottwood@freescale.com>
2009-04-04UBI/cfi-mtd: Fix mtd name for multiple chipsAndreas Huber
On platforms with multiple NOR chips, currently only the first one can be selected using the "ubi part" command. This patch fixes this problem by using different names for the NOR "mtd devices". It also changes the name of the NOR MTD device from "cfi-mtd" to "norX" (X indexing the device numer) to better match the mtdparts defaults. Signed-off-by: Stefan Roese <sr@denx.de> Signed-off-by: Andreas Huber <andreas.huber@keymile.com>
2009-04-04tools/setlocalversion: use git svn instead of git-svnPeter Korsgaard
Use the new "git <subcmd>" syntax instead of the deprecated "git-<subcmd>". Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-04-04eSPI: add the eSPI register supportMingkai Hu
Signed-off-by: Mingkai Hu <Mingkai.hu@freescale.com>
2009-04-04cmd_mmc: add support for device command for selecting mmc deviceMinkyu Kang
This patch improves device command for selecting mmc device Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
2009-04-04Small fix to m5282evbAlan Carvalho de Assis
This is just a small fix to get u-boot on m5282evb. Signed-off-by: Alan Carvalho de Assis <acassis@gmail.com>
2009-04-04UBIFS: add R/O compatibilityArtem Bityutskiy
Now UBIFS is supported by u-boot. If we ever decide to change the media format, then people will have to upgrade their u-boots to mount new format images. However, very often it is possible to preserve R/O forward-compatibility, even though the write forward-compatibility is not preserved. This patch introduces a new super-block field which stores the R/O compatibility version. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Acked-by: Adrian Hunter <Adrian.Hunter@nokia.com> Signed-off-by: Stefan Roese <sr@denx.de>
2009-04-04more command usage cleanupMike Frysinger
Fix up a few dangling commands like in "Command usage cleanup" commit. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-04-04Separate mtdparts command from jffs2Ladislav Michl
On Thu, Mar 19, 2009 at 01:30:36PM +0100, Stefan Roese wrote: > Currently the mtdparts commands are included in the jffs2 command support. > This doesn't make sense anymore since other commands (e.g. UBI) use this > infrastructure as well now. This patch separates the mtdparts commands from > the jffs2 commands making it possible to only select mtdparts when no JFFS2 > support is needed. ... and to make it useful for NAND chips as well, we should also remove now unrelated CONFIG_JFFS2_NAND. Note that struct part_info etc is in jffs2/load_kernel.h which is a bit misleading filename for that purpose, but that can be fixed later (tm). Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
2009-04-04smc91111_eeprom: move board-specific init into SMC91111_EEPROM_INIT()Mike Frysinger
Rather than sticking Blackfin-specific stuff into the eeprom example, use an indirect macro so that any board can override it with their own magic sauce in their board config file. Also fix some spurious semi-colons in defines while I'm at it ... Signed-off-by: Mike Frysinger <vapier@gentoo.org> CC: Ben Warren <biggerbadderben@gmail.com>
2009-04-04mpc52xx phy: initialize only when neededSascha Hauer
Do not initialize phy on startup, instead initialize it when we actually need it. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-04-04Merge branch 'master' of git://git.denx.de/u-boot-at91Wolfgang Denk
2009-04-04at91sam9263ek: enable hush and auto complete supportJean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Acked-by: Stelian Pop <stelian@popies.net>
2009-04-04at91: move dataflash spi driver to drivers/spiJean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-04-04at91: move usb driver to drivers/usbJean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-04-04at91rm9200: Reset updateJean-Christophe PLAGNIOL-VILLARD
Update the rm9200 reset sequence to try executing a board-specific reset function and move specific board reset to board. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-04-04at91rm9200: move serial shutdown code to serial driversJean-Christophe PLAGNIOL-VILLARD
introduce serial_exit for this purpose. Use it only when the rm9200 serial driver is active Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-04-04at91rm9200: move serial driver to drivers/serialJean-Christophe PLAGNIOL-VILLARD
add CONFIG_AT91RM9200_USART to activate the driver Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-04-04Add support for the AT91RM9200EK Board.Ulf Samuelsson
The AT91RM9200-EK Evaluation Board supports the AT91RM9200 ARM9-based 32-bit RISC microcontroller and enables real-time code development and evaluation. Here is the chip page on Atmel website: http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3507 with - NOR (cfi driver) - DataFlash - USB OHCI - Net - I2C (hard) Signed-off-by: Ulf Samuelsson <ulf@atmel.com> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-04-04add dataflash mmc mux missing supportJean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-04-04at91rm9200dk: Move conditional compilation to MakefileJean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-04-04at91: rename DATAFLASH_MMC_SELECT to CONFIG_DATAFLASH_MMC_SELECTJean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-04-04at91sam9: add watchdog supportJean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-04-04at91sam9/at91cap: spi init add hardware chip select supportJean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-04-04netstar: fix crc32.c dependancy locationJean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-04-04Merge branch 'master' of git://git.denx.de/u-boot-mpc85xxWolfgang Denk
2009-04-04MPC8260ADS: Define CONFIG_HAS_ETH0.Scott Wood
This is required so that the MAC address will be updated in the device tree. Signed-off-by: Scott Wood <scottwood@freescale.com>