ftspi020: spi nand driver and test code
use libc/string from newlib