9
0
Fork 0
Commit Graph

1573 Commits

Author SHA1 Message Date
Sascha Hauer 4511a8873b we need different bus types
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 7703263340 fix dev_* macros
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-04-06 11:22:28 +02:00
Sascha Hauer f3524c8984 i.MX31:
Rework iomux support for i.MX31:

- rename gpio-imx31.c to iomux-v2.c
- add pin definitions from Kernel
- fixup pcm037 board

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-04-06 11:21:28 +02:00
Sascha Hauer b4b94664f0 i.MX31: add OTG base address
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-04-06 11:21:02 +02:00
Sascha Hauer f090bca2d8 add __[lb]e types
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-04-06 11:12:54 +02:00
Sascha Hauer 2672196646 fix pr_debug
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-04-06 11:12:29 +02:00
Sascha Hauer 8b75c20a41 add clko support for i.mx35
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-03-19 18:23:57 +01:00
Sascha Hauer 8a2e721fc5 Flush consoles before exiting
We use FIFOs on some devices, so flush them before exiting so
we do not get funny characters in the output.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-03-19 12:21:24 +01:00
Sascha Hauer 0b5a776c1e Shutdown U-Boot before starting an OS
Some devices, especially the ones doing DMA should be disabled before
giving control to an OS. We take the simple approach here: Just shutdown
the devices in the reverse order they were activated.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-03-19 12:21:18 +01:00
Sascha Hauer 36ae69a2dc remove unused stuff from include/common.h
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-03-19 12:21:13 +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 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 3a84dd9bac include/malloc.h: add multiple inclusion protection
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-02-20 18:24:45 +01:00
Sascha Hauer 612c27f97e ARM: Add cache-l2x0 definitions
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-02-06 14:44:46 +01:00
Sascha Hauer bee65f0d3f [ARM] Add MX35 support
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-02-06 14:44:46 +01:00
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 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
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 954f52d605 correct warning
Signed-off-by: Frederic RODO <fred.rodo@gmail.com>
2008-12-18 14:20:08 +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
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 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
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
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 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 b8efcd997f ARM: update mach-types
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-09-02 09:24:19 +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 8ec84b8673 AT91SAM: Use Atmel header files from their Bootstrap code (ver 1.9)
The header files are neither small nor beautiful, but they are complete ;)

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-26 11:40:45 +02:00
Sascha Hauer bcb049a702 string: add typechecking for strchr, strrchr, strstr
These functions offered an excellent possibility to bypass compiler
type checking.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-20 17:46:54 +02:00
Sascha Hauer 0004d78381 remove unnecessary double string function declarations
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-20 17:46:54 +02:00
Sascha Hauer c0d02ffc3d Fix string_to_ip
Use a pointer to an ip address instead of the return value in string_to_ip
and use the return value for error indication only. 0.0.0.0 can be a valid
ip address

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-20 17:46:47 +02:00
Sascha Hauer 33c488f8c1 net: remove unused function declarations
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-20 13:16:03 +02:00
Nishanth Menon cb3f2e34c4 Bitops:Remove generic_funcs
Use asm-generic/bitops/xyz.h instead of using
generic_xyz functions.

Signed-off-by: Nishanth Menon <x0nishan@ti.com>
2008-08-15 08:47:50 +02:00
Nishanth Menon 31f9cb365e Bitops:Cleanup ARM bitops
Cleanup of ARM bitops functions.
Introduce the findbits.S which allows for
optimized algo.

Signed-off-by: Nishanth Menon <x0nishan@ti.com>
2008-08-15 08:47:50 +02:00
Nishanth Menon 5fc0e871d5 U-Boot-V2:Bitops: asm-generic bitops
This introduces selected generic bitop files from
kernel. We don't need minix, ext2, sched or lock
based bitops. Those have been dropped.

Signed-off-by: Nishanth Menon <x0nishan@ti.com>
2008-08-15 08:47:49 +02:00
Sascha Hauer e133ccdda8 implement memmap for mem driver
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-14 10:25:56 +02:00
Sascha Hauer 65778b63d2 Partition: Add an own device id for partitions
Add an own device id for partitions. This is necessary to allow
the partition layer to check if the given device is really a partition.
Also, check for readonly flag in erase.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-14 09:28:10 +02:00
Sascha Hauer e6b42af9c5 increase maximum driver name length to 32
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-14 08:42:32 +02:00
Sascha Hauer fd12d4cd77 SPI: Add empty spi_register_board_info function when SPI is disabled
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-13 16:52:15 +02:00
Sascha Hauer 1fbb5f65d6 nand: Allow adding/removing of more than one bad block aware device at once
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-13 16:52:15 +02:00