commit | ea4923e60e12841d1c187247739cf632fc8abfc1 | [log] [tgz] |
---|---|---|
author | Qianyu Gong <qianyu.gong@nxp.com> | Wed Aug 03 11:04:25 2016 +0800 |
committer | York Sun <york.sun@nxp.com> | Wed Sep 14 14:04:56 2016 -0700 |
tree | 9606b1a8eafd775c4b648abc024007ddeccd186b | |
parent | b96fe7895caf339ce9a8797dbfd4f1d31a095ab4 [diff] |
net: fm: fix spi flash probe for using driver model The current code would always use the speed and mode set by CONFIG_ENV_SPI_MAX_HZ and CONFIG_ENV_SPI_MODE. But if using SPI driver model it should get the values from DT. Signed-off-by: Gong Qianyu <Qianyu.Gong@nxp.com> Reviewed-by: Jagan Teki <jteki@openedev.com> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com> Reviewed-by: York Sun <york.sun@nxp.com>