commit | 09ffafb6977dc930770af2910edc3b469651131d | [log] [tgz] |
---|---|---|
author | Huang Shijie <shijie.huang@intel.com> | Thu Nov 06 07:34:01 2014 +0100 |
committer | Brian Norris <computersforpeace@gmail.com> | Mon Dec 01 00:05:00 2014 -0800 |
tree | c419899670af78a805d9cc3f4bbe6fa3333c0e27 | |
parent | c30e1f790b0e48669cdc09d469a3f31369790d3b [diff] |
mtd: spi-nor: add id/id_len for flash_info{} This patch adds the id/id_len fields for flash_info{}, and rewrite the INFO to fill them. And at last, we read out 6 bytes in the spi_nor_read_id(), and we use these new fields to parse out the correct flash_info. Signed-off-by: Huang Shijie <shijie.huang@intel.com> Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>