2010/8/7 Reinhard Meyer <reinhard.me...@emk-elektronik.de>: > Wolfgang Denk wrote: >> >> Dear Claudio Mignanti, >> >> In message <aanlktikknw19u8yiqokqye-wxjuo4b8rwqo-ibpa1...@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 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot