commit | f0c989078d6a2587c7bcf93ffdfb05203df95ad5 | [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 | f5bdce2941edfb67fb0f6c5ec5631ad3655aa11f [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>