summaryrefslogtreecommitdiffstats
path: root/sys/arm/at91/at91_mci.c
Commit message (Collapse)AuthorAgeFilesLines
* Strip trailing whitespace before other changes.imp2012-06-131-2/+2
|
* Enhance the Atmel SoC chip identification routines to account for moreimp2012-06-061-15/+9
| | | | | | | | | | | | | | | | | | SoC variants. Fold the AT91SAM9XE chips into the AT91SAM9260 handling, where appropriate. The following SoCs/SoC families are recognized: at91cap9, at91rm9200, at91sam9260, at91sam9261, at91sam9263, at91sam9g10, at91sam9g20, at91sam9g45, at91sam9n12, at91sam9rl, at91sam9x5 and the following variations are also recognized: at91rm9200_bga, at91rm9200_pqfp, at91sam9xe, at91sam9g45, at91sam9m10, at91sam9g46, at91sam9m11, at91sam9g15, at91sam9g25, at91sam9g35, at91sam9x25, at91sam9x35 This is only the identification routine: no additional Atmel devices are supported at this time. # With these changes, I'm able to boot to the point of identification # on a few different Atmel SoCs that we don't yet support using the # KB920X config file -- someday tht will be an ATMEL config file...
* Revert debug and other immature code accidentally committed in r236372.imp2012-06-011-50/+10
|
* Initialize the clocks before we call cninit() so that the serialimp2012-06-011-10/+50
| | | | | | | console so initialized will work upon return from cninit. While this is the very next line, other platforms setup all this stuff before calling cninit. Also, initialize the SDRAM base register in the inner block in at91_ramsize().
* - Add support for MCI1 revision 2xx controllers and a work-around for theirmarius2012-04-221-7/+48
| | | | | | "Data Write Operation and number of bytes" erratum. - Use DEVMETHOD_END. - Use NULL instead of 0 for pointers.
* Remove pointless semicolons after labelkevlo2011-09-301-1/+1
|
* if_ate.c:cognet2010-10-061-25/+72
| | | | | | | | | | | | | | | | | | | | | | | * Support for sam9 "EMAC" controller. * Support for rmii interface to phy. at91.c & at91sam9.c: * Eliminate separate at91sam9.c file. * Add new devices to at91sam9_devs table. at91_machdep.c & at at91sam9_machdep.c: * Automatic chip type determination. * Remove compile time chip dependencies. * Eliminate separate at91sam9_machdep.c file. at91_pmc.c: * Corrected support for all of the sam926? and sam9g20 chips. * Remove compile time chip dependencies. My apologies to Greg for taking so long to take care of it.
* strict kobj signatures: number of fixes for arm architectureavg2009-06-111-1/+1
| | | | | | | no functional changes should result Reviewed by: imp, current@ Approved by: jhb (mentor)
* Move to having a caps flag. Newer versions of the AT91 family don'timp2009-01-231-13/+21
| | | | | need the bouncing, so save a few copies in that case. Also convert 4-bit code selection to using it.
* Don't over-commit the DMA. Use the passed in size of the transferimp2009-01-221-2/+1
| | | | | | rather than a fixed 512... This fixes the mount root problem on at91. Prior to the SD card reorg, all data transfers were 512 bytes, so we didn't notice.
* Remove now-redundant declaration.imp2009-01-221-1/+0
|
* o The f_max is really at91_master_clock / 2, not 30MHz, so compute it as such.imp2009-01-211-3/+6
| | | | | | | | | | o Only set 4-bit caps on those boards that have 4-bit caps (this means that because we don't set wire4 yet, this forces us to always use 1-bit bus). o Don't test wire4 when setting up the bus width, since bad things will happen if we do. # This likely won't fix the busted at91 sd card support, but these are # needful changes for correctness.
* Implement MMCBR_IVAR_CAPS. It should better be implemented, or resultsmav2009-01-201-0/+4
| | | | | | can be unpredictable. PR: arm/128987
* Tweak the disclaimer section of the license to match COPYRIGHT, forimp2008-11-251-10/+11
| | | | | better or worse. Ok'd by folks that have additional copyrights to the files in cases where there's joint authorship.
* - Fix two minor errors in at91 code.stas2008-11-181-1/+1
| | | | | | PR: arm/128959 Submitted by: Bjorn Konig <bkoenig@alpha-tierchen.de> Approved by: kib (mentor)
* Allow card reader bridge driver to report maximum supported transfer size.mav2008-10-291-0/+4
| | | | | | | | | sdhci supports up to 65535 blocks transfers, at91_mci - one block. Enable multiblock operations disabled before to follow at91_mci driver limitations. Reviewed by: imp@
* Use bus_get_dma_tag() instead of NULL here. Not really needed for atmelimp2008-10-071-3/+3
| | | | at the moment, but it is more correct.
* Properly implement read only. Also, the caps implementation is wrongimp2008-09-301-5/+1
| | | | here, so I'm backing it out.
* Implement MMCBR_IVAR_CAPS for AT91 MCI device.imp2008-09-281-0/+5
| | | | Submitted by: mav@ (well, not this one, but the base impl was)
* Turn some lame pseudo-code into a less lame comment.imp2008-09-051-8/+1
|
* Kill overly verbose messages about setting bus width.imp2007-09-161-5/+2
| | | | Approved by: re@ (blanket)
* o break newbus api: add a new argument of type driver_filter_t topiso2007-02-231-1/+1
| | | | | | | | | | | | | bus_setup_intr() o add an int return code to all fast handlers o retire INTR_FAST/IH_FAST For more info: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=465712+0+current/freebsd-current Reviewed by: many Approved by: re@
* MFp4: Read access require PDC to be setup first otherwise we might getticso2007-01-051-3/+5
| | | | | | overrun errors. Write access however need cmd first, so keep the existing order for them.
* MMC/SD bridge driver (host adapter) for AT91RM9200's MCI interface.imp2006-10-201-0/+725
This interface also appears in the AT91SAM9260 and '61 as well as the AVR32 based micros from Atmel. We don't yet support write protect or hot-swap in this bridge driver.
OpenPOWER on IntegriCloud