diff options
author | Simon Glass <sjg@chromium.org> | 2019-12-06 21:41:42 -0700 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2019-12-15 11:44:08 +0800 |
commit | fa11fe1b03a57e00073986b74813a74aa5b89290 (patch) | |
tree | bb85d22dbbe04d704a6bf4ecc7d6464ee067ff34 /arch/sh | |
parent | 8d72d5bf08488ff28a8ed27389dae8a169c39190 (diff) |
i2c: designware: Support use in SPL
Allow this driver to set up an IO address in SPL using an 'early-regs'
property. This allows SPL to use the I2C driver without having to enable
the full PCI stack.
Also split out ofdata_to_platdata in designware driver since this is more
correct, and more convenient for the new logic.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch/sh')
0 files changed, 0 insertions, 0 deletions