commit | fa11fe1b03a57e00073986b74813a74aa5b89290 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Fri Dec 06 21:41:42 2019 -0700 |
committer | Bin Meng <bmeng.cn@gmail.com> | Sun Dec 15 11:44:08 2019 +0800 |
tree | bb85d22dbbe04d704a6bf4ecc7d6464ee067ff34 | |
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>