commit | 6fe7743d05ce1006d4436f2776d58216bd1d0c0a | [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 | 63d534461555c7948eeddf6250f76019b329b15a [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>