Revert "revision of SD EXT logic"

This reverts commit bb2e85b3445e0694d7aa76253cd1e6eac5ed6500.