Commit Graph

90 Commits

Author SHA1 Message Date
David Brownell 480ed1dea1 use correct at91rm9200 register name
This fixes a naming bug for at91rm9200 lowlevel init code:
NOR boot flash is on chipselect 0, not chipselect 2.  This
makes code use the register name from chip datasheets.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2008-03-30 15:38:05 +02:00
Jean-Christophe PLAGNIOL-VILLARD b6f29c84c2 s3c24x0: Fix unused variable 'i' in function 'serial_init_dev'
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2008-02-17 16:04:23 +01:00
Andreas Engel 6d0943a6be ARM: cleanup duplicated exception handlingcode
Move duplicated exception handling code into lib_arm.

Signed-off-by: Andreas Engel <andreas.engel@ericsson.com>
2008-02-14 09:38:21 +00:00
Harald Welte 16158778b5 ARM: S3C24x0 SoC NAND controller support
This patch adds NAND support to the S3C24x0 SoC code in u-boot

Signed-off-by: Harald Welte <laforge@openmoko.org>
2008-02-04 23:54:51 +01:00
Harald Welte a7c185ed3d ARM: s3c24xx: Multiple serial port support
This patch adds support for CONFIG_SERIAL_MULTI on s3c24x0 CPU's

Signed-off-by: Harald Welte <laforge@openmoko.org>
2008-02-04 23:52:49 +01:00
Harald Welte a25f72f1f7 ARM: arm920t: Allow use of 'gd' pointer from IRQ
This patch allows us to use the 'gd' pointer (and thus environment
and everything else associated with it) from interrupt context on
arm920t.

Signed-off-by: Harald Welte <laforge@openmoko.org>
2008-02-04 23:50:54 +01:00
Harald Welte be19bd5cd0 ARM: arm920/s3c24xx: IRQ demulitplexer callback
This patch adds a IRQ demultiplexer callback to the arm920 cpu core code,
plus a stub implementation of it for the S3C2410.

The purpose is to allow arm920t implementations such as the s3c24x0 to
implement interrupt handlers in u-boot without having to touch core
arm920t code.

Signed-off-by: Harald Welte <laforge@openmoko.org>
2008-02-04 23:49:13 +01:00
Jean-Christophe PLAGNIOL-VILLARD 6bf4c686af s3c24x0: Fix usb_ohci.c missing in Makefile
and usb_ohci.c warning differ in signedness

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2007-11-18 21:50:07 +01:00
Jean-Christophe PLAGNIOL-VILLARD 9c4884f54d fix warning: no return statement in function returning non-void
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2007-10-24 00:29:06 +02:00
Peter Pearse bd86220f58 Move coloured led API to status_led.h
Improve indentation in drivers/at45.c
2007-09-18 13:07:54 +01:00
Peter Pearse d94c79e470 Final tidy 2007-09-11 15:35:01 +01:00
Peter Pearse 80767a6cea Changed API name to coloured_led.h
Removed code using deprecated ifdef CONFIG_BOOTBINFUNC
Tidied other cpu/arm920t/start.S code
2007-09-05 16:04:41 +01:00
Peter Pearse 9f5c3d3720 Add coloured led interface for ARM boards.
Use it in cpu/arm920t/start.S to indicate U-Boot code has been entered.
2007-09-04 16:18:38 +01:00
Wolfgang Denk f01dbb5424 Coding style cleanup. Update CHANGELOG.
Signed-off-by: Wolfgang Denk <wd@denx.de>
2007-08-14 18:42:36 +02:00
Peter Pearse dcbfd2e564 Add the files. 2007-08-14 10:14:05 +01:00
Peter Pearse d4fc6012fd Add MACH_TYPE records for several AT91 boards.
Merge to two at45.c files into a common file, split to at45.c and spi.c
Fix spelling error in DM9161 PHY Support.
Initialize at91rm9200 board (and set LED).
Add PIO control for at91rm9200dk LEDs and Mux.
Change dataflash partition boundaries to be compatible with Linux 2.6.

