p1: arm: mach: fixed sdcard detect process

Signed-off-by: Humberto Borba <humberos@gmail.com>