sf: atmel: implement power-of-two write/erase funcs