Signed-off-by:	Peter Pearse <peter.pearse@arm.com>
Signed-off-by:	Ulf Samuelsson <ulf@atmel.com>
2007-08-14 10:10:52 +01:00
Markus Klotzbuecher 78549bbf44 Merge with git://www.denx.de/git/u-boot.git 2007-08-07 22:30:29 +02:00
Jon Loeliger 3a1ed1e1f9 cpu/[7a-ln-z]*: Remove obsolete references to CONFIG_COMMANDS
Signed-off-by: Jon Loeliger <jdl@freescale.com>
2007-07-09 18:57:22 -05:00
Jon Loeliger 737184114e cpu/ non-mpc*: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).
This is a compatibility step that allows both the older form
and the new form to co-exist for a while until the older can
be removed entirely.

All transformations are of the form:
Before:
    #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT)
After:
    #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) || defined(CONFIG_CMD_AUTOSCRIPT)

Signed-off-by: Jon Loeliger <jdl@freescale.com>
2007-07-04 00:34:13 +02:00
Wolfgang Denk 83dc830b16 Merge with /home/mk/git/u-boot-generic_ohci#generic_ohci 2006-11-27 16:52:20 +01:00
Wolfgang Denk d3c5e8b2f5 Merge with /home/wd/git/u-boot/master 2006-11-27 16:13:00 +01:00
Markus Klotzbuecher 7b59b3c7a8 Introduced the configuration option CONFIG_USB_OHCI_NEW in order to be able
to choose between the old and the generic OHCI drivers.
2006-11-27 11:44:58 +01:00
Wolfgang Denk 2b208f5308 Move "ar" flags to config.mk to allow for silent "make -s"
Based on patch by Mike Frysinger, 20 Jun 2006
2006-10-09 01:02:05 +02:00
Marian Balakowicz f93286397e Add support for a saving build objects in a separate directory.
Modifications are based on the linux kernel approach and
support two use cases:

  1) Add O= to the make command line
  'make O=/tmp/build all'

  2) Set environement variable BUILD_DIR to point to the desired location
  'export BUILD_DIR=/tmp/build'
  'make'

The second approach can also be used with a MAKEALL script
'export BUILD_DIR=/tmp/build'
'./MAKEALL'

Command line 'O=' setting overrides BUILD_DIR environent variable.

