9
0
Fork 0
Commit Graph

3642 Commits

Author SHA1 Message Date
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
Nishanth Menon 2f620bb88c Board:OMAP:NAND introduce generic NAND support This introduces generic nand device support including common configurations used on various OMAP platforms
Signed-off-by: Nishanth Menon <x0nishan@ti.com>
2008-09-15 10:11:05 +02: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 aec8bdd7e5 Commands:NAND: Rmove unwanted prints remove unwanted prints which can interfere with protocols such as kermit downloads
Signed-off-by: Nishanth Menon <x0nishan@ti.com>
2008-09-15 10:11:04 +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 716b432346 pcm038: arbitrary changes to make boot more robust
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-09-09 17:06:01 +02:00
Sascha Hauer a288018b6f pcm038: implement better waiting for PLLs
Instead of using a trivial counting loop we poll the 32KHz oscillator
to wait for the PLLs to stabilize

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-09-09 14:13:59 +02:00
Sascha Hauer 2c02a3914f back to git
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-09-04 17:07:22 +02:00
Sascha Hauer 16d689df8c Version bump to v2.0.0-rc5
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-09-04 17:06:20 +02:00
Sascha Hauer 9b270460cc pcm038: update help in default env init
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-09-03 15:32:12 +02:00
Sascha Hauer 2f6ccbb9f8 NAND: Calculate size of bb devices
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-09-03 14:53:26 +02:00
Sascha Hauer f118d1a103 NAND: fix reading of bad block aware devices
When reading from bad block aware devices we must make sure not
to read beyond eraseblock boundaries.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-09-03 14:04:15 +02:00
Sascha Hauer 9fc8c4e9bb nand: add nand -b for marking blocks as bad
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-09-02 17:22:46 +02:00
Sascha Hauer 262aea2524 partition: route through MEMSETBADBLOCK ioctl
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-09-02 17:21:02 +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 6aa5d0c52e cp: check return value of read()
...and not if the function read is non NULL.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-09-02 17:19:10 +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 21d5fc40df Build system: Use setlocalversion from kernel
Autogenerate a local version from git.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-09-02 15:48:06 +02:00
Sascha Hauer dd7a74db87 ARM bitops: fix for arm arch < 5
The correct bitops implementation depends on __LINUX_ARM_ARCH__ being
set. We do not currently support this variable. Change the default case
to < armv5, so that we do not end up with clz instructions in v4 code.
This is actually a workaround, the correct solution is to set
__LINUX_ARM_ARCH__ correctly.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-09-02 15:38:46 +02:00
Sascha Hauer 6b1c8e0f50 Merge branch 'for-sha' of ssh://sha@octopus/home/git/projects/u-boot-v2 into from-mkl 2008-09-02 09:26:30 +02:00
Sascha Hauer b1e93dc9ae pcm037: Activate lowlevel init
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-09-02 09:25:03 +02:00
Sascha Hauer b8efcd997f ARM: update mach-types
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-09-02 09:24:19 +02:00
Sascha Hauer 5a86990d3a pcm037: Fix ARM architecture and boot params
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-09-02 09:23:45 +02:00
Marc Kleine-Budde 53c4ef6b69 [pm9263] remove ifdef around dev_add_partition
This patch removed the ifdef around dev_add_partition.
Since dev_add_partition becomes a void function if compiling
u-boot w/o partition support.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2008-09-02 09:14:31 +02:00
Marc Kleine-Budde cf6c9268bb [pm9263] add sane default environemnt
This patch adds a sane default environemnt for the pm9263 bsp.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2008-09-02 09:12:39 +02:00
Marc Kleine-Budde 556bfc1f54 [pm9263] use correct architecture a.k.a. machine ID
The "pm9263" has the official machie ID 0x5c3, not 0x4b2.
This patche fixes this.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2008-08-29 16:14:11 +02:00
Marc Kleine-Budde 768698925e [at91] rename pn9263_defconfig -> pm9263_defconfig
This patch fixes a typo in the defconfig name. The board is actually
called "pm9263".

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2008-08-29 16:12:26 +02:00
Sascha Hauer 60fb727353 Revert "partition: fix compiler warning"
Grumpf. Better compiler warnings than broken code :(

This reverts commit 8201d7c5fc.
2008-08-27 18:10:18 +02:00
Sascha Hauer 3d3d4a6c3b pn9263: add defconfig file
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-26 11:43:17 +02:00
Sascha Hauer cc8eab3217 AT9SAM: enable lowlevel init
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-26 11:40:52 +02:00
Sascha Hauer e1dfdc856d pcm038: disable SRAM device
We have a problem here: registering the SRAM device as DEVICE_TYPE_DRAM
works as expected, but the ARM memory tag setup code then adds an
additional node with the SRAM which is not what we want. Disable it for
now.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-26 11:40:51 +02:00
Sascha Hauer f4db8cfc2a README: reading links for selection of arch/compiler is no longer supported
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-26 11:40:51 +02:00
Sascha Hauer 8a45275a01 fs: fix compiler warning
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-26 11:40:51 +02:00
Sascha Hauer d85e73776a envfs: remove bogus #warning statement
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-26 11:40:51 +02:00
Sascha Hauer 2b729e45b4 hush: fix compiler warning
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-26 11:40:51 +02:00
Sascha Hauer 8201d7c5fc partition: fix compiler warning
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-26 11:40:51 +02:00
Sascha Hauer cfdb837906 partition: rename variable
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-26 11:40:51 +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