- 11 6月, 2008 3 次提交
-
-
由 Sergei Poselenov 提交于
Signed-off-by: NSergei Poselenov <sposelenov@emcraft.com>
-
由 Wolfgang Grandegger 提交于
This patch adds basic support for the TQM8548 module from TQ-Components (http://www.tqc.de/) including DDR2 SDRAM initialisation and support for eTSEC 3 and 4 Furthermore Flash buffer write has been enabled to speed up output to the Flash by approx. a factor of 10. Signed-off-by: NThomas Waehner <thomas.waehner@tqs.de> Signed-off-by: NWolfgang Grandegger <wg@grandegger.com>
-
由 Wolfgang Grandegger 提交于
This is a re-write of the NAND FSL UPM driver using the more universal hwcontrol callback (instead of the cmdfunc callback). Here is a brief list of furher modifications: - For the time being, the UPM setup writing the UPM array has been removed from the driver and must now be done by the board specific code. - The bus width definition in "struct fsl_upm_nand" is now in bits to comply with the corresponding Linux driver and 8, 16 and 32 bit accesses are supported. - chip->dev_read is only set if fun->dev_ready != NULL, which is required for boards not connecting the R/B pin. - A few issue have been fixed with MxMR bit manipulation like in the corresponding Linux driver. Note: I think the "io_addr" field of "struct fsl_upm" could be removed as well, because the address is already determined by "nand->IO_ADDR_[RW]", but I'm not 100% sure. This patch has been tested on a TQM8548 modules with the NAND chip Micron MT29F8G08FABWP. This patch is based on the following patches posted to this list a few minutes ago: PPC: add accessor macros to clear and set bits in one shot 83xx/85xx/86xx: add more MxMR local bus definitions Signed-off-by: NWolfgang Grandegger <wg@grandegger.com> Acked-by: NAnton Vorontsov <avorontsov@ru.mvista.com>
-
- 04 6月, 2008 5 次提交
-
-
由 Stefan Roese 提交于
On AD7414 the first value upon bootup is not read correctly. This is most likely because of the 800ms update time of the temp register in normal update mode. To get current values each time we issue the "dtt" command including upon powerup we switch into one-short mode. This patch fixes the problem on AD7414 equipped boards (Sequoia, Canyonlands etc), that temp value printed in the bootup log was incorrect. Signed-off-by: NStefan Roese <sr@denx.de>
-
由 Haavard Skinnemoen 提交于
This adds a new SPI flash subsystem. Currently, only AT45 DataFlash in non-power-of-two mode is supported, but some preliminary support for other flash types is in place as well. Signed-off-by: NHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
-
由 Hans-Christian Egtvedt 提交于
This adds a driver for the SPI controller found on most AT91 and AVR32 chips, implementing the new SPI API. Changed in v4: - Update to new API - Handle zero-length transfers appropriately. The user may send a zero-length SPI transfer with SPI_XFER_END set in order to deactivate the chip select after a series of transfers with chip select active. This is useful e.g. when polling the status register of DataFlash. Signed-off-by: NHaavard Skinnemoen <hskinnemoen@atmel.com>
-
由 Haavard Skinnemoen 提交于
This patch gets rid of the spi_chipsel table and adds a handful of new functions that makes the SPI layer cleaner and more flexible. Instead of the spi_chipsel table, each board that wants to use SPI gets to implement three hooks: * spi_cs_activate(): Activates the chipselect for a given slave * spi_cs_deactivate(): Deactivates the chipselect for a given slave * spi_cs_is_valid(): Determines if the given bus/chipselect combination can be activated. Not all drivers may need those extra functions however. If that's the case, the board code may just leave them out (assuming they know what the driver needs) or rely on the linker to strip them out (assuming --gc-sections is being used.) To set up communication parameters for a given slave, the driver needs to call spi_setup_slave(). This returns a pointer to an opaque spi_slave struct which must be passed as a parameter to subsequent SPI calls. This struct can be freed by calling spi_free_slave(), but most driver probably don't want to do this. Before starting one or more SPI transfers, the driver must call spi_claim_bus() to gain exclusive access to the SPI bus and initialize the hardware. When all transfers are done, the driver must call spi_release_bus() to make the bus available to others, and possibly shut down the SPI controller hardware. spi_xfer() behaves mostly the same as before, but it now takes a spi_slave parameter instead of a spi_chipsel function pointer. It also got a new parameter, flags, which is used to specify chip select behaviour. This may be extended with other flags in the future. This patch has been build-tested on all powerpc and arm boards involved. I have not tested NIOS since I don't have a toolchain for it installed, so I expect some breakage there even though I've tried fixing up everything I could find by visual inspection. I have run-time tested this on AVR32 ATNGW100 using the atmel_spi and DataFlash drivers posted as a follow-up. I'd like some help testing other boards that use the existing SPI API. But most of all, I'd like some comments on the new API. Is this stuff usable for everyone? If not, why? Changed in v4: - Build fixes for various boards, drivers and commands - Provide common struct spi_slave definition that can be extended by drivers - Pass a struct spi_slave * to spi_cs_activate and spi_cs_deactivate - Make default bus and mode build-time configurable - Override default SPI bus ID and mode on mx32ads and imx31_litekit. Changed in v3: - Add opaque struct spi_slave for controller-specific data associated with a slave. - Add spi_claim_bus() and spi_release_bus() - Add spi_free_slave() - spi_setup() is now called spi_setup_slave() and returns a struct spi_slave - soft_spi now supports four SPI modes (CPOL|CPHA) - Add bus parameter to spi_setup_slave() - Convert the new i.MX32 SPI driver - Convert the new MC13783 RTC driver Changed in v2: - Convert the mpc8xxx_spi driver and the mpc8349emds board to the new API. Signed-off-by: NHaavard Skinnemoen <hskinnemoen@atmel.com> Tested-by: NGuennadi Liakhovetski <lg@denx.de>
-
由 Kumar Gala 提交于
* The cfi_flash.c memset fix actual allows the board to boot so there is a bit more going on here than just resolving warnings associated with uninitialized variables. * include/asm/bitops.h:302: warning: '__swab32p' is static but used in inline function 'ext2_find_next_zero_bit' which is not static Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
-
- 29 5月, 2008 1 次提交
-
-
由 Dirk Behme 提交于
For NAND erase sizes smaller than one NAND erase block, erase percentage output becomes grater than 100% e.g. -- cut -- > nand info Device 0: NAND 64MiB 1,8V 8-bit, sector size 16 KiB > nand erase 0x100000 0x2000 NAND erase: device 0 offset 0x100000, size 0x2000 Erasing at 0x100000 -- 200% complete. OK > -- cut -- Correct this and give user a warning that more is erased than specified: -- cut -- > nand erase 0x100000 0x2000 NAND erase: device 0 offset 0x100000, size 0x2000 Warning: Erase size 0x00002000 smaller than one erase block 0x00004000 Erasing 0x00004000 instead Erasing at 0x100000 -- 100% complete. OK > -- cut -- Signed-off-by: NDirk Behme <dirk.behme@gmail.com>
-
- 27 5月, 2008 1 次提交
-
-
由 Sergei Poselenov 提交于
In case of several PCI USB controllers on a board this variable specifys which controller to use. See doc/README.generic_usb_ohci for details. Signed-off-by: NSergei Poselenov <sposelenov@emcraft.com>
-
- 22 5月, 2008 2 次提交
-
-
由 Christian Eggers 提交于
Signed-off-by: NChristian Eggers <ceggers@gmx.de> Signed-off-by: NMarkus Klotzbuecher <mk@denx.de>
-
由 Sergei Poselenov 提交于
Add new configuration variable CONFIG_PCI_OHCI_DEVNO. In case of several PCI USB controllers on a board this variable specifys which controller to use. Also add USB support for sokrates board. See doc/README.generic_usb_ohci for details. Signed-off-by: NSergei Poselenov <sposelenov@emcraft.com> Signed-off-by: NMarkus Klotzbuecher <mk@denx.de>
-
- 21 5月, 2008 1 次提交
-
-
由 Wolfgang Denk 提交于
This commit gets rid of a huge amount of silly white-space issues. Especially, all sequences of SPACEs followed by TAB characters get removed (unless they appear in print statements). Also remove all embedded "vim:" and "vi:" statements which hide indentation problems. Signed-off-by: NWolfgang Denk <wd@denx.de>
-
- 19 5月, 2008 1 次提交
-
-
Signed-off-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
- 12 5月, 2008 1 次提交
-
-
由 Wolfgang Denk 提交于
This reverts commit 55774b51 which broke many PowerPC boards.
-
- 10 5月, 2008 5 次提交
-
-
由 Stelian Pop 提交于
This patch adds support for the ATMEL LCDC driver which is used on some AT91 and AVR platforms. Is has been tested with the AT91CAP9ADK, AT91SAM9261EK, AT91SAM9263EK and AT91SAM9RLEK boards. Adaptation for AVR32 should probably be easy. Signed-off-by: NStelian Pop <stelian@popies.net> Signed-off-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
由 Stelian Pop 提交于
This patch adds support for the AT91SAM9263 chip and the AT91SAM9263EK board. Signed-off-by: NStelian Pop <stelian@popies.net> Signed-off-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
由 Stelian Pop 提交于
This patch adds support for the AT91SAM9261 chip and the AT91SAM9261EK board. Signed-off-by: NStelian Pop <stelian@popies.net> Signed-off-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
由 Becky Bruce 提交于
Physical addrs need to be represented by phys_addr_t, not unsigned long. Otherwise, systems that use CONFIG_PHYS_64BIT are going to fail mightily. Signed-off-by: NBecky Bruce <becky.bruce@freescale.com>
-
由 Stelian Pop 提交于
When applying the AT91CAP9 patches upstream, something transformed the '@' character into the ' <at> ' sequence. The patch below restores the original form in all the places where it has been modified (the AT91CAP9 files, the AT91SAM9260 files which were copied from AT91CAP9, and a couple of other files where the ' <at> ' sequence was present). Signed-off-by: NStelian Pop <stelian@popies.net>
-
- 09 5月, 2008 1 次提交
-
-
由 Stelian Pop 提交于
When applying the AT91CAP9 patches upstream, something transformed the '@' character into the ' <at> ' sequence. The patch below restores the original form in all the places where it has been modified (the AT91CAP9 files, the AT91SAM9260 files which were copied from AT91CAP9, and a couple of other files where the ' <at> ' sequence was present). Signed-off-by: NStelian Pop <stelian@popies.net> Signed-off-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
- 04 5月, 2008 4 次提交
-
-
由 Wolfgang Denk 提交于
Signed-off-by: NWolfgang Denk <wd@denx.de>
-
由 Andre Schwarz 提交于
The Vitesse VSC8601 RGMII PHY has internal delay for both Rx and Tx clock lines. They are configured using 2 bits in extended register 0x17. Therefore CFG_VSC8601_SKEW_TX and CFG_VSC8601_SKEW_RX have been introduced with valid values 0-3 giving 0.0, 1.4,1.7 and 2.0ns delay. Signed-off-by: NAndre Schwarz <andre.schwarz@matrix-vision.de> Acked-by: NAndy Fleming <afleming@freescale.com> Acked-by: NBen Warren <biggerbadderben@gmail.com> -- drivers/net/tsec.c | 6 ++++++ drivers/net/tsec.h | 3 +++ 2 files changed, 9 insertions(+), 0 deletions(-)
-
Signed-off-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: NWolfgang Denk <wd@denx.de>
-
由 Stefan Roese 提交于
This patch fixes a problem with the month being read and written incorrectly (offset by one). This only gets visible by also using the Linux driver (rtc-m41t80). Tested on AMCC Canyonlands. Signed-off-by: NStefan Roese <sr@denx.de>
-
- 02 5月, 2008 1 次提交
-
-
由 Wolfgang Denk 提交于
Onenand needs a version of memcpy() which performs 16 bit accesses only; make sure the name does not conflict with the standard function. Signed-off-by: NWolfgang Denk <wd@denx.de>
-
- 01 5月, 2008 1 次提交
-
-
由 TsiChung Liew 提交于
The ethernet hang is caused by receiving buffer in DRAM is not yet ready due to access cycles require longer time in DRAM. Relocate DMA buffer descriptors from DRAM to internal SRAM. Signed-off-by: NTsiChung Liew <Tsi-Chung.Liew@freescale.com>
-
- 29 4月, 2008 3 次提交
-
-
Move non-inlied functions into specific drivers file Set get_prom as weak Signed-off-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: NVlad Lungu <vlad@comsys.ro> Signed-off-by: NBen Warren <biggerbadderben@gmail.com>
-
由 Guennadi Liakhovetski 提交于
Remove a redundant register definition, clean up some coding style violations. Signed-off-by: NGuennadi Liakhovetski <lg@denx.de> Signed-off-by: NBen Warren <biggerbadderben@gmail.com>
-
由 Guennadi Liakhovetski 提交于
Fix multiple compiler warnings related to argument type mismatch. Signed-off-by: NGuennadi Liakhovetski <g.liakhovetski@gmx.de>
-
- 28 4月, 2008 1 次提交
-
-
由 Wolfgang Denk 提交于
Signed-off-by: NWolfgang Denk <wd@denx.de>
-
- 25 4月, 2008 5 次提交
-
-
由 Matthias Fuchs 提交于
This patch adds a configurable flash auto protection list that can be used to make U-Boot protect flash regions in flash_init(). The idea has been discussed on the u-boot mailing list starting on Nov 18th, 2007. Even this patch brings a new feature it is used as a bugfix for 4xx platforms where flash_init() does not completely protect the monitor's flash range in all situations. U-Boot protects the flash range from CFG_MONITOR_BASE to (CFG_MONITOR_BASE + monitor_flash_len - 1) by default. This does not include the reset vector at 0xfffffffc. Example: #define CFG_FLASH_AUTOPROTECT_LIST {{0xfff80000, 0x80000}} This config option will auto protect the last 512k of flash that contains the bootloader on board like APC405 and PMC405. Signed-off-by: NMatthias Fuchs <matthias.fuchs@esd-electronics.com>
-
Signed-off-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
由 Vlad Lungu 提交于
Bus and phys address are not always the same Signed-off-by: NVlad Lungu <vlad@comsys.ro>
-
由 Wolfgang Denk 提交于
Signed-off-by: NWolfgang Denk <wd@denx.de>
-
由 Vlad Lungu 提交于
Signed-off-by: NVlad Lungu <vlad@comsys.ro>
-
- 24 4月, 2008 3 次提交
-
-
由 Kumar Gala 提交于
pme_msg_det exists only on PCIe controllers only set it if we are a "bridge". Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
-
由 Markus Klotzbücher 提交于
Signed-off-by: NMarkus Klotzbuecher <mk@denx.de>
-
由 Markus Klotzbücher 提交于
Signed-off-by: NMarkus Klotzbuecher <mk@denx.de> Signed-off-by: NDetlev Zundel <dzu@denx.de>
-
- 21 4月, 2008 1 次提交
-
-
由 Matthias Fuchs 提交于
This patch adds two missing free()s. Signed-off-by: NMatthias Fuchs <matthias.fuchs@esd-electronics.com>
-