From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bin Meng Date: Sun, 8 Dec 2019 11:40:10 +0800 Subject: [PATCH v6 069/102] spi: ich: Add mmio_base to struct ich_spi_platdata In-Reply-To: <20191206213936.v6.69.Ia4292d7b2d0dd5cf7d5a0379462b6c97eacf625b@changeid> References: <20191207044315.51770-1-sjg@chromium.org> <20191206213936.v6.69.Ia4292d7b2d0dd5cf7d5a0379462b6c97eacf625b@changeid> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sat, Dec 7, 2019 at 12:51 PM Simon Glass 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 > Reviewed-by: Bin Meng > --- > > 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!