[U-Boot] [PATCH] Fix typo inside atmel_mci driver

Claudio Mignanti c.mignanti at gmail.com
Fri Aug 13 13:30:50 CEST 2010


2010/8/7 Reinhard Meyer <reinhard.meyer at emk-elektronik.de>:
> Wolfgang Denk wrote:
>>
>> Dear Claudio Mignanti,
>>
>> In message <AANLkTikkNw19U8yiQokqyE-WxjuO4b8RwqO-IBPa18W3 at mail.gmail.com>
>> you wrote:
>>
>>>
>>> The function get_mci_clk_rate is used inside atmel_mci driver
>>>  but never defined. Fix this typo.
>>>
>
> Thats NOT a typo. The current atmel_mci.c is for AVR32 ONLY.
>>

 With the proposed patch I successfully use this driver on at91sam9g20!
Probabily they share the same mci controller I don't know, I want only
report this experience.

U-Boot 2009.08 (Dec 22 2009 - 13:15:07)

CPU: AT91SAM9G20
Crystal frequency:   18.432 MHz
CPU clock        :  396.288 MHz
Master clock     :  132.096 MHz
DRAM:  64 MB
DataFlash:AT45DB642
Nb pages:   8192
Page Size:   1056
Size= 8650752 bytes
....
u-boot> mmc init
mmc: setting clock 150000 Hz, block size 512
mmc: clock 150000 too low; setting CLKDIV to 255
Manufacturer ID:       1B
OEM/Application ID:    534D
Product name:          UD
Product Revision:      1.0
Product Serial Number: 3550481429
Manufacturing Date:    07/10
SD Card detected (RCA 45928)
CSD data: 32002f00 000195f5 feb6df33 0009a5fc
CSD structure version:   1.0
MMC System Spec version: 0
Card command classes:    5f5
Read block length:       512

Supports partial reads
Write block length:      512
Does not support partial writes
Supports group WP:      16
Card capacity:		510132224 bytes
File format:            0/0
Write protection:
mmc: Using 3145728 cycles data timeout (DTOR=0x73)
mmc: setting clock 5000000 Hz, block size 512
.mmc1 is available


More information about the U-Boot mailing list