When none of the above methods is used the local build is performed and
the object files are placed in the source directory.
2006-09-01 19:49:50 +02:00
Wolfgang Denk 98280e3d43 Merge with /home/wd/git/u-boot/master 2006-08-07 23:21:52 +02:00
Wolfgang Denk 32cb2c70c4 Add support for friendly-arm SBC-2410X board
Patch by JinHua Luo, 01 Sep 2005
2006-07-21 11:31:42 +02:00
Wolfgang Denk 99d70e3a47 More code cleanup 2006-06-26 11:06:00 +02:00
Wolfgang Denk f0e3d2b422 Merge with /home/wd/git/u-boot/master 2006-06-26 10:02:52 +02:00
Wolfgang Denk 30a43cc2ae Bugfix in I2C initialisation on S3C2400.
If the bus is blocked because of a previously interrupted
transfer, up to eleven clocks are generated on the I2CSCL
line to complete the transfer and to free the bus.
With this fix pin I2CSCL (PG6) is really configured as GPIO
so the clock pulses are really generated.
Patch by Martin Krause, 04 Apr 2006
2006-06-16 16:57:18 +02:00
Markus Klotzbuecher ddf83a2fce Support generic OHCI support for the s3c24x0 cpu. 2006-05-30 16:56:14 +02:00
Markus Klotzbuecher 301f1aa384 Changed the mp2usb (at91rm9200) board to use the generic OHCI driver. Some
fixes to the latter.
2006-05-23 13:38:35 +02:00
Wolfgang Denk db28ddb4da Fix CONFIG_SKIP_LOWLEVEL_INIT dependency in cpu/arm920t/start.S
Patch by Peter Menzebach, 13 Oct 2005 [DNX#2006040142000473]
2006-04-03 15:46:10 +02:00
Wolfgang Denk d87080b721 GCC-4.x fixes: clean up global data pointer initialization for all boards. 2006-03-31 18:32:53 +02:00
Wolfgang Denk d2ed2f661b More GCC 4.x woes 2006-03-11 23:07:09 +01:00
Wolfgang Denk d52fb7e3d1 Some code cleanup for GCC 4.x 2006-03-11 22:53:33 +01:00
Marian Balakowicz 63ff004c4f Add support for multiple PHYs. 2005-10-28 22:30:33 +02:00
Wolfgang Denk f57f70aab9 Support passing of OF flat trees to the kernel.
Patch by Pantelis Antoniou, 04 Sep 2005
2005-10-13 01:45:54 +02:00
Wolfgang Denk 95f9dda216 Eliminate hard-coded address of Ethernet transfer buffer on at91rm9200
Patch by Anders Larsen, 07 Oct 2005

The Atmel errata #11 states that the transfer buffer descriptor
table must be aligned on a 16-word boundary. As it turned out, this
is insufficient - it seems the table must be aligned on a boundary
at least as large as the table itself (in Linux this is not an
issue - the table is aligned on a PAGE_SIZE (4096) boundary).
2005-10-09 00:33:37 +02:00
Wolfgang Denk 87cb6862b9 Update make target for ARM supported boards.
Use lowlevel_init() instead of platformsetup() [rename].
Patch by Peter Pearse, 06 Oct 2005
2005-10-06 17:08:18 +02:00
Wolfgang Denk 78da60773c Complete support for the KwikByte KB920x boards
Patch by Anders Larsen, 05 Oct 2005
2005-10-06 01:22:22 +02:00
Wolfgang Denk c0e82d5016 Set the AT91RM9200 clock to asynchronous mode
Patch by Anders Larsen, 03 May 2005
2005-10-05 02:06:08 +02:00
Wolfgang Denk 3b9dfddfd8 Set the AT91RM9200 clock to synchronous mode
Patch by Anders Larsen, 29 Apr 2005
2005-10-05 02:02:25 +02:00
Wolfgang Denk 645da51097 Add support for Cogent csb637
Patch by Anders Larsen, 29 Apr 2005
2005-10-05 02:00:09 +02:00
Wolfgang Denk fef636b0cf Fix dm9161.c initialization
Patch by Anders Larsen, 29 Apr 2005
2005-10-05 01:54:04 +02:00
Wolfgang Denk 080bdb7f3a * Move dm9161.c and lxt972.c into cpu/arm920t/at91rm9200
Patch by Anders Larsen, 29 Apr 2005

* Fix problems introduced by Patch by Steven Scholz, 02 Mar 2005
  (8e2be51de8)
2005-10-05 01:51:29 +02:00
Wolfgang Denk 9b880bd4d8 Update ARM Integrator boards:
Correct addessing errors in platform files.
Split off common core module data from Integrator header files to
include/armcoremodule.h.
Patch by Peter Pearse, 04 Oct 2005
2005-10-04 23:10:28 +02:00
Wolfgang Denk 1820d4c73b Make sure only supported compiler options are used
Import "cc-option" shell function from kernel and
use it to get the correct ARM GCC options for individual CPUs
Patch by Peter Pearse, 30 Jun 2005
2005-10-04 22:38:24 +02:00
Wolfgang Denk d8e7e0f044 Add support for AT91RM9200 OHCI Controller.
Patch by Eric Benard, 07 Apr 2005
2005-09-26 01:26:56 +02:00
Wolfgang Denk fe7eb5d88b Cleanup 2005-09-25 02:00:47 +02:00
Wolfgang Denk 74f4304ee7 Add ARM946E cpu and core module targets; remap memory to 0x00000000
Patch by Peter Pearse, 2 Feb 2005
2005-09-25 01:48:28 +02:00