summaryrefslogtreecommitdiff
path: root/cpu/pxa
Commit message (Collapse)AuthorAgeLines
* Set up SD/MMC OCR as comment describes. i.e. 3.2-3.4v.Adrian Filipi2008-09-12-2/+2
| | | | Signed-off-by: Adrian Filipi <adrian.filipi@eurotech.com>
* Fix merge problemsStefan Roese2008-08-06-5/+0
| | | | Signed-off-by: Stefan Roese <sr@denx.de>
* Fix some more printf() format issues.Jean-Christophe PLAGNIOL-VILLARD2008-07-13-2/+4
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* Fix build time warnings in function mmc_decode_csd()Marcel Ziswiler2008-07-13-1/+1
| | | | Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>
* Minor spelling fix in comment.Marcel Ziswiler2008-07-10-1/+1
| | | | Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>
* MMC: Consolidate MMC/SD command definitionsHaavard Skinnemoen2008-06-28-4/+7
| | | | | | | | | | | | | | | This moves the MMC and SD Card command definitions from include/asm/arch/mmc.h into include/mmc.h. These definitions are given by the MMC and SD Card standards, not by any particular architecture. There's a lot more room for consolidation in the MMC drivers which I'm hoping to get done eventually, but this patch is a start. Compile-tested for all avr32 boards as well as lpc2292sodimm and lubbock. This should cover all three mmc drivers in the tree. Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
* Big white-space cleanup.Wolfgang Denk2008-05-21-4/+4
| | | | | | | | | | | 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>
* pxa: fix previous definition on cpu initJean-Christophe PLAGNIOL-VILLARD2008-05-03-5/+1
| | | | | | | | | | start.S:183:1: warning: "ICMR" redefined In file included from start.S:33: include/asm/arch/pxa-regs.h:935:1: warning: this is the location of the previous definition start.S:187:1: warning: "RCSR" redefined ... Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* pxa: fix assignment from incompatible pointer typeJean-Christophe PLAGNIOL-VILLARD2008-02-17-1/+1
| | | | | | fix mmc_bread function prototype Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* ARM: cleanup duplicated exception handlingcodeAndreas Engel2008-02-14-117/+0
| | | | | | Move duplicated exception handling code into lib_arm. Signed-off-by: Andreas Engel <andreas.engel@ericsson.com>
* MMC for PXA 27X (resubmit)stefano babic2008-02-03-163/+336
| | | | | | | | | | | | | MMC support for X_Scale PXA is broken and does not work. Mainly, the mmc_init() function cannot recognize current SD/MMC cards. There were already some patches around the world but none of them was merged into the official u-boot tree. This patch makes order fixing this issue. Resubmit after code cleanup. Applied and tested on PXA 270 (TrizepsIV module). Signed-off-by: Stefano Babic <sbabic@denx.de>
* Merge branch 'master' of git://www.denx.de/git/u-boot-usbWolfgang Denk2008-01-09-0/+16
|\
| * Merge git://www.denx.de/git/u-bootMarkus Klotzbuecher2008-01-09-1/+1
| |\ | | | | | | | | | | | | | | | Conflicts: board/tqm5200/tqm5200.c
| * | PXA USB OHCI: "usb stop" implementation.Rodolfo Giometti2007-10-31-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | Some USB keys need to be switched off before loading the kernel otherwise they can remain in an undefined status which prevents them to be correctly recognized by the kernel. Signed-off-by: Rodolfo Giometti <giometti@linux.it> Signed-off-by: Markus Klotzbuecher <mk@denx.de>
* | | fix various commentsMarcel Ziswiler2008-01-09-19/+19
| |/ |/| | | | | Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>
* | Fix compiler warnings for ARM systems.Wolfgang Denk2007-11-18-1/+1
|/ | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* delta: Fix OHCI_REGS_BASE undeclared and wait_ms implicit declarationJean-Christophe PLAGNIOL-VILLARD2007-10-24-0/+1
| | | | 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-3/+3
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* fix pxa255_idp boardMarcel Ziswiler2007-10-23-39/+42
| | | | | | | | | | | | | | | | | | | | | | | The pxa255_idp being an old unmaintained board showed several issues: 1. CONFIG_INIT_CRITICAL was still defined. 2. Neither CONFIG_MAC_PARTITION nor CONFIG_DOS_PARTITION was defined. 3. Symbol flash_addr was undeclared. 4. The boards lowlevel_init function was still called memsetup. 5. The TEXT_BASE was still 0xa3000000 rather than 0xa3080000. 6. Using -march=armv5 instead of -march=armv5te resulted in lots of 'target CPU does not support interworking' warnings on recent compilers. 7. The PXA's serial driver redefined FFUART, BTUART and STUART used as indexes rather than the register definitions from the pxa-regs header file. Renamed them to FFUART_INDEX, BTUART_INDEX and STUART_INDEX to avoid any ambiguities. 8. There were several redefinition warnings concerning ICMR, OSMR3, OSCR, OWER, OIER, RCSR and CCCR in the PXA's assembly start file. 9. The board configuration file was rather outdated. 10. The part header file defined the vendor, product and revision arrays as unsigned chars instead of just chars in the block_dev_desc_t structure. Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>
* PXA USB OHCI: "usb stop" implementation.Rodolfo Giometti2007-10-15-0/+16
| | | | | | | | Some USB keys need to be switched off before loading the kernel otherwise they can remain in an undefined status which prevents them to be correctly recognized by the kernel. Signed-off-by: Rodolfo Giometti <giometti@linux.it>
* Fix warning differ in signedness in cpu/pxa/mmc.cJean-Christophe PLAGNIOL-VILLARD2007-10-13-3/+3
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* PXA270: Add support for multiple serial ports.stefano babic2007-09-07-82/+269
| | | | | | | This patch adds support for multiple serial ports to the PXA target. FFUART, BTUART and STUART are supported. Signed-off-by: Stefano Babic <sbabic@denx.de>
* USB: cleanup monahans usb support. Remove dead code.Markus Klotzbuecher2007-04-03-11/+1
| | | | Signed-off-by: Markus Klotzbuecher <mk@denx.de>
* PXA: pxa27x USB OHCI supportRodolfo Giometti2007-03-26-2/+13
| | | | Signed-off-by: Rodolfo Giometti <giometti@linux.it>
* Merge with git://www.denx.de/git/u-boot.git#testing-USBMarkus Klotzbuecher2007-03-23-1/+79
|\
| * Merge with /home/mk/git/u-boot-generic_ohci#generic_ohciWolfgang Denk2006-11-27-1/+1
| |\
| | * Introduced the configuration option CONFIG_USB_OHCI_NEW in order to be ableMarkus Klotzbuecher2006-11-27-1/+1
| | | | | | | | | | | | to choose between the old and the generic OHCI drivers.
| * | Merge with /home/wd/git/u-boot/masterWolfgang Denk2006-11-27-8/+12
| |\ \ | | |/ | |/|
| * | Support generic OHCI support for the s3c24x0 cpu.Markus Klotzbuecher2006-05-30-0/+5
| | |
| * | Changed the mp2usb (at91rm9200) board to use the generic OHCI driver. SomeMarkus Klotzbuecher2006-05-23-3/+5
| | | | | | | | | | | | fixes to the latter.
| * | More cleanup for the delta board and the generic usb_ohci driver. AddedMarkus Klotzbuecher2006-05-23-1/+72
| | | | | | | | | | | | | | | CFG_USB_BOARD_INIT and CFG_USB_CPU_INIT for enabling board and cpu specific initialization and cleanup hooks respectively.
* | | [PATCH 9_9] Use "void *" not "unsigned long *" for block dev read_write ↵Grant Likely2007-02-20-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | buffer pointers Block device read/write is anonymous data; there is no need to use a typed pointer. void * is fine. Also add a hook for block_read functions Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
* | | [PATCH 1_4] Merge common get_dev() routines for block devicesGrant Likely2007-02-20-1/+1
| |/ |/| | | | | | | | | | | Each of the filesystem drivers duplicate the get_dev routine. This change merges them into a single function in part.c Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
* | Move "ar" flags to config.mk to allow for silent "make -s"Wolfgang Denk2006-10-09-1/+1
| | | | | | | | Based on patch by Mike Frysinger, 20 Jun 2006
* | Add support for a saving build objects in a separate directory.Marian Balakowicz2006-09-01-7/+11
|/ | | | | | | | | | | | | | | | | | | | | 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.
* GCC-4.x fixes: clean up global data pointer initialization for all boards.Wolfgang Denk2006-03-31-4/+6
|
* Added config options CFG_MONAHANS_RUN_MODE_OSC_RATIO andMarkus Klotzbuecher2006-03-24-2/+15
| | | | | CFG_MONAHANS_TURBO_RUN_MODE_RATIO for configuring the Monahans core frequency.
* delta board: DA9030 initialization and i2c support. Some minor changes toMarkus Klotzbuecher2006-03-24-5/+14
| | | | make the pxa i2c driver work with the monahans cpu.
* Cleanup (get rid of debug code that sneaked in)Wolfgang Denk2006-03-07-1/+0
|
* Merge with /home/wd/git/u-boot/masterWolfgang Denk2006-03-06-47/+40
|\ | | | | | | Code cleanup.
* | Cleanup of NAND support of delta board using the Monahans Data FlashMarkus Klotzbücher2006-03-06-1/+9
| | | | | | | | Controller.
* | Lots of new stuff:Markus Klotzbücher2006-03-04-1/+1
| | | | | | | | | | | | | | | | | | | | | | * Debug message can be turned on and off. * Waiting for events now times out. * Implemented RESET command. * Added appropriate nand_bbt_descriptor and nand_oobinfo. Remaining Problems: * Read Status still behaves weird an returns invalid stuff sometimes. * ECC Placement does not respect our scheme in nand_oobinfo.
* | All subsystem clocks not immediately need are turned at reset.Markus Klotzbücher2006-02-28-0/+10
| |
* | Added GPIO initialization of DF signal. Still not working.Markus Klotzbücher2006-02-28-0/+1
| |
* | This is the first commit for the u-boot zylonite port. The following has beMarkus Klotzbücher2006-02-07-12/+47
|/ | | | | | | | | | | | | done so far: * created zylonite board dir (based on lubbock) * extended some - but not all pxa sources and headers for Intel Monahans support (CONFIG_CPU_MONAHANS) * created Makefile zylonite target + MAKEALL entry * added some debug nonsense, remove later, grep for mk@tbd Status: compiles (eldk-4.0), and can be started with BDI, but runs forever and doesn't halt at breakpoints. Hmmm...
* Update ARM Integrator boards:Wolfgang Denk2005-10-04-1/+0
| | | | | | | 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
* Make sure only supported compiler options are usedWolfgang Denk2005-10-04-2/+10
| | | | | | 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
* * Patches by Robert Whaley, 29 Nov 2004:wdenk2005-04-06-79/+62
| | | | | | | | | | | | - update the pxa-regs.h file for PXA27x chips - add PXA27x based ADSVIX board - add support for MMC on PXA27x processors * Patch by Andrew E. Mileski, 28 Nov 2004: Fix PPC4xx SPD SDRAM detection bug * Patch by Hiroshi Ito, 26 Nov 2004: Fix logic of "test -z" and "test -n" commands
* Patch by Steven Scholz, 4 Apr 2005:wdenk2005-04-04-1/+3
| | | | | | - remove all references to CONFIG_INIT_CRITICAL for ARM based boards - introduce two new configuration options instead: CONFIG_SKIP_LOWLEVEL_INIT and CONFIG_SKIP_RELOCATE_UBOOT
* Fix timer code for ARM systems: make sure that udelay() does notwdenk2005-04-04-3/+7
| | | | reset timers so it's save to use udelay() in timeout code.