SD Host Driver
Table of Contents
2 What need to do in SD host driver
- first, need to alloc a mmc\host with mmc\alloc\host();
- Realizing the function need in struct mmc\host\ops base on the specified host controller;
- Init the member in mmc\host
- At last, call mmc\add\host() to add mmc\host
- request irq for the status of SD card and IO of controller.
3 The call releation occured in the process of inserting a card