[U-Boot] [PATCH v3 03/21] mtd: Add sanity checks in mtd_write/read_oob()