How to add sdcard support while building u-boot

Discussion created by Aaronwu Employee on Sep 7, 2011
Latest reply on Oct 11, 2011 by Aaronwu


I need to build u-boot with support for sdcard on-board our TLL6527M  platform (assuming the u-boot has support for sdcard over SPI bus on a  blackfin based system). The SDCARD is connected on the spi bus and gpio  PH12 is being used for chip select.

1. What are the steps to enable sdcard support while building u-boot?  Specifically, where to map the correct chip select? I saw this wiki  page http://docs.blackfin.uclinux.org/doku.php?id=bootloaders:u-boot:mmc.  It talks about usage but not about building support for it in u-boot.

2. Is it possible to map a GPIO instead of native SSEL signals of the  blackfin SPI controller as chip select for sdcard in uboot?

Thanks & regards,