summaryrefslogtreecommitdiffstats
path: root/drivers
Commit message (Collapse)AuthorAgeFilesLines
* nand_imx: fix "used uninitialized" warning on mx25Baruch Siach2010-07-161-1/+1
| | | | | | | | drivers/nand/nand_imx.c: In function 'imx_nand_load_image': drivers/nand/nand_imx.c:1074: warning: 'host' is used uninitialized in this function Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'next'Sascha Hauer2010-07-0325-137/+350
|\
| * imx-ipu-fb: do not enable framebuffer on startupEric Bénard2010-06-301-2/+0
| | | | | | | | | | | | | | | | The board code or startup script should enable it when it actually wants to. Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * imx-ipu-fb: Add board specific hook to enable displayEric Bénard2010-06-301-0/+8
| | | | | | | | | | Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * cfi flash driver: Use generic progression bar functionSascha Hauer2010-06-281-1/+4
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * Merge remote branch 'origin/assorted-pu' into nextSascha Hauer2010-06-285-78/+94
| |\
| | * fb: add a usage counter to prevent double enable/disableSascha Hauer2010-06-241-0/+5
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| | * i.MX serial: Use readl/writel instead of pointer derefSascha Hauer2010-06-241-66/+71
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| | * usbnet: remove unused dev member in struct usbnetSascha Hauer2010-06-242-10/+11
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| | * imxfb: do not enable framebuffer on startupSascha Hauer2010-06-241-2/+0
| | | | | | | | | | | | | | | | | | | | | The board code or startup script should enable it when it actually wants to. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| | * imxfb: Add board specific hook to enable displaySascha Hauer2010-06-241-0/+7
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ehci: remove unused codeSascha Hauer2010-06-242-9/+0
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ehci: Force a ehci_halt before trying to resetSascha Hauer2010-06-241-0/+21
| | | | | | | | | | | | | | | | | | | | | As observed on OMAP some controllers do not like being resetted when running. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ehci: use is_timeout for timeout instead of udelay counterSascha Hauer2010-06-241-5/+7
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | usb: Check return value of host controller initSascha Hauer2010-06-241-1/+4
| | | | | | | | | | | | | | | | | | And do not scan the bus if initialization failed. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ehci: Handle hub port reset properlySascha Hauer2010-06-241-0/+18
| | | | | | | | | | | | | | | | | | This has been copied from the U-Boot ehci driver. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ehci: Make has_tt configurable via platform dataSascha Hauer2010-06-241-6/+12
| |/ | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * Merge branch 'net' into nextSascha Hauer2010-06-1716-35/+38
| |\
| | * rework device parametersSascha Hauer2010-06-173-21/+24
| | | | | | | | | | | | | | | | | | | | | | | | Change device parameters so that the memory management is in generic code. This also removes the need of storing statically initialized parameters as they are stored in a struct list_head for each device. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| | * network drivers: call net_receive directly instead of NetReceiveSascha Hauer2010-06-1713-14/+14
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | i2c: add driver for the MC34704 PMICBaruch Siach2010-06-103-0/+144
| |/ | | | | | | | | Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | nor: don't use sector for ERASE_STARTWolfram Sang2010-06-291-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Similar to ac2d4d71ba493fd638ae0bf1a530a51c76d3c53d, copy the behaviour from Linux which does: cfi_send_gen_cmd(0x80, cfi->addr_unlock1, chip->start, map, cfi, cfi->device_type, NULL); Notice the third parameter which is simply chip->start. Needed for some SST-flashes. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | i2c: fix adapter_list manipulationBaruch Siach2010-06-171-1/+1
|/ | | | | Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i2c: implement i2c_get_adapter()Sascha Hauer2010-05-261-1/+23
| | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i2c-imx: change log level for No ACKEric Bénard2010-05-261-1/+1
| | | | | Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i.MX25 : add Framebuffer supportEric Benard2010-05-172-3/+20
| | | | | Signed-off-by: Eric Benard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* fsl_udc: make it work with MMU onSascha Hauer2010-05-031-5/+6
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* cfi_flash: use flash_write_word instead of reimplementing it againUwe Kleine-König2010-05-031-18/+1
| | | | | | | | | While at it remove some unused code and an unbalanced enable_interrupts(). Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* nor: Don't use the sector for the unlock sequenceWolfram Sang2010-05-031-8/+8
| | | | | | | | | | | | | | | Copy the behaviour from Linux which does: cfi_send_gen_cmd(0xAA, cfi->addr_unlock1, chip->start, map, cfi, cfi->device_type, NULL); ... (Notice the third parameter which is simply chip->start). Solves erase problems with SST flashes. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Revert "nand_imx: Speed up sequential read"Sascha Hauer2010-05-031-47/+13
| | | | | | | This breaks at least on v1 type controllers with 2k pages. Lets revert it for now and rework it. This reverts commit d5578b81799a61eecca90152a3a1c392caab3638.
* fix miiphy allocJan Weitzel2010-04-141-4/+4
| | | | | | | | if fec was allocated using malloc. if fec->miiphy->dev->driver != 0 miiphy_probe is not called Signed-off-by: Jan Weitzel <J.Weitzel@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'next'Sascha Hauer2010-04-066-23/+81
|\
| * i.MX21: support framebufferIvo Clarysse2010-04-021-0/+9
| | | | | | | | | | | | | | | | This patch allows using the i.MX (LCDC) framebuffer driver on boards using an i.MX21 SoC. Signed-off-by: Ivo Clarysse <ivo.clarysse@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * netx eth driver: remove local definition of ARRAY_SIZESascha Hauer2010-03-301-2/+0
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * pass arguments to dma_* as unsigned long as the kernel doesSascha Hauer2010-03-303-4/+6
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * imx_nand: use memcpy for copying from/to bufferSascha Hauer2010-03-301-2/+2
| | | | | | | | | | | | | | | | We do not need to use memcpy32 in read_buf/write_buf because in these functions we only access SDRAM and not the internal SRAM buffer. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * nand_imx: Speed up sequential readSascha Hauer2010-03-301-13/+47
| | | | | | | | | | | | | | | | When reading a page from nand prefetch the next page afterwards to keep the controller busy. This way we can improve sequential reading from NAND which is the common case for barebox. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * nand_imx: use optimized memcpySascha Hauer2010-03-301-2/+17
| | | | | | | | | | | | | | | | | | | | The internal SRAM buffer of the i.MX NAND controller does not allow byte accesses. We use the memcpy32 function to handle this. If we have assembler optimized string functions we can do better because they won't do byte accesses when source and target are word aligned. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | nand_imx: clear INT_MSK to fix i.MX21 nand bootSascha Hauer2010-03-311-2/+2
|/ | | | | | | | For some weird reason this fixes nand boot on i.MX21. Since interrupts are globally disabled it doesn't hurt on other SoCs. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Make some help comments less confusingJuergen Beisert2010-03-181-2/+4
| | | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'nor' into nextSascha Hauer2010-02-187-2118/+1196
|\
| * cfi_flash: move include/cfi_flash.c next to driverSascha Hauer2010-02-084-3/+657
| | | | | | | | | | | | | | | | This file has no useful things for others than the driver, so move it next to the driver and remove the corresponding include from other files. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * cfi_flash: remove old driver and switch to new oneSascha Hauer2010-02-086-2046/+515
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * cfi_flash_new: make code more readable, return is not a functionSascha Hauer2010-02-081-4/+5
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * cfi_flash_new: generate flash erase dots in common functionSascha Hauer2010-02-083-16/+3
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * cfi_flash_new: Safe indention level by bailing out earlier in error caseSascha Hauer2010-02-081-21/+24
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * cfi_flash_new: Fix Intel chipsSascha Hauer2010-02-081-39/+3
| | | | | | | | | | | | | | There was some mixup when to to a full status check and when to do a status check only. Fix this. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | drivers/video/Makefile: cleanup proper indentionMarc Kleine-Budde2010-02-161-2/+3
| | | | | | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* | Fix compile time errors when DEBUG is definedJuergen Beisert2010-02-121-2/+2
|/ | | | | | | | If the DEBUG macro is defined the compiler complains about a missing 'ipu_base' variable. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ep93xx eth driver: dump_xxx() cleanupMatthias Kaehlcke2010-02-031-27/+27
| | | | | | | | ep93xx eth driver dump_xxx() functions: Use %p to print pointer values, remove unnecessary parentheses and declare as static Signed-off-by: Matthias Kaehlcke <matthias@kaehlcke.net> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>