commit | eb0ae6f578fc4f9f4b8a41231888a978b5538c46 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Fri Dec 06 21:42:42 2019 -0700 |
committer | Bin Meng <bmeng.cn@gmail.com> | Sun Dec 15 11:44:22 2019 +0800 |
tree | 7f5482d4229c448a2d6d8b2fbffea7f4298cb7ae | |
parent | d500dd8c24efd4394ff052d1d520e841f45dfaba [diff] |
spi: ich: Add mmio_base to struct ich_spi_platdata 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@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>