Hi Simon,

On Mon, Oct 21, 2019 at 11:40 AM Simon Glass <s...@chromium.org> wrote:
>
> Reduce the size of the probe function but putting this code into its own
> function.
>

It's unclear to me why this brings any benefit? The size of the probe
function indeed is reduced, but whole file size does not change, no?

> Also remove the assumption that the PCH is always a parent of the SPI
> controller, as this is not the case APL platforms. Use driver model to
> find the PCH instead.
>
> Signed-off-by: Simon Glass <s...@chromium.org>
> ---
>
> Changes in v3: None
> Changes in v2: None
>
>  drivers/spi/ich.c | 55 +++++++++++++++++++++++++++++++----------------
>  drivers/spi/ich.h |  1 +
>  2 files changed, 38 insertions(+), 18 deletions(-)
>

Regards,
Bin
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to