[PATCH v6 069/102] spi: ich: Add mmio_base to struct ich_spi_platdata

Bin Meng bmeng.cn at gmail.com
Sun Dec 8 04:40:10 CET 2019


On Sat, Dec 7, 2019 at 12:51 PM Simon Glass <sjg at chromium.org> 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 <sjg at chromium.org>
> Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
> ---
>
> Changes in v6: None
> Changes in v5: None
> Changes in v4:
> - Use priv->pch instead of dev->parent
>
> Changes in v3: None
> Changes in v2: None
>

applied to u-boot-x86/next, thanks!


More information about the U-Boot mailing list