On Mon, Nov 25, 2019 at 12:12 PM Simon Glass <[email protected]> wrote:
>
> It is useful to store the mmio base in platdata. It reduces the amount of
> casting needed. Update the code and move the struct to the C file at the
> same time, as we will need to use with of-platdata.
>
> Signed-off-by: Simon Glass <[email protected]>
> ---
>
> Changes in v5: None
> Changes in v4:
> - Use priv->pch instead of dev->parent
>
> Changes in v3: None
> Changes in v2: None
>
>  drivers/spi/ich.c | 27 +++++++++++++--------------
>  drivers/spi/ich.h |  5 -----
>  2 files changed, 13 insertions(+), 19 deletions(-)
>

Reviewed-by: Bin Meng <[email protected]>
_______________________________________________
U-Boot mailing list
[email protected]
https://lists.denx.de/listinfo/u-boot

Reply via email to