sunxi_nand_spl: Auto detect nand configuration parameters