Re: [U-Boot] [PATCH v2 2/4] enf_sf: reuse setup_flash_device instead of open coding it

2017-04-09 Thread Simon Glass
On 8 April 2017 at 03:59, Andreas Fenkart wrote: > setup_flash_device selects one of two code paths depending on the driver > model being used (=CONFIG_DM_SPI_FLASH). env_relocate_spec only used > the non driver-model code path. I'm unsure why, either none of the > platforms that need relocation u

[U-Boot] [PATCH v2 2/4] enf_sf: reuse setup_flash_device instead of open coding it

2017-04-08 Thread Andreas Fenkart
setup_flash_device selects one of two code paths depending on the driver model being used (=CONFIG_DM_SPI_FLASH). env_relocate_spec only used the non driver-model code path. I'm unsure why, either none of the platforms that need relocation use the driver model, or - worse - the driver model is not