
10 Oct
2010
10 Oct
'10
8:48 a.m.
Dear Lei Wen,
In message AANLkTi=qBk7N+SdW_6K1=ywKM1ZKo5F-518Q7qceNXws@mail.gmail.com you wrote:
Although the common code is named as mmc.c, I think a lot of people use it to work for sd too, since they are compatible in most case.
Right. And where SD drivers differ, such differeng code should be provided by the SD drivers, and not pulled into the common code parts.
the driver cannot do nothing unless a mess change.
Please explain why that shouldnot be possible. It's the driver that accesses your hardware, so it has full control over everything going on.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
Dealing with failure is easy: work hard to improve. Success is also
easy to handle: you've solved the wrong problem. Work hard to
improve.