9
0
Fork 0
Commit Graph

3730 Commits

Author SHA1 Message Date
Sascha Hauer b3f3ca075d [MX31] Clock Controller module: redefine registers as offsets
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-01-30 12:20:10 +01:00
Sascha Hauer 9995a8caf5 ARM: update mach-types.h
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-01-30 12:08:46 +01:00
Sascha Hauer 9e00177172 [MX31] Use common PLL defines
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-01-30 12:08:43 +01:00
Sascha Hauer 4d19a68f35 [MX27] use common PLL defines
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-01-30 12:07:23 +01:00
Sascha Hauer 4aae146bee [i.MX] Add header file for PLL registers
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-01-30 12:07:23 +01:00
Sascha Hauer c09d002eca update .gitignore files for linker scripts
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-01-21 23:28:14 +01:00
Sascha Hauer e7de22476e sandbox: Fix generation of linker script
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-01-21 23:25:35 +01:00
Sascha Hauer b07e9e3194 ARM: Add cpuinfo command
This command is useful to show some information about
cp15 registers

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-01-13 14:32:22 +01:00
Sascha Hauer 536f4bcdf8 i.MX clko command: move Kconfig text from arch/arm to mach-imx
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-01-13 14:31:23 +01:00
Sascha Hauer a7acf2e746 mtest: remove braindamaged NULL pointer deref
The alternative memory test implementation needs a scratch
memory location to remove the last data from the data bus.
Instead of using a NULL pointer for this, default to the
memory start address.
No sane program should consider a NULL pointer as a safe default.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-01-13 14:31:03 +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 81b2430127 v2.0.0-rc7
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-12-19 22:08:10 +01:00
Sascha Hauer c42306e026 PCM037: Adjust CS5 for SJA1000
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-12-19 15:03:41 +01:00
Sascha Hauer 32f9f72e9f PCM037: Add support for different memory amounts
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-12-19 12:01:05 +01:00
Sascha Hauer 5ccd3fd093 MX27/MX3: Move common SDRAM Controller bits to extra file
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-12-19 12:00:25 +01:00
fredo 56d80fe843 remove unused variable
Signed-off-by: Frederic RODO <fred.rodo@gmail.com>
2008-12-18 14:20:08 +01:00
fredo c3dbf6e1d6 remove warning
Signed-off-by: Frederic RODO <fred.rodo@gmail.com>
2008-12-18 14:20:08 +01:00
fredo 954f52d605 correct warning
Signed-off-by: Frederic RODO <fred.rodo@gmail.com>
2008-12-18 14:20:08 +01:00
Sascha Hauer 5a9c64d523 pcm037: Limit CFI size to 32MB
According to the Phytec website the PCM037 has a maximum of 32MB
flash

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-12-17 18:20:56 +01:00
Sascha Hauer 2dcfb887d7 memory commands: allow for kMG suffixes
Allow for kMG suffixes in memcpy and memcmp

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-12-17 18:20:00 +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
Nishanth Menon 7e9bb400cf ARM:io - fix iomem define
__iomem define is required to use io.h
this define is present in mtd_compat OR
in compiler.h. using compiler.h as being
generic

Signed-off-by: Nishanth Menon <nm@ti.com>
2008-12-09 11:26:27 +01:00
Nishanth Menon 2af143fcf2 common:environment: fix mode requirement
Issue:
Compiling on Ubuntu 8.10 Fails:
inlined from 'envfs_save' at scripts/../common/environment.c:135:
/usr/include/bits/fcntl2.h:51: error: call to '_open_missing_mod'
declared with attribute error: open with O_CREAT in second argument
needs 3 arguments

Usage: open(filename, O_WRONLY | O_CREAT)

Fix:
When using open with O_CREAT, it requires
mode to be defined.

Signed-off-by: Nishanth Menon <nm@ti.com>
2008-12-09 11:25:54 +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 4b0108553f ridiculous counter 6
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-11-14 15:09:08 +01:00
Sascha Hauer 3889e42b9e Default environments: Do not continue when tftp failed
When we fail to download the kernel image (for example when the
user pressed ctrl-c) do not try to boot the image

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-11-14 11:37:28 +01:00
Sascha Hauer db85c9e2b0 [PCM037] Add NAND support
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-11-10 18:03:35 +01:00
Sascha Hauer 7e168c9f91 [PCM037] Add a default environment derived from PCM038
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-11-10 18:02:15 +01:00
Sascha Hauer 8d36379153 hush: Fix quoting
This patch removes adding of an additional \ when doing

