commit | 8d72d5bf08488ff28a8ed27389dae8a169c39190 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Fri Dec 06 21:41:41 2019 -0700 |
committer | Bin Meng <bmeng.cn@gmail.com> | Sun Dec 15 11:44:08 2019 +0800 |
tree | 4dc6096e0d8b7b330eba11cbb9849b562503a30e | |
parent | 457df2337fc90431dc60b9b256ac1fdb8809f4cf [diff] |
i2c: designware: Avoid using static data Drivers are not allowed to use static data since they may be used in SPL where BSS is not available. It is possible that driver model may provide support for numbering devices in the future. But for now, move this to global_data. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>