Commit graph

3956 commits

Author SHA1 Message Date
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
Juergen Beisert
7733de908b Fix some layout issues and typos.
Reorganizing some files to parts of the
documentation where their content matches.

Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-06-10 12:47:20 +02:00
Sascha Hauer
bf725a2945 Merge branch 'nand-mx31-for-sha' of git://git.pengutronix.de/git/wsa/u-boot-v2 2009-06-04 14:54:36 +02:00
Wolfram Sang
74cc7814eb Add ASM to start from NAND
Also rewrite IOMUX to be a lot smaller, because of 2K limit.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
2009-06-04 10:31:14 +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
Wolfram Sang
c83325ff72 Fix off-by-1 errors on range borders
It will never hit us here, but it's still wrong...

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
2009-06-04 10:31:14 +02:00
Wolfram Sang
5c928b97fb Init IOMUX in any case
Move SDRAM-check after IOMUX init.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
2009-06-04 10:31:14 +02:00
Sascha Hauer
e083b81eb7 v2.0.0-rc9
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-05-28 15:50:48 +02:00
Sascha Hauer
614830c8fd add .gitignore to include/asm-arm/
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-05-25 16:53:36 +02:00
Sascha Hauer
df14bf29e0 i.MX1: Fix gpt clock speed
got broken in commit:

commit 309a75baaf
Author: Sascha Hauer <s.hauer@pengutronix.de>
Date:   Fri Feb 20 18:14:52 2009 +0100

    i.MX use fecclk for fec and gtpclk for gpt

    Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-05-25 16:53:30 +02:00
Sascha Hauer
0f64e5c39d add strerror function
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-05-25 16:52:35 +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
Sascha Hauer
3658177775 i.MX35: Add iomux support from kernel
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-05-19 12:30:42 +02:00
Sascha Hauer
aec91d0537 mx35 3ds: add missing HCLK
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-05-19 12:28:20 +02:00
Sascha Hauer
8fb8b564e2 Merge branch 'for-sha' of git://git.pengutronix.de/git/mkl/u-boot-v2 2009-05-19 12:26:41 +02:00
Sascha Hauer
9afe84b60e pcm043: Allow to switch cpu frequency from command line
Currently there are i.MX35 SoCs with 532MHz and 400MHz maximum
frequency. As there's some confusion about which SoCs are
available add frequency switching to the command line.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-05-19 12:22:44 +02:00
Marc Kleine-Budde
0780441a3f [mmccpu] add new board: Bucyrus MMC-CPU
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2009-05-19 10:21:53 +02:00
Marc Kleine-Budde
6f61b3f34d [miiphy] just whitespace cleanups
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2009-05-19 09:32:02 +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
26a8987c46 [macb] add MII flag, improve code readability
This patch adds the flag "AT91SAM_ETHER_MII" along to the existing
"AT91SAM_ETHER_RMII". This improves code readability in baords which
are using plain MII mode.

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
Karsten Schwinne
c2c1f2f8df [at91] add gpio support for at91sam9263
Signed-off-by: Karsten Schwinne <kartsten.schwinne@de.bucurus.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2009-05-18 16:20:00 +02:00
Marc Kleine-Budde
59bad04470 [pm9263] fix update_root script
use correct image ("jffs2") to flash root

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2009-05-18 16:16:21 +02:00
Jan Weitzel
a737211a01 mDDR drive strength v2
workarount for drive strength issue

v2: optimized settings after temperature tests

Signed-off-by: Jan Weitzel <J.Weitzel@phytec.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-05-18 12:32:02 +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
e536d48f60 simple console: implement console_flush
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-05-18 12:15:43 +02:00
Sascha Hauer
b8a165d1e5 pcm038: pll work
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-05-18 12:15:04 +02:00
Sascha Hauer
287700795c pcm038: initialize PLLs in one step
We used to initialize the PLLs on PCM038 in two
steps. The first was to initialize a basic setup
so that all peripheral clocks run at their final
speed and the second step was to push the processor
to full speed after the PMIC has been initialized
for the higher voltage.
Do this in one step instead to get an easier setup.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-05-13 16:41:49 +02:00
Sascha Hauer
c651bda2d5 pca100: update defconfig
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-05-13 16:25:36 +02:00
Sascha Hauer
e5d7e49358 pcm038: update defconfig
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-05-13 16:25:05 +02:00
Sascha Hauer
49321a5cd3 console: buffer characters before console is initialized
instead of throwing all output away when the console
is not initialized, buffer it in a kfifo and print
it later when the first console gets initialized.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-05-13 16:23:09 +02:00
Sascha Hauer
2e8254e387 console: rename console_buffer to console_input_buffer
...as we want to add an output buffer, too

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-05-13 16:11:24 +02:00
Sascha Hauer
a3c3f66abc imx clocksource: add frequency change support
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-05-13 16:01:58 +02:00
Sascha Hauer
06a20b38f8 Add notifier framework
This is loosely based on the Linux notifier framework, but
stripped down to the bare minimum.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-05-13 16:00:11 +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
0202bdcfa6 MX21ads: Add cs8900 support (got lost in last commit)
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-04-28 11:27:24 +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
3f322b21f4 u-boot-v2: Support CS8900A on MX21ADS
Support the on-board CS8900A ethernet controller of the
MX21ADS development board.

Signed-off-by: Ivo Clarysse <ivo.clarysse@gmail.com>
2009-04-28 08:40:37 +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
Sascha Hauer
a3f20a4545 Arm: remove -msoft-float option
This breaks compilation on a hardfloat toolchain as we would need
AFLAGS += -msoft-float aswell. Since we do not use floating point
we can equally well remove the option completely.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-04-21 16:56:16 +02:00
Sascha Hauer
9665fd1ced pcm043: enable FEC driver in default config
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-04-20 18:50:36 +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
4a6369bd9c add pca100 defconfig file
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-04-14 17:10:37 +02:00