commit | a009ab3a4b82605e6738a9e6e84100a6a4cf6be9 | [log] [tgz] |
---|---|---|
author | Kuldeep Singh <kuldeep.singh@nxp.com> | Fri Sep 11 16:36:49 2020 +0530 |
committer | Priyanka Jain <priyanka.jain@nxp.com> | Thu Sep 24 20:57:32 2020 +0530 |
tree | da9142bbca2e96e3fd51a5c9e49094c3f5d64949 | |
parent | b363eca05d5e645b8740ac38ad09d272b5f70cdb [diff] |
net: pfe_eth: Remove non-DM code check from pfe_spi_flash_init CONFIG_DM_SPI_FLASH is only supported now with passing of driver conversion deadline from non-DM to DM model. Hence, it's safe to remove non-DM code check from pfe_spi_flash_init. Also use CONFIG_ENV_SPI_MODE and CONFIG_ENV_SPI_MAX_HZ instead of reading reading values from DT. Signed-off-by: Kuldeep Singh <kuldeep.singh@nxp.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>