commit | 30cfb023019b347cdfd39bd5039d2118a1bd224a | [log] [tgz] |
---|---|---|
author | Hauke Mehrtens <hauke@hauke-m.de> | Sat Sep 29 20:29:50 2012 +0200 |
committer | John W. Linville <linville@tuxdriver.com> | Fri Oct 19 15:52:21 2012 -0400 |
tree | 37c511de8a04b0516909323d207e54cbc6498d34 | |
parent | 49655bb8a51565f0375a4f783334c9de78134be5 [diff] |
bcma: init sprom struct earlier The PCIe host driver and the chip common initialisation accesses the sprom struct, but it is not initialized when these functions are run. Move the sprom parsing up in to do it earlier. As we need the chip common core rev and some other attributes from the chip common core, the early initialization is done before accessing the sprom. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>