echo "\""

which gives \" instead of just "

I checked in latest busybox hush and this code is still present there,
but it behaves correctly in busybox due to some other code pathes I
didn't investigate.
If this change has any unwanted side effects feel free to flame on me

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-11-10 17:54:15 +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 dfefaf5744 CRC: various fixes
- bail out on read errors
- test for -1 instead of < 0 for lseek

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-11-10 17:52:14 +01:00
Sascha Hauer 54ec87f0cb Print error number
When we do not have the appropriate error string compiled in, print
at least the number

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-11-10 17:40:09 +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
Sascha Hauer c3fc1364d9 Introduce dev_* and pr_* functions
Proven to be useful in linux kernel, U-Boot should have such a thing
aswell. We do not distinguish between the various print levels others
than debug and not debug.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-10-31 14:02:25 +01:00
Sascha Hauer dff84a5422 [AT9SAM] Fix copy-paste introduced compiler warning
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-10-31 12:43:59 +01:00
Sascha Hauer baa33bd4e2 GPIO support
adopted Linux gpio code. Implemented for at91sam9. No gpiolib support
yet.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-10-27 17:29:57 +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 5482395b9e import io-{read,write}s{b,w} functions from linux
This patch imports:
- io-readsb,
- io-readsw,
- io-writesb,
- io-writesw,
from linux

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2008-10-27 12:18:25 +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
Marc Kleine-Budde 238b05148e [pm9263] use define rather than plain integer value for armlinux_set_architecture
armlinux_set_architecture uses a plain integer value, this patch changes this
to use the define from mach-types.h

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2008-10-27 12:18:25 +01:00
Marc Kleine-Budde 702ebd5f96 [at91sam9260ek] make defconfig working
This patch changes the TEXT_BASE to a correct value of
0x23f00000.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2008-10-27 12:18:25 +01:00
Sascha Hauer 2a7bcf110f OMAP: SDRC MCFG Register configuration corrected for SDP3430.
Signed-off-by: Shankarganesh K <shankarganesh@ti.com>
Acked-By: Nishanth Menon <nm@ti.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-10-07 13:14:40 +02:00
Sascha Hauer c3ed0879ba pcm038: Speed up MPLL
this got broken with 716b432346

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-09-30 10:52:18 +02:00
Sascha Hauer 20ec9ba02d Ethernet: write MAC address to hardware when it's changed
Instead of writing the MAC address into the hardware on device open time
write it to the hardware when the user changes the parameter. This
way a user can change the MAC address in the hardware without actually
using the device. This helps Linux Network drivers which expect a valid
MAC address on startup.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-09-30 10:48:40 +02:00
Sascha Hauer ae3f56c84a nfs: fix calling of string_to_ip()
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-09-30 10:46:24 +02:00
Sascha Hauer 5e112453b2 Sandbox: Fix make system
Sandbox compilation failed with:

gcc -Wp,-MD,arch/sandbox/lib/.tap.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.3.1/include -I/usr/include -Iinclude -P -Wall    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(tap)"  -D"KBUILD_MODNAME=KBUILD_STR(tap)" -c -o arch/sandbox/lib/tap.o arch/sandbox/lib/tap.c
In file included from /usr/include/bits/socket.h:32,
                 from /usr/include/sys/socket.h:36,
                 from arch/sandbox/lib/tap.c:29:
/usr/include/limits.h:125:26: error: limits.h: No such file or directory

/usr/include/limits.h uses the next_include directive
This was because of the -nostdinc

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-09-30 10:45:39 +02:00
Sascha Hauer 0c817d3ffa README: Removing lines about old directory layout
The old directory layout is gone, remove documentation about it

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-09-30 09:16:27 +02:00
Nishanth Menon 261f587e3d Boards:OMAP: Add GPMC init
This patch adds support for GPMC initialization
to existing board files - beagle and sdp3430

Signed-off-by: Nishanth Menon <x0nishan@ti.com>
2008-09-15 10:11:05 +02:00