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
Sascha Hauer
634b6ac8b9
svn_rev_531
2007-07-05 18:02:02 +02:00
Sascha Hauer
36a60cf92b
svn_rev_526
...
CFG_CACHELINESIZE -> CONFIG_CACHELINE_SIZE
2007-07-05 18:02:01 +02:00
Sascha Hauer
84e84863d8
svn_rev_510
2007-07-05 18:02:00 +02:00
Sascha Hauer
737bf296b5
svn_rev_509
...
make console driver for mpc5xxx work
2007-07-05 18:02:00 +02:00
Sascha Hauer
998a23e50d
svn_rev_508
...
put driver back into business
2007-07-05 18:02:00 +02:00
Sascha Hauer
5b91878e18
svn_rev_507
...
moved
2007-07-05 18:02:00 +02:00
Sascha Hauer
e47684d5f5
svn_rev_505
2007-07-05 18:01:59 +02:00
Sascha Hauer
fa668fe184
svn_rev_502
...
complete multiple console support
2007-07-05 18:01:59 +02:00
Sascha Hauer
5735a34478
svn_rev_501
...
move linux_console driver to drivers/serial
2007-07-05 18:01:59 +02:00
Sascha Hauer
12eb42a6f9
svn_rev_485
...
serial driver cleanup
2007-07-05 18:01:58 +02:00
Sascha Hauer
de9740e6a6
svn_rev_484
...
moved
2007-07-05 18:01:58 +02:00
Sascha Hauer
a042aaae0a
svn_rev_451
2007-07-05 18:01:55 +02:00
Sascha Hauer
041c5e8b13
svn_rev_450
...
do autongotiation on probe and not on open, so this is done
when we actually need the phy.
We do not disable the phy now, that's not good. But at least
networking is much more responsive now.
2007-07-05 18:01:55 +02:00
Sascha Hauer
07045831cd
svn_rev_430
2007-07-05 18:01:53 +02:00
Sascha Hauer
a45e1af152
svn_rev_426
2007-07-05 18:01:52 +02:00
Sascha Hauer
205b6b6861
svn_rev_402
...
oh man
2007-07-05 18:01:50 +02:00
Sascha Hauer
4320cc59b5
svn_rev_376
...
remove unnecessary include
2007-07-05 18:01:48 +02:00
Sascha Hauer
16f84e8220
svn_rev_356
2007-07-05 18:01:46 +02:00
Sascha Hauer
9abd215912
svn_rev_352
2007-07-05 18:01:46 +02:00
Sascha Hauer
52f6ce11a9
svn_rev_351
2007-07-05 18:01:45 +02:00
Sascha Hauer
76b81d8f16
svn_rev_311
2007-07-05 18:01:42 +02:00
Sascha Hauer
381840e830
svn_rev_310
...
use type_data instead of pric for edev
2007-07-05 18:01:42 +02:00
Sascha Hauer
1db57b0bfc
svn_rev_309
...
add tap driver for arch=linux
2007-07-05 18:01:42 +02:00
Sascha Hauer
a0418ff936
svn_rev_298
2007-07-05 18:01:41 +02:00
Sascha Hauer
9db3fbae9d
svn_rev_278
...
make src pointer in write functions const
2007-07-05 18:01:39 +02:00
Sascha Hauer
d3292e4439
svn_rev_255
...
add usb
2007-07-05 18:01:37 +02:00
Sascha Hauer
bd77fd31d8
svn_rev_253
...
make it compile
2007-07-05 18:01:37 +02:00
Sascha Hauer
5909668c9f
svn_rev_251
...
make it work again
2007-07-05 18:01:36 +02:00
Sascha Hauer
c22c631e8d
svn_rev_248
...
collect all usb related stuff and put it into drivers/usb
2007-07-05 18:01:36 +02:00
Sascha Hauer
5dc2e349bb
svn_rev_244
...
remove all ohci drivers, add ohci driver from git://www.denx.de/git/u-boot-usb.git (from 20070529)
2007-07-05 18:01:36 +02:00
Sascha Hauer
b596e8f6df
svn_rev_220
...
malloc start/protect fields dynamically
2007-07-05 18:01:34 +02:00
Sascha Hauer
feb3fee023
svn_rev_201
...
add mpc5200 fec driver
2007-07-05 18:01:32 +02:00
Sascha Hauer
14cf76973d
svn_rev_190
...
remove gpio pin init, board code should do this
2007-07-05 18:01:31 +02:00
Sascha Hauer
882be5b59b
svn_rev_188
...
WIP
2007-07-05 18:01:31 +02:00
Sascha Hauer
d0041b4229
svn_rev_184
...
avoid compiler warning
2007-07-05 18:01:30 +02:00
Sascha Hauer
2ae2044e39
svn_rev_179
...
refacture, remove static eth_device because it does not work with more than one device
2007-07-05 18:01:30 +02:00
Sascha Hauer
a9c805bf87
svn_rev_175
...
moved to drivers/net
2007-07-05 18:01:30 +02:00
Sascha Hauer
5d23db2175
svn_rev_136
...
add buffer write option for cfi driver
2007-07-05 18:01:26 +02:00
Sascha Hauer
b7ea9ca73a
svn_rev_132
...
CFG_FLASH_USE_BUFFER_WRITE -> CONFIG_CFI_BUFFER_WRITE
2007-07-05 18:01:25 +02:00
Sascha Hauer
ca24324ce1
svn_rev_129
...
make it work again
2007-07-05 18:01:25 +02:00
Sascha Hauer
55ebf67d3e
svn_rev_120
...
implement initcalls
2007-07-05 18:01:24 +02:00
Sascha Hauer
658cc34395
svn_rev_118
...
thousands of things
2007-07-05 18:01:24 +02:00
Sascha Hauer
f5f406daef
svn_rev_116
...
add dm9000 network driver
2007-07-05 18:01:24 +02:00
Sascha Hauer
2c6d68cc7d
svn_rev_113
...
new api, cleanup
2007-07-05 18:01:24 +02:00
Sascha Hauer
70971534b6
svn_rev_111
...
rename
2007-07-05 18:01:24 +02:00
Sascha Hauer
ea8ebce5db
svn_rev_110
...
rename
2007-07-05 18:01:23 +02:00
Sascha Hauer
abfbbad1eb
svn_rev_109
...
do not know anymore
2007-07-05 18:01:23 +02:00
Sascha Hauer
3533c30ef4
svn_rev_107
...
removed ifdefs
2007-07-05 18:01:23 +02:00
Sascha Hauer
338fcfe0ce
svn_rev_103
2007-07-05 18:01:23 +02:00
Sascha Hauer
e90350262f
svn_rev_102
2007-07-05 18:01:23 +02:00
Sascha Hauer
e2fb609c80
svn_rev_096
...
moved
2007-07-05 18:01:22 +02:00
Sascha Hauer
f6508e1c4b
svn_rev_095
...
Currently U-Boot uses globally defined eth_* functions. This is
horribly unflexible. This patch replaces the global functions
with pointers from structs. We could also use CONFIG_NET_MULTI,
but this has other implications, though we should merge this
some day.
Also, U-Boot has no unique way to handle MAC addresses. Each and
every board and network driver uses it's own mechanism to set the
MAC address. There are several problems which I've for too often.
For example everything goes well if we boot from network, but when
we boot from flash U-Boot forgets to set the MAC address and the
linux network driver has none.
This patch adds [gs]et_mac_address to the eth_device struct and
handles it as follows:
- First try to get a valid MAC address from the EEPROM and set
'ethaddr' accordingly.
- If no valid MAC address is found in the EEPROM (or no EEPROM is
connected), we set the devices MAC address from 'ethaddr'
This is done in eth_initialize which is called on startup for
every board.
2007-07-05 18:01:22 +02:00
Sascha Hauer
2718e79db9
svn_rev_089
...
generic/u-boot-cmd-splash.diff
2007-07-05 18:01:22 +02:00
Sascha Hauer
ebdd515d70
svn_rev_070
2007-07-05 18:01:19 +02:00
Sascha Hauer
4fbb0d6987
svn_rev_064
2007-07-05 18:01:18 +02:00
Sascha Hauer
d30a0ddce9
svn_rev_063
2007-07-05 18:01:18 +02:00
Sascha Hauer
6ae6961105
svn_rev_062
2007-07-05 18:01:18 +02:00
Sascha Hauer
8b4976503c
svn_rev_061
...
rename
2007-07-05 18:01:18 +02:00
Sascha Hauer
ae58483f57
svn_rev_060
...
move serial drivers to drivers/serial
2007-07-05 18:01:18 +02:00
Sascha Hauer
6f5a40d81a
svn_rev_057
...
move all ethernet drivers to drivers/net
2007-07-05 18:01:18 +02:00
Sascha Hauer
c03bd6446c
svn_rev_049
...
Kconfig WIP
2007-07-05 18:01:17 +02:00
Sascha Hauer
2da36e53f1
svn_rev_047
...
timeout has 64bit
2007-07-05 18:01:17 +02:00
Sascha Hauer
363266d818
svn_rev_033
...
change to clocksource api
2007-07-05 18:01:15 +02:00
Sascha Hauer
0a5e2a4300
svn_rev_029
...
comment out most stuff
2007-07-05 18:01:15 +02:00
Sascha Hauer
d2bf9bf488
svn_rev_025
...
remove get_tbclk from architectures other than powerpc
2007-07-05 18:01:15 +02:00
Sascha Hauer
603e2e7dc0
svn_rev_016
...
update Makefiles to kbuild
2007-07-05 18:01:14 +02:00
Sascha Hauer
22a5d8af2a
svn_rev_004
...
remove dataflash support
2007-07-05 18:01:13 +02:00
Sascha Hauer
162484b83c
svn_rev_003
...
remove all #if 0 and #if 1
2007-07-05 18:01:13 +02:00
Stefan Roese
cd1d937f90
[PATCH] nand: Fix problem with oobsize calculation
...
Here the description from Brian Brelsford <Brian_Brelsford@dell.com>:
The Hynix part returns a 0x1d in the 4th ID byte. The Samsung part
returns a 0x15. In the code fragment below bits [1:0] determine the
page size, it is ANDed via "(extid & 0x3)" then shifted out. The
next field is also ANDed with 0x3. However this is a one bit field
as defined in the Hynix and Samsung parts in the 4th ID byte that
determins the oobsize, not a two bit field. It works on Samsung as
bits[3:2] are 01. However for the Hynix there is a 11 in these two
bits, so the oob size gets messed up.
I checked the correct linux code and the suggested fix from Brian is
also available in the linux nand mtd driver.
Signed-off-by: Stefan Roese <sr@denx.de>
2007-01-05 11:46:05 +01:00
Wolfgang Denk
92eb729bad
Fix bug in adaption of Stefano Babic's CFI driver patch.
2006-12-27 01:26:13 +01:00
Wolfgang Denk
de8404441b
Merge with /home/wd/git/u-boot/master
2006-12-24 01:33:32 +01:00
Wolfgang Denk
bc5556d62b
Merge with /home/hs/TQ/u-boot-dev
2006-12-24 01:30:04 +01:00
Stefano Babic
d784fdb059
Fix cfi failure with Spansion Flash (Spansion Flash Devices have a different offset to go into CFI mode)
2006-12-24 01:27:41 +01:00
Heiko Schocher
fa23044564
Added support for the TQM8272 board from TQ
...
Signed-off-by: Heiko Schocher <hs@denx.de>
2006-12-21 17:17:02 +01:00
Wolfgang Denk
dd520bf314
Code cleanup.
2006-11-30 18:02:20 +01:00
Wolfgang Denk
ab07b6c221
Merge with http://opensource.freescale.com/pub/scm/u-boot-83xx.git
2006-11-30 02:01:32 +01:00
Joakim Tjernlund
1939d96944
Make fsl-i2c not conflict with SOFT I2C
...
Signed-off-by: Timur Tabi <timur@freescale.com>
2006-11-29 00:25:26 -06:00
Joakim Tjernlund
14198bf768
Fix I2C master address initialization.
...
Signed-off-by: Timur Tabi <timur@freescale.com>
2006-11-29 00:25:23 -06:00
Kim Phillips
32081125a0
Merge http://www.denx.de/git/u-boot
2006-11-28 23:35:49 -06:00
Kim Phillips
1aa934c81b
Eliminate gcc 4 'used uninitialized' warnings in drivers/qe/uccf.c
...
give initial values for reg_num, shift, p_cmxucr in ucc_set_clk_src
since they are passed by reference to ucc_get_cmxucr_reg and assigned.
2006-11-28 23:34:30 -06:00
Stefan Roese
e7f3e9ff01
[PATCH] nand: Fix patch merge problem
...
Signed-off-by: Stefan Roese <sr@denx.de>
2006-11-28 11:05:49 +01:00
Wolfgang Denk
d2c83f5493
Merge with /home/sr/git/u-boot/denx-alpr-merge-test
2006-11-27 23:11:18 +01:00
Stefan Roese
1578486285
[PATCH] nand_wait() timeout fixes
...
Two fixes for the nand_wait() function in
drivers/nand/nand_base.c:
1. Use correct timeouts. The original timeouts in Linux
source are 400ms and 20ms not 40s and 20s
2. Return correct error value in case of timeout. 0 is
interpreted as OK.
Signed-off-by: Rui Sousa <rui.sousa@laposte.net>
Signed-off-by: Stefan Roese <sr@denx.de>
2006-11-27 17:24:40 +01:00
Stefan Roese
48c7d6dba9
Merge with /home/stefan/git/u-boot/denx
2006-11-27 14:11:22 +01:00
Stefan Roese
260421a21e
[PATCH] CFI driver AMD Command Set Top boot geometry reversal, etc. [Updated]
...
* Adds support for AMD command set Top Boot flash geometry reversal
* Adds support for reading JEDEC Manufacturer ID and Device ID
* Adds support for displaying command set, manufacturer id and
device ids (flinfo)
* Makes flinfo output to be consistent when CFG_FLASH_EMPTY_INFO defined
* Removes outdated change history (refer to git log instead)
Signed-off-by: Tolunay Orkun <listmember@orkun.us>
Signed-off-by: Stefan Roese <sr@denx.de>
2006-11-13 13:58:55 +01:00
Stefan Roese
dfc8a9ee00
Merge with /home/stefan/git/u-boot/denx
2006-11-10 07:48:47 +01:00
Timur Tabi
be5e61815d
mpc83xx: Update 83xx to use fsl_i2c.c
...
Update the 83xx tree to use I2C support in drivers/fsl_i2c.c. Delete
cpu/mpc83xx/i2c.c, include/asm-ppc/i2c.h, and all references to those files.
Added multiple I2C bus support to fsl_i2c.c.
Signed-off-by: Timur Tabi <timur@freescale.com>
2006-11-03 19:42:23 -06:00
Timur Tabi
d239d74b1c
mpc83xx: Replace CFG_IMMRBAR with CFG_IMMR
...
Replace all instances of CFG_IMMRBAR with CFG_IMMR, so that the 83xx
tree matches the other 8xxx trees.
Signed-off-by: Timur Tabi <timur@freescale.com>
2006-11-03 19:42:23 -06:00
Dave Liu
7737d5c658
mpc83xx: add QE ethernet support
...
this patch adds support for the QUICC Engine based UCC gigabit ethernet device.
2006-11-03 19:42:21 -06:00
Timur Tabi
2ad6b513b3
mpc83xx: Add support for the MPC8349E-mITX
...
PREREQUISITE PATCHES:
* This patch can only be applied after the following patches have been applied:
1) DNX#2006090742000024 "Add support for multiple I2C buses"
2) DNX#2006090742000033 "Multi-bus I2C implementation of MPC834x"
3) DNX#2006091242000041 "Additional MPC8349 support for multibus i2c"
4) DNX#2006091242000078 "Add support for variable flash memory sizes on 83xx systems"
5) DNX#2006091242000069 "Add support for Errata DDR6 on MPC 834x systems"
CHANGELOG:
* Add support for the Freescale MPC8349E-mITX reference design platform.
The second TSEC (Vitesse 7385 switch) is not supported at this time.
Signed-off-by: Timur Tabi <timur@freescale.com>
2006-11-03 19:42:20 -06:00
Nick Spence
04f899fc46
NAND Flash verify across block boundaries
...
This patch addresses a problem when CONFIG_MTD_NAND_VERIFY_WRITE is
defined
and the write crosses a block boundary. The pointer to the verification
buffer (bufstart) is not being updated to reflect the starting of the
new
block so the verification of the second block fails.
CHANGELOG:
* Fix NAND FLASH page verification across block boundaries
2006-11-03 19:42:17 -06:00
Nick Spence
f484dc791a
Added RGMII support to the TSECs and Marvell 881111 Phy
...
Added a phy initialization to adjust the RGMII RX and TX timing
Always set the R100 bit in 100 BaseT mode regardless of the TSEC mode
Signed-off-by: Nick Spence <nick.spence@freescale.com>
2006-11-03 19:42:17 -06:00
Stefan Roese
856f054410
[PATCH] NAND: Partition name support added to NAND subsystem
...
chpart, nboot and NAND subsystem related commands now accept also partition
name to specify offset.
Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Signed-off-by: Stefan Roese <sr@denx.de>
2006-10-28 17:11:10 +02:00
Ben Warren
4653f91c13
Fix TSEC driver (now for real): avoid crashes if PHY is not attached
...
to a TSEC (e.g. a switch is connected via RMII) or
if the PHY is defective/incorrectly configured.
Signed-off-by: Ben Warren <bwarren@qstreams.com>
2006-10-26 21:17:25 +02:00
Wolfgang Denk
0ab292cbc1
Merge with /home/wd/git/u-boot/master
2006-10-24 15:17:59 +02:00
Wolfgang Denk
f93ae788c3
Add common serial driver for Atmel AT32 and AT91 chips
...
Patch by Haavard Skinnemoen, 06 Sep 2006
This is a first attempt at creating a common serial driver for Atmel
chips. For now, it supports the AT32AP7000 AVR32 chip, but it should
be possible to support AT91RM9200 and other ARM-based chips with some
minor modifications.
There's nothing fundamentally AVR32-specific in this driver, but it
does use some features which are currently only defined for the
AT32AP CPU port:
* pm_get_clock_freq: Obtain the clock frequency of a given domain
* gd->console_uart: A "struct device" containing information about
register mappings, gpio resources and clocks associated with the
UART device.
For more information about these features, please see the "AT32AP
CPU" patch.
2006-10-24 14:31:24 +02:00
Wolfgang Denk
d67c14c0f4
Merge with http://www.jdl.com/software/u-boot-86xx.git
2006-10-20 23:52:58 +02:00
Jon Loeliger
2047672684
Converted all 85xx boards to use a common FSL I2C driver.
...
Introduced COFIG_FSL_I2C to select the common FSL I2C driver.
And removed hard i2c path from a few u-boot.lds scipts too.
Minor whitespace cleanups along the way.
Signed-off-by: Jon Loeliger <jdl@freescale.com>
2006-10-20 15:50:15 -05:00
Stefan Roese
43a2b0e76a
Add board/cpu specific NAND chip select function to 440 NDFC
...
Based on idea and implementation from Jeff Mann
Patch by Stefan Roese, 20 Oct 2006
2006-10-20 15:17:55 +02:00
Jon Loeliger
4d45f69e36
Rewrite a series of goto statements as a sequences of
...
conditional expressions instead.
Use consistent return code 0/-1 for good/bad indicators.
Include one fewer file if the driver isn't used at all.
Signed-off-by: Jon Loeliger <jdl@freescale.com>
2006-10-19 12:02:24 -05:00