summaryrefslogtreecommitdiff
path: root/cpu/arm920t
Commit message (Collapse)AuthorAgeLines
* usb.h: use standard __LITTLE_ENDIAN from Linux headersMike Frysinger2009-01-28-3/+1
| | | | | | | | | Rather than forcing people to define a custom "LITTLEENDIAN", just use the __LITTLE_ENDIAN one from the Linux byteorder headers that every arch is already setting up. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Remy Bohmer <linux@bohmer.net>
* at91rm9200: move define from lowlevel_init to headerJean-Christophe PLAGNIOL-VILLARD2009-01-06-48/+22
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* at91rm9200: rename lowlevel init value to CONFIG_SYS_Jean-Christophe PLAGNIOL-VILLARD2009-01-06-44/+44
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* i2c: merge all i2c_reg_read() and i2c_reg_write() into inline functionsTimur Tabi2008-12-15-14/+0
| | | | | | | | | | All implementations of the functions i2c_reg_read() and i2c_reg_write() are identical. We can save space and simplify the code by converting these functions into inlines and putting them in i2c.h. Signed-off-by: Timur Tabi <timur@freescale.com> Acked-By: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* Remove compiler warning: target CPU does not support interworkingSergei Poselenov2008-12-13-0/+1
| | | | | | | This warning is issued by modern ARM-EABI GCC on non-thumb targets. Signed-off-by: Vladimir Panfilov <pvr@emcraft.com> Signed-off-by: Sergei Poselenov <sposelenov@emcraft.com>
* AT91: remove non supported board AT91RM9200DF macroJean-Christophe PLAGNIOL-VILLARD2008-12-02-2/+2
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* AT91RM9200DK: fix broken boot from NOR flashWolfgang Denk2008-11-24-1/+1
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* at91rm9200: fix broken boot from nor flashJens Scharsig2008-11-24-4/+1
| | | | | | | This patch fix the broken boot from NOR Flash on AT91RM9200 boards, if CONFIG_AT91RM9200 is defined and nor preloader is used. Signed-off-by: Jens Scharsig <esw@bus-elektronik.de>
* Merge git://git.denx.de/u-boot into x1Markus Klotzbuecher2008-10-21-28/+28
|\ | | | | | | | | | | Conflicts: drivers/usb/usb_ohci.c
| * rename CFG_ macros to CONFIG_SYSJean-Christophe PLAGNIOL-VILLARD2008-10-18-28/+28
| | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* | The PIPE_INTERRUPT flag is used wrongRemy Bohmer2008-10-14-4/+4
|/ | | | | | | | | | | | | | At a lot of places in the code the PIPE_INTERRUPT flags and friends are used wrong. The wrong bits are compared to this flag resulting in wrong conditions. Also there are macros that should be used for PIPE_* flags. This patch tries to fix them all, however, I was not able to test the changes, because I do not have any of these boards. Review required! Signed-off-by: Remy Bohmer <linux@bohmer.net> Signed-off-by: Markus Klotzbuecher <mk@denx.de>
* at91rm9200: fix errors with CONFIG_CMD_I2C_TREEJens Scharsig2008-09-12-0/+10
| | | | | | | | This patch prevents linker error on AT91RM9200 boards, if CONFIG_CMD_I2_TREE is set. It implements i2c_set_bus_speed and i2c_get_bus_speed as a dummy function. Signed-off-by: Jens Scharsig <esw@bus-elektronik.de>
* i.mx change get_timer(base) to return time since baseAndrew Dyer2008-09-12-1/+1
| | | | | | | | | | This patch changes get_timer() for i.MX to return the time since 'base' instead of the time since the counter was at zero. Symptom seen is flash timeout errors when erasing or programming a sector using the common cfi flash code. Signed-off-by: Andrew Dyer <adyer@righthandtech.com>
* i.MX use u-boot baud rate and don't assume UART master clockAndrew Dyer2008-09-12-15/+41
| | | | | | | | | | | | 1) Change the i.MX serial driver to use the baud rate set in the u-boot environment 2) don't assume a 16MHz value for PERCLK1 in baud rate calculations 3) don't write a 1 to the RDR bit in the USR2 reg. (bit is not "write one to clear" like other status bits in the reg.) Signed-off-by: Andrew Dyer <adyer@righthandtech.com>
* arm920t fix constant error in start.SAndrew Dyer2008-09-12-2/+4
| | | | | | | | | Code in cpu/arm920t/start.S will die with a compilation error if CONFIG_STACKSIZE + CFG_MALLOC_LEN works out to an invalid constant for the ARM sub instruction. Change the code so that each is subtracted independently to avoid the error. Signed-off-by: Andrew Dyer <adyer@righthandtech.com>
* Merge branch 'master' of git://git.denx.de/u-boot-nand-flashWolfgang Denk2008-08-14-32/+32
|\
| * s3c24x0: Update NAND driver to new API.Scott Wood2008-08-13-32/+32
| | | | | | | | Signed-off-by: Scott Wood <scottwood@freescale.com>
* | drivers/mtd/nand: Move conditional compilation to MakefileJean-Christophe PLAGNIOL-VILLARD2008-08-13-1/+1
|/ | | | | | rename CFG_NAND_LEGACY to CONFIG_NAND_LEGACY Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* Remove duplicate definitions in include/lxt971a.h.Hugo Villeneuve2008-07-06-7/+8
| | | | | | | | | | | Remove duplicate definitions in include/lxt971a.h. Remove duplicate registers and bits definitions in include/lxt971a.h for standard MII registers, and use values in include/miiphy.h instead. Signed-off-by: Hugo Villeneuve <hugo.villeneuve@lyrtech.com> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
* Big white-space cleanup.Wolfgang Denk2008-05-21-170/+167
| | | | | | | | | | | This commit gets rid of a huge amount of silly white-space issues. Especially, all sequences of SPACEs followed by TAB characters get removed (unless they appear in print statements). Also remove all embedded "vim:" and "vi:" statements which hide indentation problems. Signed-off-by: Wolfgang Denk <wd@denx.de>
* Fix some typosAdrian Filipi2008-05-09-1/+1
| | | | | | | | | This patch fixes three typos. The first is a repetition of CONFIG_CMD_BSP. The second makes the #endif comment match its #if. The third is a spelling error. Signed-off-by: Adrian Filipi <adrian.filipi@eurotech.com>
* USB: fix more GCC 4.2.x aliasing warningsWolfgang Denk2008-04-25-2/+2
| | | | | Signed-off-by: Wolfgang Denk <wd@denx.de> Acked-by: Markus Klotzbuecher <mk@denx.de>
* Fix regression introduced by a typo in "Tidied other cpu/arm920t/start.S code"Guennadi Liakhovetski2008-04-17-1/+1
| | | | | | | | | | | | | | Restore logic reverted by commit commit 80767a6cead9990d9e77e62be947843c2c72f469 Author: Peter Pearse <peter.pearse@arm.com> Date: Wed Sep 5 16:04:41 2007 +0100 Changed API name to coloured_led.h Removed code using deprecated ifdef CONFIG_BOOTBINFUNC Tidied other cpu/arm920t/start.S code Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
* use correct at91rm9200 register nameDavid Brownell2008-03-30-3/+3
| | | | | | | | 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>
* s3c24x0: Fix unused variable 'i' in function 'serial_init_dev'Jean-Christophe PLAGNIOL-VILLARD2008-02-17-1/+0
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* ARM: cleanup duplicated exception handlingcodeAndreas Engel2008-02-14-132/+3
| | | | | | Move duplicated exception handling code into lib_arm. Signed-off-by: Andreas Engel <andreas.engel@ericsson.com>
* ARM: S3C24x0 SoC NAND controller supportHarald Welte2008-02-04-1/+180
| | | | | | This patch adds NAND support to the S3C24x0 SoC code in u-boot Signed-off-by: Harald Welte <laforge@openmoko.org>
* ARM: s3c24xx: Multiple serial port supportHarald Welte2008-02-04-21/+143
| | | | | | This patch adds support for CONFIG_SERIAL_MULTI on s3c24x0 CPU's Signed-off-by: Harald Welte <laforge@openmoko.org>
* ARM: arm920t: Allow use of 'gd' pointer from IRQHarald Welte2008-02-04-5/+5
| | | | | | | | 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>
* ARM: arm920/s3c24xx: IRQ demulitplexer callbackHarald Welte2008-02-04-1/+15
| | | | | | | | | | | 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>
* s3c24x0: Fix usb_ohci.c missing in MakefileJean-Christophe PLAGNIOL-VILLARD2007-11-18-8/+8
| | | | | | and usb_ohci.c warning differ in signedness Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* fix warning: no return statement in function returning non-voidJean-Christophe PLAGNIOL-VILLARD2007-10-24-4/+4
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* Move coloured led API to status_led.hPeter Pearse2007-09-18-1/+1
| | | | Improve indentation in drivers/at45.c
* Final tidyPeter Pearse2007-09-11-0/+0
|
* Changed API name to coloured_led.hPeter Pearse2007-09-05-105/+21
| | | | | Removed code using deprecated ifdef CONFIG_BOOTBINFUNC Tidied other cpu/arm920t/start.S code
* Add coloured led interface for ARM boards.Peter Pearse2007-09-04-8/+6
| | | | Use it in cpu/arm920t/start.S to indicate U-Boot code has been entered.
* Coding style cleanup. Update CHANGELOG.Wolfgang Denk2007-08-14-2/+0
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* Add the files.Peter Pearse2007-08-14-0/+153
|
* Add MACH_TYPE records for several AT91 boards.Peter Pearse2007-08-14-8/+98
| | | | | | | | | | | 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>
* Merge with git://www.denx.de/git/u-boot.gitMarkus Klotzbuecher2007-08-07-11/+11
|\
| * cpu/[7a-ln-z]*: Remove obsolete references to CONFIG_COMMANDSJon Loeliger2007-07-09-11/+11
| | | | | | | | Signed-off-by: Jon Loeliger <jdl@freescale.com>
| * cpu/ non-mpc*: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).Jon Loeliger2007-07-04-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Merge with /home/mk/git/u-boot-generic_ohci#generic_ohciWolfgang Denk2006-11-27-2/+2
|\ \
| * | Introduced the configuration option CONFIG_USB_OHCI_NEW in order to be ableMarkus Klotzbuecher2006-11-27-2/+2
| | | | | | | | | | | | to choose between the old and the generic OHCI drivers.
* | | Merge with /home/wd/git/u-boot/masterWolfgang Denk2006-11-27-42/+58
|\ \ \ | |/ / |/| / | |/
| * Move "ar" flags to config.mk to allow for silent "make -s"Wolfgang Denk2006-10-09-5/+5
| | | | | | | | Based on patch by Mike Frysinger, 20 Jun 2006
| * Add support for a saving build objects in a separate directory.Marian Balakowicz2006-09-01-39/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Merge with /home/wd/git/u-boot/masterWolfgang Denk2006-08-07-1/+3
|\ \ | |/
| * Add support for friendly-arm SBC-2410X boardWolfgang Denk2006-07-21-1/+3
| | | | | | | | Patch by JinHua Luo, 01 Sep 2005
* | More code cleanupWolfgang Denk2006-06-26-3/+3
| |