[PATCH v2 1/1] fw_env: autodetect NAND erase size and env sectors