- May 29, 2009
-
-
Mike Frysinger authored
CS4 on SPI0 has a dedicated PH8 pin which needs to be enabled as a peripheral in order to work. Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
- May 23, 2009
-
-
Stefan Roese authored
This patch enables Smart Media (SMC) ECC byte ordering which is used on the PPC4xx NAND FLASH controller (NDFC). Without this patch we have incompatible ECC byte ordering to the Linux kernel NDFC driver. Signed-off-by:
Stefan Roese <sr@denx.de> Acked-by:
Scott Wood <scottwood@freescale.com>
-
- May 15, 2009
-
-
Detlev Zundel authored
Signed-off-by:
Detlev Zundel <dzu@denx.de>
-
- Apr 29, 2009
-
-
Stefan Roese authored
With this patch non-uniform NOR FLASH chips (chips with multiple erase regions) can be exported via the cfi-mtd layer and therefor used by UBI. We select the largest sector size as erasesize. The cfi driver will make sure that the smaller sectors are handled correctly. Signed-off-by:
Stefan Roese <sr@denx.de>
-
- Apr 28, 2009
-
-
Anatolij Gustschin authored
Fix bug in drawing long version/info strings: U-Boot version string like "U-Boot 2009.03-05647-g7c51e06 (Apr 23 2009 - 12:40:00) MPC83XX" is long and doesn't wrap around correctly while drawing beside the logo. Such long strings partially overwrite the logo. This patch is an attempt to fix it. Signed-off-by:
Anatolij Gustschin <agust@denx.de>
-
- Apr 27, 2009
-
-
Stefan Roese authored
With this patch the NAND and OneNAND devices are registered in the MTD subsystem and can then be referenced by the mtdcore code (e.g. get_mtd_device_nm()). This is needed for the new "ubi part" command syntax without the flash type parameter (nor|nand|onenand). Signed-off-by:
Stefan Roese <sr@denx.de>
-
Stefan Roese authored
This patch removes this compilation warning when CONFIG_MTD_PARTITIONS is defined: nand_base.c: In function 'nand_release': nand_base.c:2922: warning: implicit declaration of function 'del_mtd_partitions' Signed-off-by:
Stefan Roese <sr@denx.de>
-
Detlev Zundel authored
As the common code also handles baudrate switching, which the board specific vct.c driver did not support, this is one of the rare occassions where deleting code actually adds a feature :) Signed-off-by:
Detlev Zundel <dzu@denx.de> Acked-by:
Stefan Roese <sr@denx.de> Acked-by:
Shinya Kuribayashi <shinya.kuribayashi@necel.com>
-
Peter Tyser authored
__attribute__ follows gcc's documented syntax and is generally more common than __attribute. This change is only asthetic and should not affect functionality. Signed-off-by:
Peter Tyser <ptyser@xes-inc.com>
-
David Brownell authored
Make the U-Boot dm9000 driver read addresses from EEPROM just like Linux does ... read six bytes, instead of reading twelve bytes and then discarding every other one. Using the right Ethernet address is a big win. Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net> Acked-by:
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Acked-by:
Ben Warren <biggerbadderben@gmail.com>
-
Yoshihiro Shimoda authored
Fix the problem that cannot access actual data when CPU data cache enabled. Signed-off-by:
Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com> Tested-by:
Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com> Acked-by:
Ben Warren <biggerbadderben@gmail.com>
-
- Apr 16, 2009
-
-
David Brownell authored
Fix dependency goofage: it should certainly be possible to have the partition support without bringing in UBI commands. Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net> Acked-by:
Stefan Roese <sr@denx.de>
-
Jean-Christophe PLAGNIOL-VILLARD authored
calculate dynamically the clock rate and pllb setting for usb Signed-off-by:
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
- Apr 06, 2009
-
-
Graf Yang authored
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>
-
Remy Bohmer authored
This Patch adds Support for PXA27X UDC. (Rebased to drivers/usb reorganisation) Signed-off-by:
Vivek Kutal <vivek.kutal@azingo.com> Signed-off-by:
Remy Bohmer <linux@bohmer.net>
-
Jean-Christophe PLAGNIOL-VILLARD authored
move to linux usb driver organisation as following drivers/usb/gadget drivers/usb/host drivers/usb/musb Signed-off-by:
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by:
Remy Bohmer <linux@bohmer.net>
-
Todor I Mollov authored
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>
-
- Apr 04, 2009
-
-
Wolfgang Denk authored
-
Andreas Huber authored
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>
-
Sascha Hauer authored
Do not initialize phy on startup, instead initialize it when we actually need it. Signed-off-by:
Sascha Hauer <s.hauer@pengutronix.de>
-
Jean-Christophe PLAGNIOL-VILLARD authored
Signed-off-by:
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
Jean-Christophe PLAGNIOL-VILLARD authored
Signed-off-by:
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
Jean-Christophe PLAGNIOL-VILLARD authored
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>
-
Jean-Christophe PLAGNIOL-VILLARD authored
add CONFIG_AT91RM9200_USART to activate the driver Signed-off-by:
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
Ulf Samuelsson authored
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>
-
Jean-Christophe PLAGNIOL-VILLARD authored
Signed-off-by:
Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by:
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
Kumar Gala authored
In set_ddr_laws() when we determined how much of the size requested to be mapped was covered by the the first LAW we needed to recalculate the size based on what was actually mapped. Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
Kumar Gala authored
Rename the pci header for FSL HW so we can move some prototypes in there and stop doing explicit externs Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
- Apr 03, 2009
-
-
unsik Kim authored
Mflash is fusion memory device mainly targeted consumer eletronic and mobile phone. Internally, it have nand flash and other hardware logics and supports some different operation (ATA, IO, XIP) modes. IO mode is custom mode for the host that doesn't have IDE interface. (Many mobile targeted SoC doesn't have IDE bus) This driver support mflash IO mode. Followings are brief descriptions about IO mode. 1. IO mode based on ATA protocol and uses some custom command. (read confirm, write confirm) 2. IO mode uses SRAM bus interface. Signed-off-by:
unsik Kim <donari75@gmail.com>
-
Detlev Zundel authored
Fix problems introduced in commit 7b5611cd [inka4x0: Add hardware diagnosis functions for inka4x0] which redefined MSR_RI which is already used on PowerPC systems. Also eliminate redundant definitions in ps2mult.h. More cleanup will be needed for other redundant occurrences though. Signed-off-by:
Detlev Zundel <dzu@denx.de>
-
Scott Wood authored
Legacy NAND is marked for feature removal after April 2009 (i.e. this upcoming release). There are still several boards that reference it (though many do so only for disk-on-chip support which has been silently disabled for a while now). These boards will now fail to build with #error, though the code is still there if the user removes #error. The plan is to remove the code outright in the next release, along with any board code that refers to it (such as board/esd/common/auto_update.c). Also, remove the legacy NAND API description from README.nand. Signed-off-by:
Scott Wood <scottwood@freescale.com>
-
- Apr 02, 2009
-
-
Mike Frysinger authored
I can't find anywhere in the datasheet that says the status register needs 3 dummy bytes sent to it before being able to read back the first real result. Tests on a Blackfin board show that after writing the opcode, the status register starts coming back immediately. So only write out the read status register opcode before polling the result. Signed-off-by:
Mike Frysinger <vapier@gentoo.org> CC: Jason McMullan <mcmullan@netapp.com> CC: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
-
Mike Frysinger authored
Since timeouts are only hit when there is a problem in the system, we don't want to prematurely timeout on a functioning setup. Thus having low timeouts (in milliseconds) doesn't gain us anything in the production case, but rather increases likely hood of causing problems where none otherwise exist. Signed-off-by:
Mike Frysinger <vapier@gentoo.org> CC: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
-
Mike Frysinger authored
Signed-off-by:
Mike Frysinger <vapier@gentoo.org> CC: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
-
Mike Frysinger authored
Some SPI flash drivers like to have extended id information available (like the spansion flash), so rather than making it re-issue the ID cmd to get at the last 2 bytes, have the common code read 5 bytes rather than just 3. This also matches the Linux behavior where it always reads 5 id bytes from all flashes. Signed-off-by:
Mike Frysinger <vapier@gentoo.org> Acked-by:
Haavard Skinnemoen <haavard.skinnemoen@atmel.com> CC: Mingkai Hu <Mingkai.hu@freescale.com>
-
Mike Frysinger authored
The common SPI flash code reads the idcode and passes it down to the SPI flash driver, so there is no need to read it again ourselves. Signed-off-by:
Mike Frysinger <vapier@gentoo.org> Acked-by:
Haavard Skinnemoen <haavard.skinnemoen@atmel.com> CC: Jason McMullan <mcmullan@netapp.com> CC: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
-
Mike Frysinger authored
Signed-off-by:
Mike Frysinger <vapier@gentoo.org> Acked-by:
Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
-
Mike Frysinger authored
Signed-off-by:
Mike Frysinger <vapier@gentoo.org> Acked-by:
Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
-
Jean-Christophe PLAGNIOL-VILLARD authored
- AT45DB321D - AT45DB161D - AT45DB081D - AT45DB041D - AT45DB021D - AT45DB011D Signed-off-by:
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
Mingkai Hu authored
Add MTD SPI Flash support for S25FL008A, S25FL016A, S25FL032A, S25FL064A, S25FL128P. Signed-off-by:
Mingkai Hu <Mingkai.hu@freescale.com> Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-