update mmcsd: use local ffs and fls.