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

Simon Glass sjg at chromium.org
Sun Apr 9 19:28:36 UTC 2017


On 8 April 2017 at 03:59, Andreas Fenkart <afenkart at gmail.com> 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 use the driver model, or - worse - the
> driver model is not yet usable when relocating.
>
> Signed-off-by: Andreas Fenkart <afenkart at gmail.com>
> ---
>  common/env_sf.c | 14 +++++---------
>  1 file changed, 5 insertions(+), 9 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list