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
Sascha Hauer
c8d8bf9d58
MX25/MX35 Nand support
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-09-08 12:42:56 +02:00
Sascha Hauer
83ff0b6dff
nand_base: We have to ignore the -EUCLEAN error
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-09-08 12:42:55 +02:00
Sascha Hauer
d8863de370
imx serial: add mx25 support
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-09-08 12:42:55 +02:00
Sascha Hauer
78df9a19ad
usb: when unregistering usb devices, remove them from device list
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-09-08 12:42:55 +02:00
Sascha Hauer
77a3b6a96a
ehci: Restore state after td timeout
...
Clear overlay token after TD timeout so that the
next transfer works.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-09-08 10:36:18 +02:00
Sascha Hauer
2bb0a3c4dc
imx nand: Make use of optimized string functions
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-08-19 10:52:00 +02:00
Sascha Hauer
e471a5fd39
fec imx27: Add MMU support
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-08-19 10:51:39 +02:00
Sascha Hauer
283736a63c
imx_nand: Skip bbt scan during initialization
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-08-18 15:45:09 +02:00
Sascha Hauer
e9dc699882
i.MX fb: Add support for overlay framebuffer
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-08-13 10:42:59 +02:00
Sascha Hauer
ecfac0f302
Merge branch 'docu_update' of octopus:/home/jbe/work/u-boot-v2 into jbe
2009-07-31 15:13:02 +02:00
Sascha Hauer
79baaa503f
Add framebuffer support
...
This patch adds framebuffer support and a driver for i.MX[12]
framebuffer devices.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-07-31 15:08:21 +02:00
Juergen Beisert
b8b205c72b
Improve or fix various parameter documentation
...
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
2009-07-31 13:24:43 +02:00
Sascha Hauer
6437a0156a
fec_imx: Make sure MII speed is correct before reading the phy
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-07-30 16:09:59 +02:00
Sascha Hauer
217b7d8573
nand: Add size parameter
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-07-21 18:37:32 +02:00
Sascha Hauer
2f0a6d1050
miiphy: add device pointer to struct cdev
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-07-21 18:37:14 +02:00
Sascha Hauer
8b09e24a36
ethernet driver: Do not overwrite devname
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-07-21 18:36:47 +02:00
Sascha Hauer
58f5a971fa
cdev fixes for new boards
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-07-21 16:55:49 +02:00
Sascha Hauer
e81b9b7816
serial_netx: Fix compiler warning
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-07-21 16:41:47 +02:00
Sascha Hauer
7373dc1215
fec_mpc5200: fix compiler warning
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-07-21 16:41:47 +02:00
Sascha Hauer
02ba8a0542
get rid of device ids
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-07-21 16:41:47 +02:00
Sascha Hauer
2f8df2a003
add a device_d to ethernet devices
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-07-21 16:41:46 +02:00
Sascha Hauer
56139274fd
spi: remove bogus setup of proxy device
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-07-21 16:41:46 +02:00
Sascha Hauer
4b34297cfb
Get rid of remaining DEVICE_TYPE_* usage
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-07-21 16:41:46 +02:00
Sascha Hauer
ae302919c6
Get rid of DEVICE_TYPE_CONSOLE usage
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-07-21 16:41:45 +02:00
Sascha Hauer
6e921fcb3c
Get rid of DEVICE_TYPE_ETHER usage
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-07-21 16:41:45 +02:00
Sascha Hauer
b7a9f4e6ce
mc13783 cdev
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-07-21 16:41:45 +02:00
Sascha Hauer
a2b7cd183b
introduce cdev
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-07-21 16:41:44 +02:00
Eric Benard
ca326e8882
Fix 2k page size NAND for iMX27
...
Signed-off-by: Eric Benard <eric@eukrea.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-07-16 09:46:34 +02:00
Sascha Hauer
001fd57523
smc91111: use miiphy functions for autonegotiation
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-07-09 15:22:43 +02:00
Juergen Beisert
bf9679991a
Adding the network driver for the SMSC91C111 ethernet device.
...
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
2009-07-01 14:36:40 +02:00
Juergen Beisert
5139e618b8
Add basic architecture support for Samsung's S3C2410 and S3C2440 CPU.
...
It includes a
- driver for the internal UART
- driver for the internal NAND controller
- support to boot from NAND
- PLL handling
- SDRAM initialisation
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
2009-07-01 14:36:40 +02:00
Juergen Beisert
5d56a46c0a
Bring back endianess awareness
...
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
2009-07-01 14:36:39 +02:00
Juergen Beisert
cd175ec7d2
Remove all ARM __raw_* functions. They are mixed all over
...
the place. This clean up all ARM architectures to use only one set
of io functions.
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
2009-07-01 14:35:35 +02:00
Sascha Hauer
8bd42496f7
mtd: Replace DEBUG by MTD_DEBUG
...
DEBUG is already used for another purpose by U-Boot
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-06-10 13:54:37 +02:00
Wolfram Sang
bc4492252e
Refactor imx-NAND-init
...
Put board specific stuff to board-specific files.
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
2009-06-04 10:31:14 +02:00
Sascha Hauer
31c25dd6a3
new cfi driver: change function order to a more common one
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-05-25 16:52:28 +02:00
Sascha Hauer
42c9801f66
cfi driver: change function order to a more common one
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-05-25 16:52:24 +02:00
Sascha Hauer
7538474c45
usbnet: Check return value
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-05-25 16:46:37 +02:00
Sascha Hauer
dd51cabe4a
select MIIPHY for usbnet
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-05-19 12:34:20 +02:00
Marc Kleine-Budde
6e71dcc9bc
[miiphy] add missing lseek
...
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2009-05-19 09:31:55 +02:00
Marc Kleine-Budde
c18c577722
[mac] add force link support
...
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2009-05-18 16:20:04 +02:00
Marc Kleine-Budde
4a770377d1
[miiphy] add feature to force link present
...
If a NIC's MII isn't connected to a PHY but directly to a switch port,
the switch doesn't sent a link signal to the NIC. (Because strictly
speaking, there isn't any ethernet link at all.)
This patch adds a force link feature to the phy, to cope with this
situation.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2009-05-18 16:20:04 +02:00
Marc Kleine-Budde
dfc1d8ef6b
[macb] clear RMII bit when using plain MII
...
When operating in plain MII mode, the driver assumes the RMII bit not
set. Although this is the power on reset value, clearing this bit helps
when playing with different network setups.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2009-05-18 16:20:04 +02:00
Karsten Schwinne
f75a8a68f3
[cfi] add autoprobing, use cfi size for flash chips size
...
If a flash chip has been added with the size of "0" the cfi's size is
used for the flash chip.
Signed-off-by: Karsten Schwinne <kartsten.schwinne@de.bucurus.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2009-05-18 16:20:04 +02:00
Sascha Hauer
252f3bac8c
imx serial driver: add input frequency change support
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-05-18 12:15:47 +02:00
Sascha Hauer
1ecc871b3a
imx_spi: make locally used function static
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-05-13 15:59:29 +02:00
Sascha Hauer
6082401d9a
nand_imx: implement proper timeout in wait_op_done
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-05-13 15:58:57 +02:00
Sascha Hauer
13c5d46ca1
cs8900: Whitespace changes, replace __FUNCTION__ with __func__
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-04-28 08:48:10 +02:00
Ivo Clarysse
85d0c46258
u-boot-v2: CS89x0 ethernet support
...
Support for CS89X0 ethernet controllers.
Tested with CS8900A ref. F on MX21ADS.
Signed-off-by: Ivo Clarysse <ivo.clarysse@gmail.com>
2009-04-28 08:39:32 +02:00
Ivo Clarysse
bb10e16b00
u-boot v2 IMX NAND fix for i.MX21
...
Without the patch below, the result of the second READID will not
match that of the first READID, yielding
nand_get_flash_type: second ID read did not match ec,36 against a5,bd
instead of
NAND device: Manufacturer ID: 0xec, Chip ID: 0x36 (Samsung NAND
64MiB 1,8V 8-bit)
Signed-off-by: Ivo Clarysse <ivo.clarysse@gmail.com>
2009-04-15 13:33:22 +02:00
Sascha Hauer
dcb35fbaf1
imx nand: Add debug command
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-04-14 17:10:12 +02:00
Sascha Hauer
0bf132f961
imx nand: Use correct bad block position
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-04-14 17:10:12 +02:00
Sascha Hauer
277b605eae
USB support
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-04-07 10:56:22 +02:00
Sascha Hauer
e97918fbf1
miiphy: add miiphy_unregister function
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-04-07 10:42:33 +02:00
Sascha Hauer
03c2189aa8
initial USB support imported from U-Boot-1
...
imported from commit bd76729bcbfd64b5d016a9b936f058931fc06eaf.
Only minor changes to make it compile.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-04-07 10:42:33 +02:00
Ivo Clarysse
fcfbd10d3c
Add Freescale i.MX21 support
...
Signed-off-by: Ivo Clarysse <ivo.clarysse@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-04-07 08:55:04 +02:00
Sascha Hauer
b7ed4d8fa9
fec: fail on open when autonegotiation fails
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-04-06 11:15:45 +02:00
Sascha Hauer
fa38059695
fec_imx: whitespace changes
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-04-06 11:10:49 +02:00
Sascha Hauer
8cf4685826
fec_imx: do not typedef struct types #2
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-04-06 11:08:29 +02:00
Sascha Hauer
63d08b5107
fec_imx: do not typedef struct types
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-04-06 11:08:24 +02:00
Sascha Hauer
ec671e3827
fec_imx: Fix RMII mode, remove struct-over-regsiter crap
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-04-06 11:08:16 +02:00
Sascha Hauer
331819b180
i.MX serial driver: remove duplicated defines
...
Also, the i.MX1 is the only one different, so change the #ifdef
accordingly
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-03-31 11:17:57 +02:00
Sascha Hauer
5a2e3219f5
i.MX FEC Kconfig: add a ARCH_HAS_FEC_IMX symbol
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-03-31 11:03:49 +02:00
Sascha Hauer
7166742b04
i.mx31: add nand support
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-03-19 18:23:52 +01:00
Sascha Hauer
2703e60e43
fec imx27: rename to fec_imx
...
This driver is not only used on i.MX27 but on i.MX35 and i.MX25, so
rename it to a more generic name
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-03-19 12:21:48 +01:00
Sascha Hauer
8e7f17e658
fec imx27: add remove function
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-03-19 12:21:35 +01:00
Sascha Hauer
3fdcf5b6c8
imx serial driver: add flush support
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-03-19 12:21:29 +01:00
Sascha Hauer
309a75baaf
i.MX use fecclk for fec and gtpclk for gpt
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-02-20 18:28:38 +01:00
Sascha Hauer
a77e2a830b
smc911x: fix wrong printf
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-02-20 18:27:35 +01:00
Sascha Hauer
7e60a6ee8e
fec imx27: refacture
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-02-20 18:25:33 +01:00
Sascha Hauer
1e20d6bc20
fec imx27: Add RMII support
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-02-20 18:25:24 +01:00
Sascha Hauer
370f550107
fec imx27: configure phy address from platform data
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-02-20 18:25:16 +01:00
Sascha Hauer
5392235bdd
fec mx27: add timeout for transmission
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-02-20 18:25:10 +01:00
Sascha Hauer
faa4c039c3
FEC MX27: fix typo
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-02-20 18:24:59 +01:00
Sascha Hauer
7d304edb7a
i.MX serial: Add mx35 support
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-02-06 14:44:46 +01:00
Sascha Hauer
d32c471741
Add MX35 FEC support
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-02-06 14:44:46 +01:00
Sascha Hauer
1a3c1d3de1
i.MX: introduce imx_get_uartclk function
...
We need this function for MX35 support since the uart clock is not
equal to perclk1 anymore. Uh, it's really time to implement some
real clock API instead of this cruft.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-01-13 14:30:56 +01:00
Marc Kleine-Budde
f96f2d8e01
[macb] use phy_addr supplied by platform data
...
The driver was not using the phy address supplied by the platform
data. With this patch the miiphy.address is set phy addr supplied
by the mac platform data.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2009-01-13 12:12:40 +01:00
Sascha Hauer
db572dce5f
cfi driver: Limit device size to actual size
...
When probing CFI, limit the device size to the actual probed size of
the flash
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-12-17 18:18:44 +01:00
Sascha Hauer
41f4253b6c
mc13783: Add lseek
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-12-09 11:24:47 +01:00
Sascha Hauer
e761b60e25
i.MX NAND: ifdef MX27 specific register
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-11-10 17:53:24 +01:00
Sascha Hauer
87d4b9ec09
[AT9SAM] implement different ECC modes for NAND chips
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-10-31 14:04:42 +01:00
Marc Kleine-Budde
27a7de44ee
[at91sam9] Nand driver
...
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-10-27 17:29:29 +01:00
Marc Kleine-Budde
983630ef2b
[miiphy] declare miiphy_{read,write} functions static
...
This patch declares miiphy_read and miiphy_write static.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2008-10-27 12:18:25 +01:00
Marc Kleine-Budde
a3624bc1a6
[imx] nand: use __iomem annotation
...
This patche adds __iomem annotation to the nand_imx nand driver.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2008-10-27 12:18:25 +01:00
Nishanth Menon
e9976b7268
OMAP: Add GPMC NAND support
...
This patch adds support for a generic GPMC driver
also a GPMC controller driver to allow platforms
to add NAND devices generically.
Signed-off-by: Nishanth Menon <x0nishan@ti.com>
2008-09-15 10:11:05 +02:00
Nishanth Menon
ad84cbb078
NAND:Config change
...
Introduce config definitions similar to that
defined in Linux MTD layer. These allow us to
enable conditional features.
Signed-off-by: Nishanth Menon <x0nishan@ti.com>
2008-09-15 10:11:04 +02:00
Sascha Hauer
e3af15c054
nand: implement MEMSETBADBLOCK ioctl
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-09-02 17:20:33 +02:00
Sascha Hauer
6497c22742
mc13783 pmic: add open/close functions
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-09-02 16:23:54 +02:00
Sascha Hauer
bc7915cafa
atmel serial: add initialization and baudrate functions
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-26 11:40:51 +02:00
Sascha Hauer
4da7734725
macb eth driver: remove barrier() definition
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-26 11:40:51 +02:00
Sascha Hauer
313a618ce0
Move cfi flash drivers to drivers/nor as suggested by Nishanth Menon
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-25 09:31:04 +02:00
Sascha Hauer
99235fe5d2
cfi Flash (new) add missing open/close/lseek functions
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-21 17:01:19 +02:00
Sascha Hauer
e90e319aeb
Add i.MX NAND driver
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-13 16:52:14 +02:00
Sascha Hauer
733034c006
NAND: add Kconfig to drivers/nand
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-13 16:52:14 +02:00
Sascha Hauer
d9af366450
NAND: Add updated NAND support from Kernel
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-13 16:52:14 +02:00
Sascha Hauer
7b8baf6399
mx27 fec ethernet: remove memcpy
...
Instead of copying the received packet in memory, pass a pointer to the
packet to U-Boot
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-13 16:30:59 +02:00
Sascha Hauer
c10e20846d
at91sam ether: Make more configurable via platform_data
...
Pass RMII and phy address via platform data rather than hardcoded.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-01 11:33:12 +02:00
Sascha Hauer
ec1b86784d
[MIIPHY] Add default open/close functions
2008-08-01 08:58:06 +02:00
Sascha Hauer
ee6d36a540
- introduce ioctl call
...
- pass open/close/lseek through to drivers
2008-06-06 09:30:48 +02:00
Sascha Hauer
3f73e61600
add macb ethernet driver
2008-06-06 09:30:47 +02:00
Sascha Hauer
3d45abb7c4
[NAND] continue to make it work. Now works partly on at91sam9260
2008-06-06 09:30:39 +02:00
Sascha Hauer
f3351ebd78
add basic at91sam9260 support. Currently only second stage
...
bootloader is supported:
- No SDRAM initialisation
- No UART init / baudrate change
2008-06-06 09:30:32 +02:00
Nishanth Menon
cd008fb265
009-add-NS16550
...
[Patch 09/17] U-Boot-V2:Serial: Add support for NS16550 Driver.
This introduces support for NS16550 and related OMAP support. This driver is a port from Uboot v1 driver from OMAP's Uboot tree.
OMAP U-Boot V1 source is available here: http://linux.omap.com/pub/bootloader/3430sdp/u-boot-v1.tar.gz
Signed-off-by: Nishanth Menon<x0nishan@ti.com>
2008-06-05 19:45:21 +02:00
Menon, Nishanth
b9655280e2
This is Kconfig cleanup patch (not all configurations will use CFI, SPI, RAMFS and DEVFS).
...
* Enable CFI and SPI drivers menuconfig option to be able to disable them in menuconfig.
* Introduce capability to disable ramfs and devfs.
2008-05-12 15:59:48 +02:00
Sascha Hauer
4794a8ae7f
[miiphy]: fix compiler warning
2008-04-07 12:23:54 +02:00
Sascha Hauer
315bcf94f1
Change kernel style documentation to doxygen
...
Signed-off-by: Carsten Schlote <schlote@vahanus.net>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-04-04 14:45:04 +02:00
Sascha Hauer
2bdf73a210
Trivial documentation fix
2008-04-04 14:45:04 +02:00
Sascha Hauer
6020d321e8
use U-Boot standard types for variables.
...
The FEC driver used to typedef it's own variable types. Use standard
U-Boot types instead
Signed-off-by: Carsten Schlote <schlote@vahanus.net>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-04-04 14:45:04 +02:00
Sascha Hauer
b8fb74a466
fec i.MX27: Fix data buffer alignment
2008-03-14 13:04:56 +01:00
Sascha Hauer
a14a5c02f0
first (partly) running spi support
2008-03-14 12:59:55 +01:00
Sascha Hauer
906eea397a
beginning of SPI support
2008-03-11 22:13:06 +01:00
Sascha Hauer
066ac7abdb
[CFI driver] add missing flash protection for new driver
2008-02-26 11:55:41 +01:00
Sascha Hauer
be041ab8f4
fix compile bug introduced with last commit
2008-02-26 11:30:06 +01:00
Sascha Hauer
3d3c13d8f8
[CFI Driver] - Update Kconfig help texts
...
- Turn switch/case into if/else to be able to optimize out
unused code when not all bankwidths are needed
2008-02-26 11:28:55 +01:00
Sascha Hauer
51c840cd18
[CFI driver] For some Spansion flashes we have to write the
...
AMD_CMD_WRITE_TO_BUFFER command to the destination
address of the buffer write and not to the sector
beginning. Linux mtd does this as default, so I
assume this should work for other flashes aswell.
Reorder functions so that this change fits in nicely.
2008-02-26 10:32:25 +01:00
Sascha Hauer
d99f33eb25
[CFI Driver] Remove empty comments
2008-02-26 08:16:07 +01:00
Sascha Hauer
e3ac372bdf
[CFI Driver] Removed flash_find_sector(). It turned out to be a duplicate
...
of find_sector.
For rellocing the protect field, multiply with sizeof(uchar) instead
of sizeof(ulong).
2008-02-26 08:10:34 +01:00
Sascha Hauer
7f88a7844c
[CFI FLASH] Make the 'new' driver compile again and reorder functions to
...
get rid of static function declarations.
2008-02-25 18:41:25 +01:00
Sascha Hauer
8d4e06d3d5
[mpc5200 fec] revert to some old version (somehow my play version got into the
...
repository). Runtime tested on pcm030
2008-02-20 17:48:31 +01:00
Sascha Hauer
5928516b68
[i.MX27]: use correct clock for i.MX27 ethernet driver
2008-02-19 15:52:52 +01:00
Enrik Berkhan
0449be2dc1
Only change ADVERTISE_ALL bit
...
Signed-Off-By: Enrik Berkhan <Enrik.Berkhan@ge.com>
2008-01-23 12:13:23 +01:00
Marc Kleine-Budde
4da1393c0c
[sandbox] added ^\q to exit uboot
...
This patch adds the possibility to exit u-boot in sandbox mode by
pressing ^\q.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2007-11-29 10:22:49 +01:00
Juergen Beisert
dae2d42d9b
doc fixed in i.MX27 fec related files
...
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
2007-11-12 16:28:23 +01:00
Marc Kleine-Budde
57cae4e826
Merge branch 'ipe337'
2007-11-12 15:58:53 +01:00
Juergen Beisert
b2c4402b94
Fix wrong warning message
...
Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
2007-11-12 15:28:09 +01:00
Marc Kleine-Budde
880c221b76
[smsc911x] undef FLOW if already defined
...
fixes:
drivers/net/smc911x.c:334:1: warning: "FLOW" redefined
In file included from include/asm/blackfin.h:33,
from include/asm/system.h:29,
from include/asm/bitops.h:33,
from include/linux/bitops.h:69,
from include/common.h:31,
from drivers/net/smc911x.c:29:
include/asm/cpu/defBF561.h:1654:1: warning: this is the location of the previous definition
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2007-11-12 12:07:04 +01:00
Juergen Beisert
9b07bdbbdc
Merge branch 'docu'
2007-11-09 14:06:57 +01:00
Juergen Beisert
f4ba1fff89
adding and correcting driver's doc
...
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
2007-11-09 12:01:18 +01:00
Juergen Beisert
be4a1c4acc
setting correct buffer size
...
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
2007-11-09 09:57:16 +01:00
Juergen Beisert
903d775d32
adding first clean mx27 only fec driver
2007-11-08 16:24:51 +01:00
Juergen Beisert
e121848b4a
new revision, no volatile any more
2007-11-05 18:19:31 +01:00
Juergen Beisert
0a13be8de2
various docu added
2007-11-05 15:20:31 +01:00
Juergen Beisert
4cd877a840
saving added docu
2007-11-05 14:39:07 +01:00
Juergen Beisert
1cb7062653
integrating sha's changes into jbe's branch
2007-11-05 12:26:29 +01:00
sascha
3f90fc9d3e
NAND support work in progress
2007-10-20 01:13:46 +02:00
Juergen Beisert
5f26029b10
noisy support
2007-10-18 21:02:02 +02:00
sascha
75b605bfd2
Merge octopus:/home/git/projects/u-boot-v2
2007-10-18 11:17:32 +02:00
sascha
1b272d80f1
change functions containing 'mac' or 'enet' in its name to 'ethaddr'.
...
change the parameter name for ethernet devices to 'ethaddr' aswell.
2007-10-18 11:17:16 +02:00
Juergen Beisert
e1c9102d3b
make it work with all current CPUs
2007-10-18 00:00:02 +02:00
Juergen Beisert
3be8ed2fa1
adding i.MX31 CPU support
2007-10-17 17:57:55 +02:00
sascha
fa814e8fae
add default for case to avoid compiler warning
2007-10-16 14:49:31 +02:00
sascha
fdf739c7a5
move dm9000 specific stuff to platform_data
2007-10-16 13:55:48 +02:00
Sascha Hauer
09844c2254
add NAND to Kconfig
2007-10-15 17:52:36 +02:00
Sascha Hauer
c7eec0d521
add NAND to Makefile
2007-10-15 17:47:21 +02:00
Sascha Hauer
15a16e5f76
make NAND support compile
2007-10-15 17:16:25 +02:00
Sascha Hauer
cedcb274ae
add NAND Flash support. Initial import from u-boot-1.2.0
2007-10-12 10:04:54 +02:00
Sascha Hauer
a6c86a0b1b
remove hardcoded regsiter base addresses
2007-10-09 18:59:18 +02:00
Sascha Hauer
2bd6a5b543
make real code visible between debug code
2007-10-09 18:34:26 +02:00
Sascha Hauer
7ab263cec8
remove decoration
2007-10-09 18:17:41 +02:00
Sascha Hauer
ddd13222cf
reorder functions to get rid of static function declarations
2007-10-09 18:13:06 +02:00
Sascha Hauer
da3d281495
add some register bitmask values from the linux kernel
2007-10-09 18:09:17 +02:00
Sascha Hauer
3cbd38c922
serial_imx.c: now works on i.MX27
2007-10-09 17:18:08 +02:00
Sascha Hauer
ca99316c68
re-enable uart initialization
2007-10-08 00:52:44 +02:00
Sascha Hauer
c20d1208eb
blackfin serial driver: round clock divisor values
2007-10-04 18:32:08 +02:00
Sascha Hauer
16a49fbbd7
consolidate some printf() into one to safe space
2007-10-01 09:52:34 +02:00
Sascha Hauer
b3dc734018
declare lots of functions static
2007-09-28 10:07:26 +02:00
Sascha Hauer
4d17340dc1
remove unused includes
2007-09-21 21:30:25 +02:00
Sascha Hauer
c1711479b0
remove unported includes and drivers
2007-09-21 14:14:05 +02:00
Sascha Hauer
a83669c197
remove usb/, i2c/ and video/ directories
2007-09-21 13:55:48 +02:00
Sascha Hauer
762019f198
remove unused drivers
2007-09-21 12:43:14 +02:00
Sascha Hauer
0dd68e795e
- putc is now putchar for better standard conformity
...
- make printf return int
2007-09-21 09:09:06 +02:00
Sascha Hauer
8b0fa292f6
- coding style
...
- turn endless loop into timeout loop
- remove preliminary debug crap
2007-09-12 16:57:01 +02:00
Sascha Hauer
13e43a3536
use timeout loop instead of udelay/counter combination
2007-09-11 10:22:00 +02:00
Sascha Hauer
59432c41ce
add blackfin network driver
2007-09-11 10:16:37 +02:00
Sascha Hauer
50a6dc9359
add blackfin serial driver
2007-09-11 10:16:13 +02:00
Sascha Hauer
6402a7d5b7
dm9000.c: return -0 -> return 0
2007-09-11 10:10:09 +02:00
Sascha Hauer
9a68d98b6a
add Hilscher netx serial driver
2007-09-05 12:54:14 +02:00
Sascha Hauer
4b72bf8449
add hilscher netx ethernet driver
2007-09-05 12:53:50 +02:00
Sascha Hauer
056a695c15
implement flash protection
2007-07-16 10:29:28 +02:00
Sascha Hauer
665291e693
implement memmap().
...
With this function we can get a pointer to directly memory mapped
devices like nor flash or RAM. Useful for bootm where we save one
memcopy when the image is mappable
2007-07-15 13:50:04 +02:00
Sascha Hauer
9b3761c445
whitespace cleanup
2007-07-15 13:46:45 +02:00
Sascha Hauer
149d273b80
add early console for mpc5200
2007-07-12 09:31:07 +02:00
Sascha Hauer
e054dd9ee4
do loadtask in ethernet driver
2007-07-12 09:22:25 +02:00
Sascha Hauer
c3243cfb03
use debug macro, some beautification
2007-07-05 21:47:48 +02:00
Sascha Hauer
30433b4db9
move gpio setup functions to board code
2007-07-05 21:44:39 +02:00
Sascha Hauer
75a10b942c
svn_rev_706
...
add file headers
2007-07-05 18:02:19 +02:00
Sascha Hauer
a107b04b30
svn_rev_698
...
add dummy init function
2007-07-05 18:02:18 +02:00
Sascha Hauer
d07a1b08f6
svn_rev_697
...
use xzalloc
2007-07-05 18:02:18 +02:00
Sascha Hauer
e74a1633aa
svn_rev_686
...
implement console baudrate switching
2007-07-05 18:02:17 +02:00
Sascha Hauer
98432d3925
svn_rev_683
...
more cleanups, fix compiler warnings
2007-07-05 18:02:16 +02:00
Sascha Hauer
f59546b79b
svn_rev_675
...
move serial and network drivers from cpu/ to drivers/
2007-07-05 18:02:15 +02:00
Sascha Hauer
2ae203a52e
svn_rev_659
...
remove ns7520 files. They are completely unused even in original u-boot
2007-07-05 18:02:14 +02:00
Sascha Hauer
b2c5310d4d
svn_rev_653
...
restructure tree, add reginfo command
2007-07-05 18:02:14 +02:00
Sascha Hauer
83e882ab00
svn_rev_628
2007-07-05 18:02:11 +02:00
Sascha Hauer
840a277e9f
svn_rev_627
2007-07-05 18:02:11 +02:00
Sascha Hauer
0a95963207
svn_rev_626
...
use generic phy
2007-07-05 18:02:11 +02:00
Sascha Hauer
6834609691
svn_rev_593
...
intrduce get_clock_* functions
2007-07-05 18:02:08 +02:00
Sascha Hauer
79928fb1d5
svn_rev_591
...
moved
2007-07-05 18:02:08 +02:00
Sascha Hauer
9ff9f6a5ef
svn_rev_579
...
miiphy
2007-07-05 18:02:06 +02:00
Sascha Hauer
955ed9aae1
svn_rev_573
...
cleanups, generic phy support
2007-07-05 18:02:06 +02:00
Sascha Hauer
14edc91f97
svn_rev_572
...
add miiphy support
2007-07-05 18:02:06 +02:00
Sascha Hauer
4f0d6f9b82
svn_rev_564
...
remove debug output
2007-07-05 18:02:05 +02:00
Sascha Hauer
58c95d74ad
svn_rev_563
...
unify menu style
2007-07-05 18:02:05 +02:00
Sascha Hauer
a640080692
svn_rev_562
...
unify menu style
2007-07-05 18:02:05 +02:00