Marc Kleine-Budde
7ee5aa3329
spi: dev->id is an int, not a string, fix debug output
...
Also convert __FUNCTION__ -> __func__
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2009-11-24 10:01:07 +01:00
Marc Kleine-Budde
a4b37431be
nand: print size parameter as unsinged not as signed
...
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2009-11-23 10:55:56 +01:00
Marc Kleine-Budde
c985ea0cb6
fec_imx: remove trailing whitespace
...
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2009-11-21 19:49:02 +01:00
Jean-Christophe PLAGNIOL-VILLARD
7aa3778f6d
arm: add Debug Communications Channel serial driver support
...
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-11-03 09:48:53 +01:00
Sascha Hauer
40a5f3de4e
Merge branch 'for-sascha' of git://uboot.jcrosoft.org/u-boot-v2 into from-jean
...
Conflicts:
board/a9m2440/a9m2440.c
board/pcm043/pcm043.c
drivers/nand/nand_imx.c
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-28 10:10:56 +01:00
Sascha Hauer
e6c306669b
imx_nand: add i.MX25/i.MX35 to Kconfig
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-26 15:45:04 +01:00
Sascha Hauer
5c6f33faa3
mxc_nand: add nand boot support for i.MX35
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-26 15:43:18 +01:00
Sascha Hauer
0ab9959f5a
mxc_nand: set proper spas / ecc size
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-26 15:42:49 +01:00
Sascha Hauer
a30b9d4872
IMX_NAND_BASE -> IMX_NFC_BASE
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-26 13:12:00 +01:00
Sascha Hauer
a968fad1cd
imx_nand: allow flash based bbt
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-26 13:06:02 +01:00
Sascha Hauer
422fbc0a28
mxc_nand: Add NFC V2 support
...
The v2 version of this controller is used on i.MX35/25 SoCs.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-26 13:06:02 +01:00
Sascha Hauer
ca479dcadd
mxc_nand: Make main/spare areas runtime configurable
...
The main/spare areas are on different addresses on later versions
of the controller, so make them configurable.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-26 13:06:02 +01:00
Sascha Hauer
55d3a71dff
imx_nand: make oob read work on 512b page nands
...
Seems READOOB isn't valid on 512b page NANDs also.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-26 13:06:02 +01:00
Sascha Hauer
ef0aa39fb4
imx_nand: add booting from 2k NAND support
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-26 13:06:02 +01:00
Sascha Hauer
011f6dca89
mxc_nand: determine page and block size depending on NFMS bit
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-26 13:06:02 +01:00
Sascha Hauer
9a9477323d
mxc_nand: remove unused defines
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-26 13:06:01 +01:00
Sascha Hauer
0596c0f8b7
mxc nand: modify send_page to send all pages, not only one
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-26 13:06:01 +01:00
Sascha Hauer
a0446d65ca
mxc_nand: simplify command processing
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-26 13:06:01 +01:00
Sascha Hauer
c90018407f
mxc_nand: remove debug param
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-26 13:06:01 +01:00
Sascha Hauer
7bbb4c0c8e
mxc_nand: use buffers
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-26 13:06:01 +01:00
Sascha Hauer
1987ee65ab
mxc_nand: introduce mxc_do_addr_cycle
...
This factors the address cycle to a seperate function. This
becomes useful in a later patch where we can simplify the
command processing by making use of this function.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-26 13:06:01 +01:00
Sascha Hauer
5c8b2a423b
nand_imx: merge send_read_page and send_prog_page
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-26 13:06:01 +01:00
Sascha Hauer
e9a313518a
nand_imx: fix largepage layout
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-26 13:06:01 +01:00
Eric Benard
8b05f7528c
imx-nand : remove wrong part of commit ca326e8882
...
previous fix for 2k pages was wrong so remove it
Signed-off-by: Eric Benard <eric@eukrea.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-23 09:42:01 +02:00
Jean-Christophe PLAGNIOL-VILLARD
e988d5d990
[PPC] Move include/asm-ppc/arch-* to arch/ppc/*/include/mach
...
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-10-22 14:21:30 +02:00
Jean-Christophe PLAGNIOL-VILLARD
b4521685bf
[SANDBOX] Move include/asm-sandbox/arch-* to arch/sandbox/*/include/mach
...
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-10-22 14:21:29 +02:00
Jean-Christophe PLAGNIOL-VILLARD
f6a579da9c
[ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach
...
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-10-22 14:21:25 +02:00
Jean-Christophe PLAGNIOL-VILLARD
7ac3805353
at91: add cpu devices common api
...
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-10-20 15:02:37 +02:00
Jean-Christophe PLAGNIOL-VILLARD
81362c2b2a
at91sam9: move to at91
...
this will allow to add at91rm9200 with the same api as done in the kernel
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-10-20 15:02:36 +02:00
Jean-Christophe PLAGNIOL-VILLARD
c495fe0fcd
cfi new: fix new disabling buffer support
...
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-10-20 15:02:31 +02:00
Sascha Hauer
420a3173f0
commands: remove maxargs
...
No need to check for maximum argument counts. The commands are
safe to be called with more arguments, so lets safe some bytes.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-19 16:18:33 +02:00
Sascha Hauer
15abc47dba
miiphy: Add missing lseek function
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-19 15:58:53 +02:00
Sascha Hauer
87e01f28cc
commands: return COMMAND_ERROR_USAGE
...
instead of calling u_boot_cmd_usage in each command to safe
space.
Signed-off-by: Sascha Hauer <sha@pengutronix.de>
2009-10-19 10:18:52 +02:00
Sascha Hauer
1d73a42006
imxfb: make framebuffer base address configurable
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-13 11:02:15 +02:00
Sascha Hauer
1b019090f7
fec_imx: do not typedef struct
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-13 10:46:49 +02:00
Sascha Hauer
0cf03ba98d
usb ehci: Fix braindamaged pointer-deref-cast-magic
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-12 15:26:51 +02:00
Sascha Hauer
aaf77314d8
sandbox tap driver: initialize device name
...
Signed-off-by: Sascha Hauer <sha@pengutronix.de>
2009-10-12 14:15:23 +02:00
Sascha Hauer
67551e7a76
fec_imx: initialize buffers on open time
...
We need to redo buffer initialization each time we open
the device, not only once on init time. Otherwise network
does not work if the last transfer was interrupted with
ctrl-c
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-09 11:57:07 +02:00
Sascha Hauer
16019c2ff9
nand_imx_v2: Use generic bbt scan function
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-05 10:14:41 +02:00
Sascha Hauer
762ba0dac5
nand_imx_v2: Use a two staged scan process
...
With the in between initialised writesize values we can
further initialise our nand controller.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-05 10:13:39 +02:00
Sascha Hauer
cfc0e32d25
nand_imx_v2: abstract i.MX25 specific stuff properly
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-05 09:14:07 +02:00
Sascha Hauer
d571b52a96
nand_imx_v2: make nand_boot_test command more flexible
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-05 08:36:16 +02:00
Sascha Hauer
261fdae6db
nand_imx_v2: use xzalloc for data buffers
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-05 08:33:37 +02:00
Sascha Hauer
a03a8de461
mc13783: fix spi mode, remove now unneeded double read
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-02 15:34:55 +02:00
Sascha Hauer
5931e20907
imx spi: Use gpio as chip selects
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-02 15:34:25 +02:00
Sascha Hauer
d9345607aa
Add USB device support
...
This patch adds support for USB devices. It uses
the Linux Kernel gadget API. Along with this patch
comes driver support for the Freescale (arc) USB OTG
Core and USB Device Firmware Update (DFU)
The serial gadget support is not working at the moment.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-09-25 14:31:26 +02:00
Sascha Hauer
3820307eb0
rename dma macros
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-09-25 13:34:57 +02:00
Sascha Hauer
3e4557a8b7
usb: remove unnecessary code
...
When usb_bulk_msg is done we have our result. No need
to poll for 'done' after this function.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-09-09 11:51:22 +02:00
Sascha Hauer
38fb079e3f
usb ehci driver: Add MMU support
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-09-09 11:51:18 +02:00
Sascha Hauer
721975ba22
usb ehci driver: Get rid of echi_alloc/free
...
Instead, use static arrays
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-09-09 11:51:12 +02:00