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
0868fe5747
Restrict the ARM architecture to use only one set of I/O functions.
...
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
2009-07-01 14:36:23 +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
Juergen Beisert
2148865ac9
Reorganizing the i.MX menu, to be only visible for a selected i.MX platform
...
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
2009-07-01 14:13:16 +02:00
Juergen Beisert
fbf95dfc21
Change return type of function part_remove to void, otherwise the compiler
...
complains:
common/partition.c:245: warning: initialization from incompatible pointer type
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
2009-07-01 11:19:22 +02:00
Juergen Beisert
97799e8a16
Add IO string functions to also handle 32 bit IO locations
...
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
2009-07-01 10:45:21 +02:00
Juergen Beisert
a05e312009
Separate all assembler functions into their own section to
...
let the linker remove unused functions.
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
2009-07-01 10:45:02 +02:00
Sascha Hauer
18e49f7470
Merge branch 'master' of /ptx/work/octopus/lfu/svn/u-boot-v2
2009-06-26 11:55:42 +02:00
Luotao Fu
01b784d331
pca100: update defconfig
...
Signed-off-by: Luotao Fu <l.fu@pengutronix.de>
2009-06-25 18:10:37 +02:00
Luotao Fu
3e0fe1ba46
pca100: update boot script
...
Signed-off-by: Luotao Fu <l.fu@pengutronix.de>
2009-06-25 18:07:54 +02:00
Luotao Fu
e212343c40
pca100: deactive usb phy cs
...
this one pull up the gpio controlled cs lines of both usb phys to avoid phy
crash caused by dirty data sent by usb controller during initialisation
Signed-off-by: Luotao Fu <l.fu@pengutronix.de>
2009-06-25 16:21:16 +02:00
Luotao Fu
d5ec92129e
mx2: add gpio direction/value setting calls
...
Signed-off-by: Luotao Fu <l.fu@pengutronix.de>
2009-06-25 16:20:26 +02:00
Sascha Hauer
d1a54ab5c4
vsprintf: Update to latest kernel version
...
This adds a function to print into a malloced string
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-06-10 13:55:07 +02:00
Sascha Hauer
505d65fc5c
add *_MAX and *_MIN macros
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-06-10 13:54:42 +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
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