rk27xx: Add status led (icon) support to SD driver

Change-Id: I47a36c0cf7319c2b100b813fdcbea024c7ae0b0a
This commit is contained in:
Marcin Bukat 2012-12-16 12:14:44 +01:00
parent 3ac7af95a9
commit dac6dbc013
4 changed files with 11 additions and 0 deletions

View file

@ -730,10 +730,12 @@ void sd_enable(bool on)
if (on)
{
SCU_CLKCFG &= ~(1<<22);
led(true);
}
else
{
SCU_CLKCFG |= (1<<22);
led(false);
}
}